ci: avoid trying to cache cargo registry

There have been some very weird issues, where
cargo keeps fetching older commits of glib-rs
and breaking the build like so [1]

Might be stale cache, or some http/git mirroring
shenanigans, so lets stop trying to use the
cache for now and check if the issue persists.

[1]: https://gitlab.freedesktop.org/slomo/gst-plugins-rs/-/jobs/4715922
This commit is contained in:
Jordan Petridis 2020-09-30 10:07:12 +03:00
parent 57c58f255e
commit 0d1b65154a
No known key found for this signature in database
GPG key ID: 902CC06D159744F5

View file

@ -9,9 +9,6 @@ stages:
.base:
image: "registry.freedesktop.org/gstreamer/gstreamer-rs/debian/10:$RUST_VERSION-$GST_RS_IMG_TAG"
variables:
# Only stuff inside the repo directory can be cached
# Override the CARGO_HOME variable to force its location
CARGO_HOME: "${CI_PROJECT_DIR}/.cargo_home"
G_DEBUG: "fatal_warnings"
before_script:
- source ./ci/env.sh
@ -22,10 +19,6 @@ stages:
cargo generate-lockfile
cargo update
fi
cache:
key: "gst"
paths:
- "${CARGO_HOME}"
.img-stable:
extends: .base