summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml28
1 files changed, 24 insertions, 4 deletions
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