rpm-l10n/.gitlab-ci.yml

213 lines
3.3 KiB
YAML
Raw Normal View History

2020-05-08 14:43:19 +02:00
stages:
- build
- test
- upload
variables:
DOCKER_IMAGE_BASE: registry.icinga.com/build-docker
ICINGA_BUILD_TYPE: snapshot
#ICINGA_BUILD_UPSTREAM_BRANCH:
.build: &build
stage: build
tags:
- docker
image: ${DOCKER_IMAGE_BASE}/${DOCKER_IMAGE}
script:
- icinga-build-package
cache:
key: "${CI_JOB_NAME}"
paths:
- ccache/
- 'L10n.git'
artifacts:
paths:
- build/*
expire_in: 1 week
.test: &test
stage: test
tags:
- docker
image: ${DOCKER_IMAGE_BASE}/${DOCKER_IMAGE}
script:
- find build/
- icinga-build-test
.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
variables:
DOCKER_IMAGE: centos/8
dependencies:
- build/centos/8
upload/epel/8:
<<: *upload
dependencies:
- build/centos/8
2020-05-08 14:43:19 +02:00
build/centos/7:
<<: *build
variables:
DOCKER_IMAGE: centos/7
test/centos/7:
<<: *test
variables:
DOCKER_IMAGE: centos/7
dependencies:
- build/centos/7
upload/epel/7:
<<: *upload
dependencies:
- build/centos/7
2020-05-08 14:43:19 +02:00
###################################
# Fedora
###################################
2021-04-20 13:46:46 +02:00
build/fedora/34:
<<: *build
variables:
DOCKER_IMAGE: fedora/34
test/fedora/34:
<<: *test
variables:
DOCKER_IMAGE: fedora/34
dependencies:
- build/fedora/34
upload/fedora/34:
<<: *upload
dependencies:
- build/fedora/34
2020-11-13 16:12:00 +01:00
build/fedora/33:
<<: *build
variables:
DOCKER_IMAGE: fedora/33
test/fedora/33:
<<: *test
variables:
DOCKER_IMAGE: fedora/33
dependencies:
- build/fedora/33
upload/fedora/33:
<<: *upload
dependencies:
- build/fedora/33
2020-05-08 14:43:19 +02:00
###################################
# SLES
###################################
2021-08-03 10:21:52 +02:00
build/sles/15.3:
<<: *build
variables:
DOCKER_IMAGE: sles/15.3
test/sles/15.3:
<<: *test
variables:
DOCKER_IMAGE: sles/15.3
dependencies:
- build/sles/15.3
upload/SUSE/15.3:
<<: *upload
dependencies:
- build/sles/15.3
2020-10-07 09:13:05 +02:00
build/sles/15.2:
<<: *build
variables:
DOCKER_IMAGE: sles/15.2
test/sles/15.2:
<<: *test
variables:
DOCKER_IMAGE: sles/15.2
dependencies:
- build/sles/15.2
upload/SUSE/15.2:
<<: *upload
dependencies:
- build/sles/15.2
2020-08-26 13:59:04 +02:00
build/sles/12.5:
<<: *build
variables:
DOCKER_IMAGE: sles/12.5
test/sles/12.5:
<<: *test
variables:
DOCKER_IMAGE: sles/12.5
dependencies:
- build/sles/12.5
upload/SUSE/12.5:
<<: *upload
dependencies:
- build/sles/12.5
2020-05-08 14:43:19 +02:00
###################################
# openSUSE
###################################
2021-08-03 10:21:52 +02:00
build/opensuse/15.3:
<<: *build
variables:
DOCKER_IMAGE: opensuse/15.3
test/opensuse/15.3:
<<: *test
variables:
DOCKER_IMAGE: opensuse/15.3
dependencies:
- build/opensuse/15.3
upload/openSUSE/15.3:
<<: *upload
dependencies:
- build/opensuse/15.3
2020-11-13 16:34:45 +01:00
build/opensuse/15.2:
<<: *build
variables:
DOCKER_IMAGE: opensuse/15.2
test/opensuse/15.2:
<<: *test
variables:
DOCKER_IMAGE: opensuse/15.2
dependencies:
- build/opensuse/15.2
upload/openSUSE/15.2:
<<: *upload
dependencies:
- build/opensuse/15.2