Skip to content
Snippets Groups Projects

Fix CI bind mount issues

Merged David Hoese requested to merge debug-ci-curl-issues into master
2 files
+ 1
18
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 1
12
@@ -160,16 +160,7 @@ start_shapefile_test_container() {
start_pg_test_container() {
mkdir pg_secrets
echo "${POSTGRES_PASSWORD}" > pg_secrets/fake_file
chmod a+rwx pg_secrets
ls -ld /tmp
ls -ld "$(pwd)"
ls -ld pg_secrets
ls -l pg_secrets
start_test_container -v "$(pwd)":"/data" -e POSTGRES_HOST=${PG_SERVER_NAME} -e POSTGRES_PORT=${PG_PORT} -e POSTGRES_PASSWORD_FILE="/data/pg_secrets/fake_file"
start_status=$?
docker exec -i test ls -ld /data/pg_secrets || echo "Failed to ls -d /data/pg_secrets"
docker exec -i test ls -l /data/pg_secrets || echo "Failed to ls /data/pg_secrets"
return $start_status
}
# start_minio() {
@@ -207,9 +198,7 @@ curl_index() {
curl_layer_times() {
expected_result=$1
debug "Starting curl basic time request..."
# NOTE: The time doesn't actually exist and no image data is available. A blank image should be returned
# TODO: Verify that the expected time is returned
time_result=$(curl "http://localhost:8888/wms_times/g16/abi/radf/C01")
time_result=$(curl --fail -sS "http://localhost:8888/wms_times/g16/abi/radf/C01")
time_status=$?
if [[ $time_status -ne 0 ]]; then
return $time_status
Loading