mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-24 11:00:29 +00:00
ci: add update jobs
Those jobs are triggered by gstreamer-rs when their images are updated so we can rebuild ours. Also disable normal building jobs and unrelated tests when updating a specific image as they are not needed. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/321>
This commit is contained in:
parent
54586c6ecc
commit
f34673b704
1 changed files with 30 additions and 0 deletions
|
@ -49,6 +49,8 @@ stages:
|
||||||
stage: prep
|
stage: prep
|
||||||
variables:
|
variables:
|
||||||
FDO_DISTRIBUTION_PACKAGES: "libcsound64-dev llvm clang nasm libsodium-dev"
|
FDO_DISTRIBUTION_PACKAGES: "libcsound64-dev llvm clang nasm libsodium-dev"
|
||||||
|
rules:
|
||||||
|
- if: '$UPDATE_IMG == null'
|
||||||
|
|
||||||
build-stable:
|
build-stable:
|
||||||
extends:
|
extends:
|
||||||
|
@ -65,6 +67,28 @@ build-nightly:
|
||||||
- .build-debian-container
|
- .build-debian-container
|
||||||
- .debian:10-nightly
|
- .debian:10-nightly
|
||||||
|
|
||||||
|
# Those jobs are triggered by gstreamer-rs when updating its images
|
||||||
|
update-stable:
|
||||||
|
extends: build-stable
|
||||||
|
rules:
|
||||||
|
- if: '$UPDATE_IMG == "stable"'
|
||||||
|
variables:
|
||||||
|
FDO_FORCE_REBUILD: 1
|
||||||
|
|
||||||
|
update-1-40:
|
||||||
|
extends: build-1-40
|
||||||
|
rules:
|
||||||
|
- if: '$UPDATE_IMG == "1-40"'
|
||||||
|
variables:
|
||||||
|
FDO_FORCE_REBUILD: 1
|
||||||
|
|
||||||
|
update-nightly:
|
||||||
|
extends: build-nightly
|
||||||
|
rules:
|
||||||
|
- if: '$UPDATE_IMG == "nightly"'
|
||||||
|
variables:
|
||||||
|
FDO_FORCE_REBUILD: 1
|
||||||
|
|
||||||
.dist-debian-container:
|
.dist-debian-container:
|
||||||
extends:
|
extends:
|
||||||
- .fdo.distribution-image@debian
|
- .fdo.distribution-image@debian
|
||||||
|
@ -110,17 +134,23 @@ test 1.40:
|
||||||
extends:
|
extends:
|
||||||
- '.cargo test'
|
- '.cargo test'
|
||||||
- .img-1-40
|
- .img-1-40
|
||||||
|
rules:
|
||||||
|
- if: '$UPDATE_IMG == null || $UPDATE_IMG == "1-40"'
|
||||||
|
|
||||||
test stable:
|
test stable:
|
||||||
extends:
|
extends:
|
||||||
- '.cargo test'
|
- '.cargo test'
|
||||||
- .img-stable
|
- .img-stable
|
||||||
|
rules:
|
||||||
|
- if: '$UPDATE_IMG == null || $UPDATE_IMG == "stable"'
|
||||||
|
|
||||||
test nightly:
|
test nightly:
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
extends:
|
extends:
|
||||||
- '.cargo test'
|
- '.cargo test'
|
||||||
- .img-nightly
|
- .img-nightly
|
||||||
|
rules:
|
||||||
|
- if: '$UPDATE_IMG == null || $UPDATE_IMG == "nightly"'
|
||||||
|
|
||||||
rustfmt:
|
rustfmt:
|
||||||
extends: .img-stable
|
extends: .img-stable
|
||||||
|
|
Loading…
Reference in a new issue