Commit 7eece2b1 authored by Markus Frosch's avatar Markus Frosch 📣
Browse files

ci: Add netways upload

parent 004c114f
Pipeline #13799 canceled with stages
in 4 minutes and 9 seconds
......@@ -5,9 +5,8 @@ stages:
variables:
DOCKER_IMAGE_BASE: registry.icinga.com/build-docker
ICINGA_BUILD_TYPE: snapshot
.build: &build
.build:
stage: build
tags:
- docker
......@@ -23,7 +22,7 @@ variables:
- build/*
expire_in: 1 week
.test: &test
.test:
stage: test
tags:
- docker
......@@ -32,48 +31,33 @@ variables:
- find build/
- icinga-build-test
.upload: &upload
# This expects the job name to be:
# upload:repo:dist
.upload:
stage: upload
tags:
- docker
image: ${DOCKER_IMAGE_BASE}/upload
image: ${CI_REGISTRY}/nps/tools/repotool:upload
script:
- find build/
- icinga-build-upload-aptly --noop
- pair=${CI_JOB_NAME#*:}
- repotool-upload --repo ${pair%:*} --dist ${pair#*:}
only:
- tags
- master
build/centos/7:
<<: *build
extends: .build
variables:
DOCKER_IMAGE: centos/7
test/centos/7:
<<: *test
extends: .test
variables:
DOCKER_IMAGE: centos/7
dependencies:
- build/centos/7
upload/epel/7:
<<: *upload
upload:test/epel:7:
extends: .upload
dependencies:
- build/centos/7
build/sles/12.4:
<<: *build
variables:
DOCKER_IMAGE: sles/12.4
test/sles/12.4:
<<: *test
variables:
DOCKER_IMAGE: sles/12.4
dependencies:
- build/sles/12.4
upload/SUSE/12.4:
<<: *upload
dependencies:
- build/sles/12.4
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment