diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-11-06 11:25:20 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-11-06 11:25:25 +0100 |
commit | 4f12c07b65486c11809f623596db5d2caa4d74ae (patch) | |
tree | dd37faf2572f76d35b850a55280a3e0f2fd44bc5 | |
parent | e20f259560a9e841a28957546c63ed40957ada23 (diff) | |
download | gnutls-4f12c07b65486c11809f623596db5d2caa4d74ae.tar.gz |
.gitlab-ci.yml: introduced version to allow expiration of old caches
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a75f3467ab..2674541180 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,10 +3,11 @@ stages: # we utilize the images generated by the build-images project, to # speed up CI runs. We also use ccache and store config.cache -# to speed up compilation. +# to speed up compilation. We include a version number in cache +# name to allow expiration of old caches. cache: - key: "$CI_JOB_NAME" + key: "$CI_JOB_NAME-ver1" paths: - cache/ |