From 9c152c69837f0fd21bcf41e7efa8d6580d945777 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 6 Mar 2017 14:14:34 +0200 Subject: Move to gitlab-CI. This closes #6. --- .gitlab-ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitlab-ci.yml (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..a97ea29 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,21 @@ +stages: + - package + - publish + +package:jessie: &package + stage: package + image: $CI_REGISTRY/docker-images/layers:$DISTRO-deb + variables: + DISTRO: jessie + script: + - package + artifacts: + paths: + - pkg/ + +publish: + stage: publish + tags: + - shell + script: + - publish -- cgit v1.2.1 From 399fc8b8ea3b8c8cee0e97af1e2595dbf3193492 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 6 Mar 2017 14:16:55 +0200 Subject: Package for squeeze->stretch. --- .gitlab-ci.yml | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a97ea29..45c38f6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,20 +2,40 @@ stages: - package - publish -package:jessie: &package - stage: package +.package: &package image: $CI_REGISTRY/docker-images/layers:$DISTRO-deb - variables: - DISTRO: jessie + stage: package script: - package artifacts: paths: - pkg/ +package:wheezy: + <<: *package + variables: + DISTRO: wheezy + +package:jessie: + <<: *package + variables: + DISTRO: jessie + +package:stretch: + <<: *package + variables: + DISTRO: stretch + publish: stage: publish + variables: + RSYNC_HOSTNAME: repo.bytemark.co.uk tags: - shell script: - publish + dependencies: + - package:squeeze + - package:wheezy + - package:jessie + - package:stretch -- cgit v1.2.1 From fa20b862c326f38049cfc66d8558093c3c760690 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 6 Mar 2017 14:17:54 +0200 Subject: Don't package for squeeze, silly\! --- .gitlab-ci.yml | 1 - 1 file changed, 1 deletion(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 45c38f6..752eaf7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,7 +35,6 @@ publish: script: - publish dependencies: - - package:squeeze - package:wheezy - package:jessie - package:stretch -- cgit v1.2.1