From 44825f3a2d421ffafe99aedbf1a2d16244ef68bf Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Mon, 16 Jan 2023 14:50:46 -0500 Subject: [PATCH] Cirrus: Groom rust cache before updating Port of https://github.com/containers/netavark/pull/553 Signed-off-by: Chris Evich --- .cirrus.yml | 11 +++++++---- .gitignore | 1 - Cargo.lock | 0 contrib/cirrus/netavark_cache_groom.sh | 23 +++++++++++++++++++++++ 4 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 Cargo.lock create mode 100644 contrib/cirrus/netavark_cache_groom.sh diff --git a/.cirrus.yml b/.cirrus.yml index c936205..e19de19 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -37,11 +37,11 @@ build_task: image_name: "${FEDORA_NETAVARK_IMAGE}" cargo_cache: &cargo_cache folder: "$CARGO_HOME" - fingerprint_key: "cargo_v1_${DEST_BRANCH}" # Cache for branch + PRs + fingerprint_script: echo -e "cargo_v3_${DEST_BRANCH}_amd64\n---\n$(