ci: Bump linux image tag, and make a separate tag for windows

It is fairly common to rebuild only the linux or windows image. This
avoids needless rebuilds and then (v slow) downloads into the docker
cache of runners.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1500>
This commit is contained in:
Nirbheek Chauhan 2024-08-19 21:10:07 +05:30
parent 57aa8e09ea
commit c5dfc87953
2 changed files with 9 additions and 5 deletions

View file

@ -11,6 +11,9 @@
# - setting it to the current date and the version suffix to 0 # - setting it to the current date and the version suffix to 0
# - incrementing the version suffix # - incrementing the version suffix
# #
# Same for GST_RS_IMG_WINDOWS_TAG. There's a separate tag for it to cater for
# image-only updates that only affect Windows or only Linux.
#
# After each update commit your changes and push to your personal repo. # After each update commit your changes and push to your personal repo.
# After review and ci approval merge the branch as usual. # After review and ci approval merge the branch as usual.
# #
@ -44,10 +47,10 @@ variables:
FDO_UPSTREAM_REPO: gstreamer/gstreamer-rs FDO_UPSTREAM_REPO: gstreamer/gstreamer-rs
# DIY CI-templates like setup for windows # DIY CI-templates like setup for windows
WINDOWS_RUST_MINIMUM_IMAGE: "$CI_REGISTRY_IMAGE/windows:$GST_RS_IMG_TAG-main-$GST_RS_MSRV" WINDOWS_RUST_MINIMUM_IMAGE: "$CI_REGISTRY_IMAGE/windows:$GST_RS_IMG_WINDOWS_TAG-main-$GST_RS_MSRV"
WINDOWS_RUST_MINIMUM_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows:$GST_RS_IMG_TAG-main-$GST_RS_MSRV" WINDOWS_RUST_MINIMUM_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows:$GST_RS_IMG_WINDOWS_TAG-main-$GST_RS_MSRV"
WINDOWS_RUST_STABLE_IMAGE: "$CI_REGISTRY_IMAGE/windows:$GST_RS_IMG_TAG-main-$GST_RS_STABLE" WINDOWS_RUST_STABLE_IMAGE: "$CI_REGISTRY_IMAGE/windows:$GST_RS_IMG_WINDOWS_TAG-main-$GST_RS_STABLE"
WINDOWS_RUST_STABLE_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows:$GST_RS_IMG_TAG-main-$GST_RS_STABLE" WINDOWS_RUST_STABLE_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows:$GST_RS_IMG_WINDOWS_TAG-main-$GST_RS_STABLE"
RUST_DOCS_FLAGS: "--cfg docsrs --extern-html-root-url=muldiv=https://docs.rs/muldiv/1.0.0/muldiv/ -Z unstable-options --generate-link-to-definition" RUST_DOCS_FLAGS: "--cfg docsrs --extern-html-root-url=muldiv=https://docs.rs/muldiv/1.0.0/muldiv/ -Z unstable-options --generate-link-to-definition"
NAMESPACE: gstreamer NAMESPACE: gstreamer

View file

@ -1,5 +1,6 @@
variables: variables:
GST_RS_IMG_TAG: "2024-08-19.1" GST_RS_IMG_TAG: "2024-08-19.2"
GST_RS_IMG_WINDOWS_TAG: "2024-08-19.1"
GST_RS_STABLE: "1.80.1" GST_RS_STABLE: "1.80.1"
GST_RS_MSRV: "1.71.1" GST_RS_MSRV: "1.71.1"
# The branch we use to build GStreamer from in the docker images # The branch we use to build GStreamer from in the docker images