Loading .gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -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) Loading Loading
.gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -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) Loading