Verified Commit b13a8378 authored by Michal Nowak's avatar Michal Nowak
Browse files

Use tag templates for jobs

parent 0ed5801d
......@@ -12,6 +12,26 @@ variables:
stages:
- images
### Tag Templates
.linux-amd64: &linux_amd64
tags:
- docker
- linux
- amd64
.linux-arm64: &linux_arm64
tags:
- docker
- linux
- arm64
.linux-i386: &linux_i386
tags:
- docker
- linux
- i386
.image_job: &image_job
services:
- docker:dind
......@@ -51,10 +71,7 @@ alpine:3.11:amd64:docker:
DISTROS: alpine
VERSIONS: "3.11"
ARCHS: amd64
tags:
- linux
- docker
- amd64
<<: *linux_amd64
<<: *docker_image_job
centos:6:amd64:docker:
......@@ -63,10 +80,7 @@ centos:6:amd64:docker:
DISTROS: centos
VERSIONS: centos6
ARCHS: amd64
tags:
- linux
- docker
- amd64
<<: *linux_amd64
<<: *docker_image_job
centos:7:amd64:docker:
......@@ -75,10 +89,7 @@ centos:7:amd64:docker:
DISTROS: centos
VERSIONS: centos7
ARCHS: amd64
tags:
- linux
- docker
- amd64
<<: *linux_amd64
<<: *docker_image_job
centos:8:amd64:docker:
......@@ -87,10 +98,7 @@ centos:8:amd64:docker:
DISTROS: centos
VERSIONS: centos8
ARCHS: amd64
tags:
- linux
- docker
- amd64
<<: *linux_amd64
<<: *docker_image_job
centos:6:amd64:packer:
......@@ -101,10 +109,7 @@ centos:6:amd64:packer:
ARCHS: amd64
ISO_URL: ${CENTOS_ISO_MIRROR_URL}/6.10/isos/x86_64/CentOS-6.10-x86_64-minimal.iso
ISO_CHECKSUM: 7c0dee2a0494dabd84809b72ddb4b761f9ef92b78a506aef709b531c54d30770
tags:
- linux
- docker
- amd64
<<: *linux_amd64
<<: *kvm_image_job
centos:7:amd64:packer:
......@@ -115,10 +120,7 @@ centos:7:amd64:packer:
ARCHS: amd64
ISO_URL: ${CENTOS_ISO_MIRROR_URL}/7.7.1908/isos/x86_64/CentOS-7-x86_64-Minimal-1908.iso
ISO_CHECKSUM: 9a2c47d97b9975452f7d582264e9fc16d108ed8252ac6816239a3b58cef5c53d
tags:
- linux
- docker
- amd64
<<: *linux_amd64
<<: *kvm_image_job
centos:8:amd64:packer:
......@@ -129,10 +131,7 @@ centos:8:amd64:packer:
ARCHS: amd64
ISO_URL: ${CENTOS_ISO_MIRROR_URL}/8.1.1911/isos/x86_64/CentOS-8.1.1911-x86_64-boot.iso
ISO_CHECKSUM: 7fea13202bf2f26989df4175aace8fdc16e1137f7961c33512cbfad844008948
tags:
- linux
- docker
- amd64
<<: *linux_amd64
<<: *kvm_image_job
fedora:31:amd64:docker:
......@@ -141,10 +140,7 @@ fedora:31:amd64:docker:
DISTROS: fedora
VERSIONS: 31
ARCHS: amd64
tags:
- linux
- docker
- amd64
<<: *linux_amd64
<<: *docker_image_job
debian:stretch:amd64:docker:
......@@ -153,10 +149,7 @@ debian:stretch:amd64:docker:
DISTROS: debian
VERSIONS: stretch
ARCHS: amd64
tags:
- linux
- docker
- amd64
<<: *linux_amd64
<<: *docker_image_job
debian:buster:amd64:docker:
......@@ -165,10 +158,7 @@ debian:buster:amd64:docker:
DISTROS: debian
VERSIONS: buster
ARCHS: amd64
tags:
- linux
- docker
- amd64
<<: *linux_amd64
<<: *docker_image_job
debian:sid:amd64:docker:
......@@ -177,10 +167,7 @@ debian:sid:amd64:docker:
DISTROS: debian
VERSIONS: sid
ARCHS: amd64
tags:
- linux
- docker
- amd64
<<: *linux_amd64
<<: *docker_image_job
debian:sid:arm64:docker:
......@@ -192,10 +179,7 @@ debian:sid:arm64:docker:
DISTROS: debian
VERSIONS: sid
ARCHS: arm64
tags:
- linux
- docker
- arm64
<<: *linux_arm64
<<: *docker_image_job
ubuntu:xenial:amd64:docker:
......@@ -204,10 +188,7 @@ ubuntu:xenial:amd64:docker:
DISTROS: ubuntu
VERSIONS: xenial
ARCHS: amd64
tags:
- linux
- docker
- amd64
<<: *linux_amd64
<<: *docker_image_job
ubuntu:bionic:amd64:docker:
......@@ -216,10 +197,7 @@ ubuntu:bionic:amd64:docker:
DISTROS: ubuntu
VERSIONS: bionic
ARCHS: amd64
tags:
- linux
- docker
- amd64
<<: *linux_amd64
<<: *docker_image_job
debian:stretch:i386:docker:
......@@ -228,10 +206,7 @@ debian:stretch:i386:docker:
DISTROS: debian
VERSIONS: stretch
ARCHS: i386
tags:
- linux
- docker
- i386
<<: *linux_i386
<<: *docker_image_job
debian:buster:i386:docker:
......@@ -240,10 +215,7 @@ debian:buster:i386:docker:
DISTROS: debian
VERSIONS: buster
ARCHS: i386
tags:
- linux
- docker
- i386
<<: *linux_i386
<<: *docker_image_job
debian:sid:i386:docker:
......@@ -252,10 +224,7 @@ debian:sid:i386:docker:
DISTROS: debian
VERSIONS: sid
ARCHS: i386
tags:
- linux
- docker
- i386
<<: *linux_i386
<<: *docker_image_job
# openSUSE Tumbleweed is a rolling release distribution,
......@@ -266,10 +235,7 @@ tumbleweed:latest:amd64:docker:
DISTROS: tumbleweed
VERSIONS: latest
ARCHS: amd64
tags:
- linux
- docker
- amd64
<<: *linux_amd64
<<: *docker_image_job
ubuntu:xenial:i386:docker:
......@@ -278,10 +244,7 @@ ubuntu:xenial:i386:docker:
DISTROS: ubuntu
VERSIONS: xenial
ARCHS: i386
tags:
- linux
- docker
- i386
<<: *linux_i386
<<: *docker_image_job
ubuntu:bionic:i386:docker:
......@@ -290,30 +253,21 @@ ubuntu:bionic:i386:docker:
DISTROS: ubuntu
VERSIONS: bionic
ARCHS: i386
tags:
- linux
- docker
- i386
<<: *linux_i386
<<: *docker_image_job
packager:rpm:docker:
stage: images
variables:
TARGET: packager-rpm
tags:
- linux
- docker
- amd64
<<: *linux_amd64
<<: *docker_image_job
website:rsync_ssh_curl:docker:
stage: images
variables:
TARGET: website-rsync_ssh_curl
tags:
- linux
- docker
- amd64
<<: *linux_amd64
<<: *docker_image_job
freebsd:11.3:amd64:packer:
......@@ -324,10 +278,7 @@ freebsd:11.3:amd64:packer:
ARCHS: amd64
ISO_URL: http://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/11.3/FreeBSD-11.3-RELEASE-amd64-disc1.iso
ISO_CHECKSUM: d268db365e26305ec3d51b29211caad903749c33a4a8f2cf661d671f8e0ba0b0
tags:
- linux
- docker
- amd64
<<: *linux_amd64
<<: *kvm_image_job
freebsd:12.1:amd64:packer:
......@@ -338,10 +289,7 @@ freebsd:12.1:amd64:packer:
ARCHS: amd64
ISO_URL: http://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/12.1/FreeBSD-12.1-RELEASE-amd64-disc1.iso
ISO_CHECKSUM: aa9d34b458826486999ed3e872436b6712ae38cede5ea41de4ab923e3419d461
tags:
- linux
- docker
- amd64
<<: *linux_amd64
<<: *kvm_image_job
openbsd:6.6:amd64:packer:
......@@ -352,8 +300,5 @@ openbsd:6.6:amd64:packer:
ARCHS: amd64
ISO_URL: https://cdn.openbsd.org/pub/OpenBSD/6.6/amd64/install66.iso
ISO_CHECKSUM: b22e63df56e6266de6bbeed8e9be0fbe9ee2291551c5bc03f3cc2e4ab9436ee3
tags:
- linux
- docker
- amd64
<<: *linux_amd64
<<: *kvm_image_job
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