From 26cadfd12e614488e40827cfc0b89973e7573351 Mon Sep 17 00:00:00 2001 From: nrbffs <38812627+nrbffs@users.noreply.github.com> Date: Mon, 22 Apr 2019 14:10:21 -0400 Subject: [PATCH] CI: add cache for builds Build cache is kept per build target. Each tag also has a seperate build cache, so tagged builds are always built from scratch. --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 85025e5ee..b9e2b3d27 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,6 +24,9 @@ stages: paths: - gluon/output/ expire_in: 1 day + cache: + untracked: true + key: "$CI_COMMIT_TAG-$GLUON_TARGET" target:ar71xx-generic: extends: .target -- GitLab