Commit f7677e27 authored by David Diederich's avatar David Diederich
Browse files

Change artifact expirations to 2 days, to save disk space

Pipeline artifacts are a substantial part of the utilized disk space, so I'm hoping this helps free up some space.
parent ab784d5d
Pipeline #66135 passed with stage
in 12 seconds
......@@ -14,6 +14,7 @@ generate-docs:
artifacts:
paths:
- public
expire_in: 2 days
script:
- mkdir -p public
- cp doc/*.png public
......@@ -27,6 +28,7 @@ pages:
artifacts:
paths:
- public
expire_in: 2 days
# We need a script of some kind, so printing out what files are about to be
# included seems reasonable
......
......@@ -15,7 +15,7 @@
- ./**/target/*.jar
- ./**/maven-*-output.txt
when: always
expire_in: 14 days
expire_in: 2 days
before_script:
- | # Check for the presence of a maven wrapper script
......
......@@ -65,3 +65,5 @@ compile-and-unit-test:
reports:
junit: unit_tests_report.xml
cobertura: coverage.xml
expire_in: 2 days
......@@ -8,7 +8,7 @@ compile-and-unit-test:
cobertura: coverage/cobertura-coverage.xml
paths:
- coverage/
expire_in: 15 days
expire_in: 2 days
script:
- chmod +x devops/scripts/utest_build_run.sh
- devops/scripts/utest_build_run.sh
......@@ -20,4 +20,4 @@ aws-test-java:
when: on_failure
paths:
- $INTEGRATION_TEST_DIR
expire_in: 1 week
expire_in: 2 days
......@@ -152,7 +152,7 @@ aws-mongodb-test-java:
when: on_failure
paths:
- $INTEGRATION_TEST_DIR
expire_in: 1 week
expire_in: 2 days
aws-mongodb-test-python:
extends:
......@@ -172,4 +172,4 @@ aws-mongodb-test-python:
when: on_failure
paths:
- $INTEGRATION_TEST_DIR
expire_in: 1 week
expire_in: 2 days
......@@ -16,4 +16,4 @@ aws-test-python:
when: on_failure
paths:
- $INTEGRATION_TEST_DIR
expire_in: 1 week
expire_in: 2 days
......@@ -267,6 +267,7 @@ azure_test:
reports:
junit:
- $AZURE_TEST_SUBDIR/target/*/TEST-*.xml
expire_in: 2 days
only:
variables:
- $AZURE == 'true' && $AZURE_SKIP_DEPLOY != 'true' && $AZURE_TEST_TYPE != 'python'
......
......@@ -124,6 +124,7 @@ azure_build_dag:
artifacts:
paths:
- "output_dags"
expire_in: 2 days
only:
variables:
- $AZURE == 'true'
......@@ -215,6 +216,7 @@ azure_copy_dag:
artifacts:
paths:
- "output_dags"
expire_in: 2 days
only:
variables:
- $AZURE == 'true'
......@@ -332,6 +334,7 @@ azure_register_dag:
artifacts:
paths:
- "output_dags"
expire_in: 2 days
only:
variables:
- $AZURE == 'true'
......
......@@ -17,7 +17,7 @@ ibm-test:
when: on_failure
paths:
- $INTEGRATION_TEST_DIR
expire_in: 1 week
expire_in: 2 days
ibm-preship-promote:
extends: .ibm
......@@ -28,4 +28,4 @@ ibm-preship-promote:
- oc project $IBM_OPENSHIFT_PRESHIP_PROJECT
- oc start-build og-$CI_PROJECT_NAME-ibm
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
\ No newline at end of file
- if: '$CI_COMMIT_BRANCH == "master"'
......@@ -178,6 +178,7 @@ ibm-test:
reports:
junit:
- $IBM_INT_TEST_SUBDIR/target/*/TEST-*.xml
expire_in: 2 days
only:
variables:
- $IBM_INT_TEST_SUBDIR && $IBM == 'true'
......
......@@ -197,6 +197,7 @@ ibm-test:
reports:
junit:
- $IBM_INT_TEST_SUBDIR/target/*/TEST-*.xml
expire_in: 2 days
only:
variables:
- $IBM_INT_TEST_SUBDIR && $IBM == 'true'
......
......@@ -264,7 +264,7 @@ osdu-gcp-test:
paths:
- test-results.log
- $OSDU_GCP_TEST_SUBDIR/target/*/TEST-*.xml
expire_in: 1 week
expire_in: 2 days
reports:
junit:
- $OSDU_GCP_TEST_SUBDIR/target/*/TEST-*.xml
......
......@@ -221,7 +221,7 @@ osdu-gcp-test:
paths:
- test-results.log
- $OSDU_GCP_TEST_SUBDIR/target/*/TEST-*.xml
expire_in: 1 week
expire_in: 2 days
reports:
junit:
- $OSDU_GCP_TEST_SUBDIR/target/*/TEST-*.xml
......
......@@ -7,6 +7,7 @@ osdu-gcp-helm-charts:
artifacts:
paths:
- helm-charts
expire_in: 2 days
rules:
- if: $OSDU_GCP_HELM_PACKAGE_CHARTS
when: on_success
......
......@@ -110,4 +110,4 @@ osdu-gcp-test:
when: always
paths:
- $OSDU_GCP_INT_TEST_SUBDIR/test-results.log
expire_in: 1 week
expire_in: 2 days
......@@ -5,6 +5,7 @@ pages:
artifacts:
paths:
- public
expire_in: 2 days
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
script:
......
......@@ -18,6 +18,7 @@ fossa-check-notice:
when: on_failure
paths:
- public
expire_in: 2 days
script:
# fossa-check-for-licensing-issues needs a CI_COMMIT_BRANCH defined to know how to parse the FOSSA API results
......@@ -126,6 +127,7 @@ fossa-report:
artifacts:
paths:
- public
expire_in: 2 days
script:
- mkdir -p public
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment