Commit c1100484 authored by Markus Frosch's avatar Markus Frosch 📣
Browse files

ci: Update config and matrix

parent 39e3d539
Pipeline #7452 failed with stages
in 4 minutes and 35 seconds
stages:
- build
- test
- upload
variables:
DOCKER_IMAGE_BASE: registry.icinga.com/build-docker
......@@ -11,10 +12,13 @@ variables:
tags:
- docker
image: ${DOCKER_IMAGE_BASE}/${DOCKER_IMAGE}
before_script:
- echo "machine git.icinga.com login ${ICINGA_GITLAB_USER} password ${ICINGA_GITLAB_TOKEN}" >> $HOME/.netrc
script:
- icinga-build-package
cache:
key: "${CI_JOB_NAME}"
paths:
- ccache/
- 'icingadb.git'
artifacts:
paths:
- build/*
......@@ -29,38 +33,111 @@ variables:
- find build/
- icinga-build-test
build centos 8:
variables:
DOCKER_IMAGE: centos/8:x86_64
.upload: &upload
stage: upload
tags:
- docker
image: ${DOCKER_IMAGE_BASE}/upload
script:
- find build/
- icinga-build-upload-aptly
only:
- master
- tags
###################################
# EPEL
###################################
build/centos/8:
<<: *build
variables:
DOCKER_IMAGE: centos/8
test centos 8:
test/centos/8:
<<: *test
variables:
DOCKER_IMAGE: centos/8:x86_64
DOCKER_IMAGE: centos/8
dependencies:
- build centos 8
<<: *test
- build/centos/8
build opensuse 15.1:
variables:
DOCKER_IMAGE: opensuse/15.1:x86_64
upload/epel/8:
<<: *upload
dependencies:
- build/centos/8
build/centos/7:
<<: *build
variables:
DOCKER_IMAGE: centos/7
test opensuse 15.1:
test/centos/7:
<<: *test
variables:
DOCKER_IMAGE: opensuse/15.1:x86_64
DOCKER_IMAGE: centos/7
dependencies:
- build opensuse 15.1
<<: *test
- build/centos/7
upload/epel/7:
<<: *upload
dependencies:
- build/centos/7
###################################
# Fedora
###################################
build/fedora/31:
<<: *build
variables:
DOCKER_IMAGE: fedora/31
build sles 15.1:
test/fedora/31:
<<: *test
variables:
DOCKER_IMAGE: sles/15.1:x86_64
DOCKER_IMAGE: fedora/31
dependencies:
- build/fedora/31
upload/fedora/31:
<<: *upload
dependencies:
- build/fedora/31
###################################
# SLES
###################################
build/sles/15.1:
<<: *build
variables:
DOCKER_IMAGE: sles/15.1
test sles 15.1:
test/sles/15.1:
<<: *test
variables:
DOCKER_IMAGE: sles/15.1:x86_64
DOCKER_IMAGE: sles/15.1
dependencies:
- build sles 15.1
- build/sles/15.1
upload/SUSE/15.1:
<<: *upload
dependencies:
- build/sles/15.1
###################################
# openSUSE
###################################
build/opensuse/15.1:
<<: *build
variables:
DOCKER_IMAGE: opensuse/15.1
test/opensuse/15.1:
<<: *test
variables:
DOCKER_IMAGE: opensuse/15.1
dependencies:
- build/opensuse/15.1
upload/openSUSE/15.1:
<<: *upload
dependencies:
- build/opensuse/15.1
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