Loading .gitlab-ci.yml +3 −5 Original line number Diff line number Diff line Loading @@ -79,11 +79,6 @@ variables: alias: "aws-auth-provider" before_script: - !reference [.test-scripts] rules: # exclude tags - if: $CI_COMMIT_TAG when: never - when: always test-health: extends: .test-base Loading Loading @@ -146,6 +141,9 @@ test-token-succeeds: response_status=$(curl -s -o resp.txt -w "%{http_code}" -H "Authorization: Basic $ecr_token" "https://$AWS_WORKING_ACCOUNT.dkr.ecr.$AWS_WORKING_REGION.amazonaws.com/v2/_catalog") - assert_eq "200" $response_status rules: # exclude tags - if: $CI_COMMIT_TAG when: never - if: $CI_SERVER_HOST != "gitlab.com" when: never - if: '$AWS_WORKING_ACCOUNT && $AWS_WORKING_REGION && $AWS_WORKING_OIDC_ROLE_ARN' No newline at end of file Loading
.gitlab-ci.yml +3 −5 Original line number Diff line number Diff line Loading @@ -79,11 +79,6 @@ variables: alias: "aws-auth-provider" before_script: - !reference [.test-scripts] rules: # exclude tags - if: $CI_COMMIT_TAG when: never - when: always test-health: extends: .test-base Loading Loading @@ -146,6 +141,9 @@ test-token-succeeds: response_status=$(curl -s -o resp.txt -w "%{http_code}" -H "Authorization: Basic $ecr_token" "https://$AWS_WORKING_ACCOUNT.dkr.ecr.$AWS_WORKING_REGION.amazonaws.com/v2/_catalog") - assert_eq "200" $response_status rules: # exclude tags - if: $CI_COMMIT_TAG when: never - if: $CI_SERVER_HOST != "gitlab.com" when: never - if: '$AWS_WORKING_ACCOUNT && $AWS_WORKING_REGION && $AWS_WORKING_OIDC_ROLE_ARN' No newline at end of file