summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Niels Ole Salscheider <olesalscheider@exherbo.org> 2018-06-17 14:28:19 +0200
committerAvatar Niels Ole Salscheider <olesalscheider@exherbo.org> 2018-06-17 14:28:19 +0200
commit59c97acdc00910dbc583284cfe180c064cbf9160 (patch)
treef9ba49ed81a518969710e4c58905fe1910083661
parentac4fb9bd425f8c79f54ff028f54570b78d2409a9 (diff)
downloadinfra-scripts-master.tar.gz
infra-scripts-master.tar.xz
.gitlab-ci.yml: Add own stage for deploymentHEADmaster
-rw-r--r--.gitlab-ci.yml43
1 files changed, 40 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5b47305..a6ce679 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,6 @@
stages:
- makestages
+ - deploystages
- makedocker
makestage-x86_64-pc-linux-gnu:
@@ -15,7 +16,6 @@ makestage-x86_64-pc-linux-gnu:
- git clone ${CI_REPOSITORY_URL}
- infra-scripts/stages/make-exherbo-stages x86_64-pc-linux-gnu
- mv /stages/x86_64-pc-linux-gnu/exherbo-x86_64-pc-linux-gnu.tar.xz .
- - infra-scripts/stages/deploy-stage exherbo-x86_64-pc-linux-gnu.tar.xz
artifacts:
paths:
- exherbo-x86_64-pc-linux-gnu.tar.xz
@@ -34,7 +34,6 @@ makestage-i686-pc-linux-gnu:
- git clone ${CI_REPOSITORY_URL}
- infra-scripts/stages/make-exherbo-stages i686-pc-linux-gnu
- mv /stages/i686-pc-linux-gnu/exherbo-i686-pc-linux-gnu.tar.xz .
- - infra-scripts/stages/deploy-stage exherbo-i686-pc-linux-gnu.tar.xz
artifacts:
paths:
- exherbo-i686-pc-linux-gnu.tar.xz
@@ -53,12 +52,50 @@ makestage-armv7-unknown-linux-gnueabihf:
- git clone ${CI_REPOSITORY_URL}
- infra-scripts/stages/make-exherbo-stages armv7-unknown-linux-gnueabihf
- mv /stages/i686-pc-linux-gnu/exherbo-armv7-unknown-linux-gnueabihf.tar.xz .
- - infra-scripts/stages/deploy-stage exherbo-armv7-unknown-linux-gnueabihf.tar.xz
artifacts:
paths:
- exherbo-armv7-unknown-linux-gnueabihf.tar.xz
expire_in: 3 month
+deploystage-x86_64-pc-linux-gnu:
+ stage: deploystages
+ image: exherbo/exherbo-x86_64-pc-linux-gnu-base
+ only:
+ refs:
+ - schedules
+ - web
+ variables:
+ - $ARCH == "x86_64-pc-linux-gnu"
+ script:
+ - git clone ${CI_REPOSITORY_URL}
+ - infra-scripts/stages/deploy-stage exherbo-x86_64-pc-linux-gnu.tar.xz
+
+deploystage-i686-pc-linux-gnu:
+ stage: deploystages
+ image: exherbo/exherbo-x86_64-pc-linux-gnu-base
+ only:
+ refs:
+ - schedules
+ - web
+ variables:
+ - $ARCH == "i686-pc-linux-gnu"
+ script:
+ - git clone ${CI_REPOSITORY_URL}
+ - infra-scripts/stages/deploy-stage exherbo-i686-pc-linux-gnu.tar.xz
+
+deploystage-armv7-unknown-linux-gnueabihf:
+ stage: deploystages
+ image: exherbo/exherbo-x86_64-pc-linux-gnu-base
+ only:
+ refs:
+ - schedules
+ - web
+ variables:
+ - $ARCH == "armv7-unknown-linux-gnueabihf"
+ script:
+ - git clone ${CI_REPOSITORY_URL}
+ - infra-scripts/stages/deploy-stage exherbo-armv7-unknown-linux-gnueabihf.tar.xz
+
makedocker-x86_64-pc-linux-gnu:
stage: makedocker
image: exherbo/exherbo_did