summaryrefslogtreecommitdiff
path: root/debian/gitlab-ci.yml
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@microsoft.com>2020-03-12 13:01:30 +0000
committerLuca Boccassi <luca.boccassi@microsoft.com>2020-03-12 14:23:56 +0000
commitcb68fb3e0a92a6288cacd3fe6ba4c810820942cf (patch)
tree60c3fbfec469ba0af4fe5ee18b22d6b3c4869f70 /debian/gitlab-ci.yml
parent10999bbdcfc54cff014b01a6ff7b35b6f18b7a89 (diff)
downloadvyos-live-build-cb68fb3e0a92a6288cacd3fe6ba4c810820942cf.tar.gz
vyos-live-build-cb68fb3e0a92a6288cacd3fe6ba4c810820942cf.zip
CI: fix deploy stage
Clean the build tree before running, and list all the stages as the CI implementation does not merge them from multiple includes Gbp-Dch: ignore
Diffstat (limited to 'debian/gitlab-ci.yml')
-rw-r--r--debian/gitlab-ci.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml
index ffad241bb..57680e787 100644
--- a/debian/gitlab-ci.yml
+++ b/debian/gitlab-ci.yml
@@ -3,14 +3,21 @@ include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
+stages:
+ - build
+ - publish
+ - test
+ - deploy
+
pages:
image: registry.salsa.debian.org/salsa-ci-team/ci-image-git-buildpackage:latest
- stage: publish
+ stage: deploy
artifacts:
paths:
- public
only:
- master
script:
+ - git clean -fdx
- gitlab-ci-git-buildpackage-all
- gitlab-ci-aptly