mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
ci: consolidate pre-build CI stages
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>
This commit is contained in:
parent
d6ad95dbe2
commit
0377218806
1 changed files with 4 additions and 7 deletions
|
@ -14,10 +14,7 @@ include:
|
|||
- local: '.gitlab-image-tags.yml'
|
||||
|
||||
stages:
|
||||
- 'trigger'
|
||||
- 'build docker'
|
||||
- 'preparation'
|
||||
- 'pre-build'
|
||||
- 'build'
|
||||
- 'test'
|
||||
# Use the resulting binaries
|
||||
|
@ -103,7 +100,7 @@ default:
|
|||
# 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:
|
||||
|
@ -132,7 +129,7 @@ fedora amd64 docker:
|
|||
extends:
|
||||
- '.fedora image'
|
||||
- '.fdo.container-build@fedora'
|
||||
stage: 'build docker'
|
||||
stage: 'preparation'
|
||||
needs:
|
||||
- "trigger"
|
||||
tags:
|
||||
|
@ -150,12 +147,12 @@ gst-indent amd64 docker:
|
|||
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'
|
||||
|
|
Loading…
Reference in a new issue