Skip to content

Commit

Permalink
Update .gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
corpulent committed Sep 3, 2024
1 parent 37a375d commit 834c225
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ test:
NAMESPACE: kubefill
JOB_NAME: enterprise-wc-percy-tests
S3_BUCKET: infor-design-assets-downloads
S3_JUNIT_DIR: test-results/${CI_JOB_ID}
S3_COVERAGE_DIR: coverage/${CI_JOB_ID}
S3_COVERAGE_DIR: oxford/${CI_JOB_ID}/coverage
script:
- source /workspace/scripts/init.sh
- aws sts get-caller-identity
Expand All @@ -37,8 +36,6 @@ test:
--namespace kubefill \
--job_name enterprise-wc-percy-tests \
--job_id $CI_JOB_ID
after_script:
- aws s3 cp test-results/junit-results.xml s3://$S3_BUCKET/$S3_JUNIT_DIR/junit-results.xml
- aws s3 cp coverage/cobertura-coverage.xml s3://$S3_BUCKET/$S3_COVERAGE_DIR/cobertura-coverage.xml

download_reports:
Expand All @@ -61,11 +58,9 @@ download_reports:
--output text))
- aws configure set default.region $AWS_DEFAULT_REGION
script:
- aws s3 cp s3://$S3_BUCKET/test-results/${CI_JOB_ID}/junit-results.xml test-results/junit-results.xml
- aws s3 cp s3://$S3_BUCKET/coverage/${CI_JOB_ID}/cobertura-coverage.xml coverage/cobertura-coverage.xml
- aws s3 cp s3://$S3_BUCKET/oxford/${CI_JOB_ID}/coverage/cobertura-coverage.xml coverage/cobertura-coverage.xml
artifacts:
reports:
junit: test-results/junit-results.xml
coverage_report:
coverage_format: cobertura
path: coverage/cobertura-coverage.xml
Expand Down

0 comments on commit 834c225

Please sign in to comment.