Commit 5c5a4cc8 authored by Markus Frosch's avatar Markus Frosch 📣
Browse files

Revert "ci: Add netways upload"

This reverts commit 7eece2b1.
parent 7eece2b1
Pipeline #22549 failed with stages
in 4 minutes and 2 seconds
...@@ -5,8 +5,9 @@ stages: ...@@ -5,8 +5,9 @@ stages:
variables: variables:
DOCKER_IMAGE_BASE: registry.icinga.com/build-docker DOCKER_IMAGE_BASE: registry.icinga.com/build-docker
ICINGA_BUILD_TYPE: snapshot
.build: .build: &build
stage: build stage: build
tags: tags:
- docker - docker
...@@ -22,7 +23,7 @@ variables: ...@@ -22,7 +23,7 @@ variables:
- build/* - build/*
expire_in: 1 week expire_in: 1 week
.test: .test: &test
stage: test stage: test
tags: tags:
- docker - docker
...@@ -31,33 +32,48 @@ variables: ...@@ -31,33 +32,48 @@ variables:
- find build/ - find build/
- icinga-build-test - icinga-build-test
# This expects the job name to be: .upload: &upload
# upload:repo:dist
.upload:
stage: upload stage: upload
tags: tags:
- docker - docker
image: ${CI_REGISTRY}/nps/tools/repotool:upload image: ${DOCKER_IMAGE_BASE}/upload
script: script:
- find build/ - find build/
- pair=${CI_JOB_NAME#*:} - icinga-build-upload-aptly --noop
- repotool-upload --repo ${pair%:*} --dist ${pair#*:}
only: only:
- tags - tags
- master
build/centos/7: build/centos/7:
extends: .build <<: *build
variables: variables:
DOCKER_IMAGE: centos/7 DOCKER_IMAGE: centos/7
test/centos/7: test/centos/7:
extends: .test <<: *test
variables: variables:
DOCKER_IMAGE: centos/7 DOCKER_IMAGE: centos/7
dependencies: dependencies:
- build/centos/7 - build/centos/7
upload:test/epel:7: upload/epel/7:
extends: .upload <<: *upload
dependencies: dependencies:
- build/centos/7 - 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
Supports Markdown
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