mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
ci: Try switching to "needs" instead to strict stages.
This commit is contained in:
parent
e06e0c764d
commit
0557eb205d
|
@ -137,6 +137,8 @@ arch:rolling:container_prep:
|
||||||
extends:
|
extends:
|
||||||
- .monado.variables.debian:bullseye
|
- .monado.variables.debian:bullseye
|
||||||
- .fdo.distribution-image@debian # from ci-templates
|
- .fdo.distribution-image@debian # from ci-templates
|
||||||
|
needs:
|
||||||
|
- debian:bullseye:container_prep
|
||||||
|
|
||||||
|
|
||||||
# Base for using Debian bullseye-ndk image
|
# Base for using Debian bullseye-ndk image
|
||||||
|
@ -144,6 +146,8 @@ arch:rolling:container_prep:
|
||||||
extends:
|
extends:
|
||||||
- .monado.variables.debian:bullseye-ndk
|
- .monado.variables.debian:bullseye-ndk
|
||||||
- .fdo.suffixed-image@debian # from ci-templates
|
- .fdo.suffixed-image@debian # from ci-templates
|
||||||
|
needs:
|
||||||
|
- debian:bullseye-ndk:container_prep
|
||||||
|
|
||||||
|
|
||||||
# Base for using Ubuntu focal image
|
# Base for using Ubuntu focal image
|
||||||
|
@ -151,6 +155,8 @@ arch:rolling:container_prep:
|
||||||
extends:
|
extends:
|
||||||
- .monado.variables.ubuntu:focal
|
- .monado.variables.ubuntu:focal
|
||||||
- .fdo.distribution-image@ubuntu # from ci-templates
|
- .fdo.distribution-image@ubuntu # from ci-templates
|
||||||
|
needs:
|
||||||
|
- ubuntu:focal:container_prep
|
||||||
|
|
||||||
|
|
||||||
# Base for using Ubuntu hirsute image
|
# Base for using Ubuntu hirsute image
|
||||||
|
@ -158,6 +164,8 @@ arch:rolling:container_prep:
|
||||||
extends:
|
extends:
|
||||||
- .monado.variables.ubuntu:hirsute
|
- .monado.variables.ubuntu:hirsute
|
||||||
- .fdo.distribution-image@ubuntu # from ci-templates
|
- .fdo.distribution-image@ubuntu # from ci-templates
|
||||||
|
needs:
|
||||||
|
- ubuntu:hirsute:container_prep
|
||||||
|
|
||||||
|
|
||||||
# Base for using Ubuntu impish image
|
# Base for using Ubuntu impish image
|
||||||
|
@ -165,6 +173,8 @@ arch:rolling:container_prep:
|
||||||
extends:
|
extends:
|
||||||
- .monado.variables.ubuntu:impish
|
- .monado.variables.ubuntu:impish
|
||||||
- .fdo.distribution-image@ubuntu # from ci-templates
|
- .fdo.distribution-image@ubuntu # from ci-templates
|
||||||
|
needs:
|
||||||
|
- ubuntu:impish:container_prep
|
||||||
|
|
||||||
|
|
||||||
# Base for using Arch rolling image
|
# Base for using Arch rolling image
|
||||||
|
@ -172,6 +182,8 @@ arch:rolling:container_prep:
|
||||||
extends:
|
extends:
|
||||||
- .monado.variables.arch:rolling
|
- .monado.variables.arch:rolling
|
||||||
- .fdo.distribution-image@arch # from ci-templates
|
- .fdo.distribution-image@arch # from ci-templates
|
||||||
|
needs:
|
||||||
|
- arch:rolling:container_prep
|
||||||
|
|
||||||
|
|
||||||
# Style check job
|
# Style check job
|
||||||
|
@ -528,7 +540,8 @@ reprepro:package:
|
||||||
- .monado.image.ubuntu:impish
|
- .monado.image.ubuntu:impish
|
||||||
|
|
||||||
- .monado.packaging.conditions
|
- .monado.packaging.conditions
|
||||||
dependencies:
|
needs:
|
||||||
|
- ubuntu:impish:container_prep
|
||||||
- debian:bullseye:package
|
- debian:bullseye:package
|
||||||
- ubuntu:focal:package
|
- ubuntu:focal:package
|
||||||
- ubuntu:hirsute:package
|
- ubuntu:hirsute:package
|
||||||
|
@ -547,7 +560,7 @@ pages:
|
||||||
stage: pages
|
stage: pages
|
||||||
only:
|
only:
|
||||||
- main
|
- main
|
||||||
dependencies:
|
needs:
|
||||||
- debian:cmake
|
- debian:cmake
|
||||||
- reprepro:package
|
- reprepro:package
|
||||||
script:
|
script:
|
||||||
|
|
|
@ -86,6 +86,8 @@ stages:
|
||||||
extends:
|
extends:
|
||||||
- .monado.variables.{{distro.name}}:{{image.codename}}
|
- .monado.variables.{{distro.name}}:{{image.codename}}
|
||||||
- .fdo.{{ "suffixed" if "repo_suffix" in image else "distribution" }}-image@{{distro.name}} # from ci-templates
|
- .fdo.{{ "suffixed" if "repo_suffix" in image else "distribution" }}-image@{{distro.name}} # from ci-templates
|
||||||
|
needs:
|
||||||
|
- {{distro.name}}:{{image.codename}}:container_prep
|
||||||
|
|
||||||
{% endfor -%} {%- endfor %}
|
{% endfor -%} {%- endfor %}
|
||||||
|
|
||||||
|
@ -245,7 +247,8 @@ reprepro:package:
|
||||||
extends:
|
extends:
|
||||||
- {{ base_job_to_use_image_containing("reprepro") }}
|
- {{ base_job_to_use_image_containing("reprepro") }}
|
||||||
- .monado.packaging.conditions
|
- .monado.packaging.conditions
|
||||||
dependencies:
|
needs:
|
||||||
|
- {{ base_job_to_use_image_containing("reprepro") | replace(".monado.image.", "") | trim + ":container_prep" }}
|
||||||
{% for distro in distributions -%} {%- for image in distro.images if "deb_version_suffix" in image %}
|
{% for distro in distributions -%} {%- for image in distro.images if "deb_version_suffix" in image %}
|
||||||
- {{packaging_job_name(distro, image)}}
|
- {{packaging_job_name(distro, image)}}
|
||||||
{% endfor -%} {%- endfor %}
|
{% endfor -%} {%- endfor %}
|
||||||
|
@ -263,7 +266,7 @@ pages:
|
||||||
stage: pages
|
stage: pages
|
||||||
only:
|
only:
|
||||||
- main
|
- main
|
||||||
dependencies:
|
needs:
|
||||||
- debian:cmake
|
- debian:cmake
|
||||||
- reprepro:package
|
- reprepro:package
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in a new issue