forked from mirrors/gstreamer-rs
ci: move image tags to its own file
Will be used by gst-plugins-rs to reference gstreamer-rs images as bases.
This commit is contained in:
parent
6e431ce060
commit
e40e23b82c
2 changed files with 11 additions and 6 deletions
|
@ -1,12 +1,13 @@
|
||||||
# We use https://gitlab.freedesktop.org/freedesktop/ci-templates
|
# We use https://gitlab.freedesktop.org/freedesktop/ci-templates
|
||||||
# to build the images used by the ci.
|
# to build the images used by the ci.
|
||||||
#
|
#
|
||||||
# Here is how to properly update thoses image:
|
# Here is how to properly update thoses images:
|
||||||
# - new Rust stable version: update FDO_DISTRIBUTION_TAG
|
# - new Rust stable version: update GST_RS_IMG_TAG
|
||||||
# - add dependencies: update FDO_DISTRIBUTION_PACKAGES and update FDO_DISTRIBUTION_TAG
|
# - add dependencies: update FDO_DISTRIBUTION_PACKAGES and update GST_RS_IMG_TAG
|
||||||
# - update GStreamer version: update the tag in ci/install-gst.sh and update FDO_DISTRIBUTION_TAG
|
# - update GStreamer version: update the tag in ci/install-gst.sh and update GST_RS_IMG_TAG
|
||||||
#
|
#
|
||||||
# Updating FDO_DISTRIBUTION_TAG is done by either:
|
# GST_RS_IMG_TAG is defined in ci/images_template.yml and should be updated
|
||||||
|
# either by:
|
||||||
# - 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
|
||||||
#
|
#
|
||||||
|
@ -23,6 +24,8 @@ include:
|
||||||
ref: *templates_sha
|
ref: *templates_sha
|
||||||
file: '/templates/debian.yml'
|
file: '/templates/debian.yml'
|
||||||
|
|
||||||
|
- local: "ci/images_template.yml"
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
FDO_UPSTREAM_REPO: gstreamer/gstreamer-rs
|
FDO_UPSTREAM_REPO: gstreamer/gstreamer-rs
|
||||||
|
|
||||||
|
@ -35,7 +38,7 @@ stages:
|
||||||
.debian:10:
|
.debian:10:
|
||||||
variables:
|
variables:
|
||||||
FDO_DISTRIBUTION_VERSION: 10
|
FDO_DISTRIBUTION_VERSION: 10
|
||||||
FDO_DISTRIBUTION_TAG: '$RUST_VERSION-2020-04-24.0'
|
FDO_DISTRIBUTION_TAG: '$RUST_VERSION-$GST_RS_IMG_TAG'
|
||||||
# Only stuff inside the repo directory can be cached
|
# Only stuff inside the repo directory can be cached
|
||||||
# Override the CARGO_HOME variable to force its location
|
# Override the CARGO_HOME variable to force its location
|
||||||
CARGO_HOME: "${CI_PROJECT_DIR}/.cargo_home"
|
CARGO_HOME: "${CI_PROJECT_DIR}/.cargo_home"
|
||||||
|
|
2
ci/images_template.yml
Normal file
2
ci/images_template.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
variables:
|
||||||
|
GST_RS_IMG_TAG: '2020-04-24.0'
|
Loading…
Reference in a new issue