gitlab: Extract core container jobs to container-core.yml

It is not possible to use the previously extracted templates
without this set of core containers. Extract them into a new
file (container-core.yml) to be able to build them without
having to build all the other containers by default.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Message-Id: <20210519185504.2198573-10-f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
Philippe Mathieu-Daudé 2021-05-19 20:55:03 +02:00
parent 6cd5251b40
commit 6b505a4e4f
2 changed files with 18 additions and 16 deletions

View File

@ -0,0 +1,17 @@
include:
- local: '/.gitlab-ci.d/container-template.yml'
amd64-centos8-container:
extends: .container_job_template
variables:
NAME: centos8
amd64-fedora-container:
extends: .container_job_template
variables:
NAME: fedora
amd64-debian10-container:
extends: .container_job_template
variables:
NAME: debian10

View File

@ -1,5 +1,5 @@
include:
- local: '/.gitlab-ci.d/container-template.yml'
- local: '/.gitlab-ci.d/container-core.yml'
amd64-alpine-container:
extends: .container_job_template
@ -11,16 +11,6 @@ amd64-centos7-container:
variables:
NAME: centos7
amd64-centos8-container:
extends: .container_job_template
variables:
NAME: centos8
amd64-debian10-container:
extends: .container_job_template
variables:
NAME: debian10
amd64-debian11-container:
extends: .container_job_template
variables:
@ -211,11 +201,6 @@ cris-fedora-cross-container:
variables:
NAME: fedora-cris-cross
amd64-fedora-container:
extends: .container_job_template
variables:
NAME: fedora
i386-fedora-cross-container:
extends: .container_job_template
variables: