gitlab-ci: de-duplicate matrix option

Just push the parallel/matrix into the templates.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
Emil Velikov 2023-08-07 16:19:24 +01:00 committed by Justin Kromlinger
parent 5ec09f5357
commit 9d3774ce35
No known key found for this signature in database
GPG Key ID: 69EF6D9E49A64EB8

View File

@ -58,6 +58,9 @@ get_version:
.rootfs:
stage: rootfs
parallel:
matrix:
- GROUP: [base, base-devel]
before_script:
- pacman -Syu --noconfirm make fakechroot fakeroot
- pacman -Sdd --noconfirm devtools
@ -75,9 +78,6 @@ rootfs:
- releases
- schedules
- tags
parallel:
matrix:
- GROUP: [base, base-devel]
rootfs:secure:
extends: .rootfs
@ -90,12 +90,12 @@ rootfs:secure:
except:
- tags
- releases
parallel:
matrix:
- GROUP: [base, base-devel]
.image:
stage: image
parallel:
matrix:
- GROUP: [base, base-devel]
tags:
- vm
before_script:
@ -114,9 +114,6 @@ image:build:
- releases
- schedules
- tags
parallel:
matrix:
- GROUP: [base, base-devel]
before_script:
- pacman -Syu --noconfirm podman
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
@ -131,9 +128,6 @@ image:build:secure:
- schedules
except:
- tags
parallel:
matrix:
- GROUP: [base, base-devel]
before_script:
- pacman -Syu --noconfirm podman
- podman login -u "$GITLAB_PROJECT_USER" -p "$GITLAB_PROJECT_TOKEN" "$CI_REGISTRY"
@ -149,9 +143,6 @@ image:publish:secure:
- vm
only:
- tags
parallel:
matrix:
- GROUP: [base, base-devel]
before_script:
- pacman -Syu --noconfirm podman
- podman login -u "$DOCKERHUB_USERNAME" -p "$DOCKERHUB_ACCESS_TOKEN" "docker.io"