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.
This commit is contained in:
Jordan Petridis 2020-09-29 18:11:08 +03:00
parent da4efdfa90
commit 8ff3cdde7e
No known key found for this signature in database
GPG key ID: 902CC06D159744F5

View file

@ -42,9 +42,6 @@ stages:
variables:
FDO_DISTRIBUTION_VERSION: 10
FDO_DISTRIBUTION_TAG: '$RUST_VERSION-$GST_RS_IMG_TAG'
# 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"
before_script:
- source ./ci/env.sh
- mkdir .cargo && echo -e "[net]\ngit-fetch-with-cli = true" > .cargo/config
@ -123,10 +120,6 @@ update-nightly:
.dist-debian-container:
extends:
- .fdo.distribution-image@debian
cache:
key: "gst"
paths:
- "${CARGO_HOME}"
after_script:
- rm -rf target