Commit 8ac695f3 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

ci: fix script

parent c879ca9f
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -218,12 +218,12 @@ test-codeartifact-token-succeeds:
      fi
    - assert_eq "200" $response_status
    - codeartifact_token=$(cat resp.txt)
    - response_status=$(curl -s -o resp.txt -w "%{http_code}" "http://aws-auth-provider/codeartifact/repository/endpoint?format=pypi?env_ctx=TEST"
    - response_status=$(curl -s -o resp.txt -w "%{http_code}" "http://aws-auth-provider/codeartifact/repository/endpoint?format=pypi&env_ctx=TEST")
    - |
      if [[ "$response_status" != 200 ]]
      then
        echo "Get codeartifact repository endpoint failed ($response_status)"
        curl -s -v "http://aws-auth-provider/codeartifact/repository/endpoint?format=pypi?env_ctx=TEST"
        curl -s -v "http://aws-auth-provider/codeartifact/repository/endpoint?format=pypi&env_ctx=TEST"
      fi
    - assert_eq "200" $response_status
    - codeartifact_endpoint=$(cat resp.txt)