diff options
author | Luca Boccassi <luca.boccassi@microsoft.com> | 2020-03-12 13:01:30 +0000 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@microsoft.com> | 2020-03-12 14:23:56 +0000 |
commit | cb68fb3e0a92a6288cacd3fe6ba4c810820942cf (patch) | |
tree | 60c3fbfec469ba0af4fe5ee18b22d6b3c4869f70 /debian/gitlab-ci.yml | |
parent | 10999bbdcfc54cff014b01a6ff7b35b6f18b7a89 (diff) | |
download | vyos-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.yml | 9 |
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 |