Back in the day we kept separate stages around to define
build order, however with DAG/needs now jobs run asynchronously.
Additionally on recent version its possibel to same jobs depend on
other jobs from the same stage.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3258>
- local: '.gitlab-image-tags.yml'
stages:
- - 'trigger'
- - 'build docker'
- 'preparation'
- - 'pre-build'
- 'build'
- 'test'
# Use the resulting binaries
# This is an empty job that is used to trigger the pipeline.
trigger:
image: alpine:latest
- stage: 'trigger'
+ stage: 'preparation'
variables:
GIT_STRATEGY: none
script:
extends:
- '.fedora image'
- '.fdo.container-build@fedora'
- stage: 'build docker'
+ stage: 'preparation'
needs:
- "trigger"
tags:
extends:
- '.gst-indent image'
- '.fdo.container-build@debian'
- stage: 'build docker'
+ stage: 'preparation'
# Do not depend on the trigger, as we want to run indent always
needs: []
windows amd64 docker:
- stage: "build docker"
+ stage: "preparation"
needs:
- "trigger"
timeout: '3h'