From ad133fbe3c9e5398224616f522afff0eb5152332 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Tue, 31 Jan 2017 09:50:56 +0000 Subject: Added gitlab-ci --- .gitlab-ci.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..12fbd96 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,32 @@ +stages: + - test + - package + - publish + +test: &test + stage: test + image: $CI_REGISTRY/docker-images/layers:jessie-ruby + script: + - make test + +package: &package + image: $CI_REGISTRY/docker-images/layers:$DISTRO-deb + variables: + DISTRO: jessie + stage: package + script: + - package + artifacts: + paths: + - pkg/ + +publish: + stage: publish + variables: + RSYNC_HOSTNAME: repo.bytemark.co.uk + tags: + - shell + script: + - publish + + -- cgit v1.2.1