ci: Update debian jobs to bookworm

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1125>
This commit is contained in:
Jordan Petridis 2023-03-09 22:08:24 +02:00
parent 584392049c
commit 9a50f1f318

View file

@ -1,4 +1,4 @@
.templates_sha: &templates_sha 567700e483aabed992d0a4fea84994a0472deff6 .templates_sha: &templates_sha fddab8aa63e89a8e65214f59860d9c0f030360c9
include: include:
- project: 'freedesktop/ci-templates' - project: 'freedesktop/ci-templates'
@ -66,9 +66,9 @@ trigger:
when: 'manual' when: 'manual'
allow_failure: false allow_failure: false
.debian:11: .debian:12:
variables: variables:
FDO_DISTRIBUTION_VERSION: 'bullseye-slim' FDO_DISTRIBUTION_VERSION: 'bookworm-slim'
before_script: before_script:
- source ./ci/env.sh - source ./ci/env.sh
- mkdir .cargo && echo -e "[net]\ngit-fetch-with-cli = true" > .cargo/config - mkdir .cargo && echo -e "[net]\ngit-fetch-with-cli = true" > .cargo/config
@ -80,23 +80,23 @@ trigger:
cargo update cargo update
fi fi
.debian:11-stable: .debian:12-stable:
extends: .debian:11 extends: .debian:12
variables: variables:
FDO_DISTRIBUTION_TAG: '$GST_RS_STABLE-${GST_RS_IMG_TAG}_2023-02-20.0' FDO_DISTRIBUTION_TAG: '$GST_RS_STABLE-${GST_RS_IMG_TAG}_2023-02-20.0'
FDO_BASE_IMAGE: "registry.freedesktop.org/gstreamer/gstreamer-rs/debian/bullseye-slim:$GST_RS_STABLE-$GST_RS_IMG_TAG" FDO_BASE_IMAGE: "registry.freedesktop.org/gstreamer/gstreamer-rs/debian/bookworm-slim:$GST_RS_STABLE-$GST_RS_IMG_TAG"
.debian:11-msrv: .debian:12-msrv:
extends: .debian:11 extends: .debian:12
variables: variables:
FDO_DISTRIBUTION_TAG: '$GST_RS_MSRV-${GST_RS_IMG_TAG}_2023-02-20.0' FDO_DISTRIBUTION_TAG: '$GST_RS_MSRV-${GST_RS_IMG_TAG}_2023-02-20.0'
FDO_BASE_IMAGE: "registry.freedesktop.org/gstreamer/gstreamer-rs/debian/bullseye-slim:$GST_RS_MSRV-$GST_RS_IMG_TAG" FDO_BASE_IMAGE: "registry.freedesktop.org/gstreamer/gstreamer-rs/debian/bookworm-slim:$GST_RS_MSRV-$GST_RS_IMG_TAG"
.debian:11-nightly: .debian:12-nightly:
extends: .debian:11 extends: .debian:12
variables: variables:
FDO_DISTRIBUTION_TAG: 'nightly-${GST_RS_IMG_TAG}_2023-02-20.0' FDO_DISTRIBUTION_TAG: 'nightly-${GST_RS_IMG_TAG}_2023-02-20.0'
FDO_BASE_IMAGE: "registry.freedesktop.org/gstreamer/gstreamer-rs/debian/bullseye-slim:nightly-$GST_RS_IMG_TAG" FDO_BASE_IMAGE: "registry.freedesktop.org/gstreamer/gstreamer-rs/debian/bookworm-slim:nightly-$GST_RS_IMG_TAG"
.build-debian-container: .build-debian-container:
extends: extends:
@ -108,7 +108,7 @@ trigger:
bash ci/install-dav1d.sh && bash ci/install-dav1d.sh &&
apt clean && apt clean &&
bash ./ci/install-rust-ext.sh && bash ./ci/install-rust-ext.sh &&
pip install tomli pip install tomli --break-system-packages
needs: needs:
- "trigger" - "trigger"
rules: rules:
@ -117,17 +117,17 @@ trigger:
build-stable: build-stable:
extends: extends:
- .build-debian-container - .build-debian-container
- .debian:11-stable - .debian:12-stable
build-msrv: build-msrv:
extends: extends:
- .build-debian-container - .build-debian-container
- .debian:11-msrv - .debian:12-msrv
build-nightly: build-nightly:
extends: extends:
- .build-debian-container - .build-debian-container
- .debian:11-nightly - .debian:12-nightly
# Those jobs are triggered by gstreamer-rs when updating its images # Those jobs are triggered by gstreamer-rs when updating its images
update-stable: update-stable:
@ -162,7 +162,7 @@ update-nightly:
.img-stable: .img-stable:
extends: extends:
- .dist-debian-container - .dist-debian-container
- .debian:11-stable - .debian:12-stable
needs: needs:
- job: 'build-stable' - job: 'build-stable'
optional: true optional: true
@ -172,7 +172,7 @@ update-nightly:
.img-msrv: .img-msrv:
extends: extends:
- .dist-debian-container - .dist-debian-container
- .debian:11-msrv - .debian:12-msrv
needs: needs:
- job: 'build-msrv' - job: 'build-msrv'
optional: true optional: true
@ -182,7 +182,7 @@ update-nightly:
.img-nightly: .img-nightly:
extends: extends:
- .dist-debian-container - .dist-debian-container
- .debian:11-nightly - .debian:12-nightly
needs: needs:
- job: 'build-nightly' - job: 'build-nightly'
optional: true optional: true