From d8b73ce74d2fac72e1ad76f368bf734af2a0f1eb Mon Sep 17 00:00:00 2001 From: Guillaume Samson <guillaume.samson@mercator-ocean.fr> Date: Fri, 17 Feb 2023 09:03:39 +0000 Subject: [PATCH] add an expiration time (30 days) to Nemo CI artifacts --- .gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d9496fce..777120a6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -77,6 +77,7 @@ sette_cmp_cfgs: paths: - sette/sette_cmp_${CONFIG}_${CI_COMMIT_SHORT_SHA}_${HPC}.log when: always + expire_in: 30 days sette_cmp_tsts: stage: compile @@ -96,6 +97,7 @@ sette_cmp_tsts: paths: - sette/sette_cmp_${CONFIG}_${CI_COMMIT_SHORT_SHA}_${HPC}.log when: always + expire_in: 30 days sette_run_cfgs: stage: run @@ -120,6 +122,7 @@ sette_run_cfgs: - cfgs/${CONFIG}_ST/*/sette.*.err - cfgs/${CONFIG}_ST/*/ocean.output* when: always + expire_in: 30 days sette_run_tsts: stage: run @@ -144,6 +147,7 @@ sette_run_tsts: - tests/${CONFIG}_ST/*/sette.*.err - tests/${CONFIG}_ST/*/ocean.output* when: always + expire_in: 30 days sette_rpt_cfgs: stage: check @@ -161,6 +165,7 @@ sette_rpt_cfgs: paths: - sette/sette_rpt_${CONFIG}_${CI_COMMIT_SHORT_SHA}_${HPC}.log when: always + expire_in: 30 days sette_rpt_tsts: stage: check @@ -177,4 +182,5 @@ sette_rpt_tsts: artifacts: paths: - sette/sette_rpt_${CONFIG}_${CI_COMMIT_SHORT_SHA}_${HPC}.log - when: always \ No newline at end of file + when: always + expire_in: 30 days \ No newline at end of file -- GitLab