From 6e69978d2e119b79047dd29c4e535f50e615baf4 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Mon, 7 Oct 2024 18:13:37 +0200 Subject: [PATCH] cirrus: use shared repo_prep/repo_artifacts scripts The script for aarch is exactly the same so there doesn't seem to be a reason to duplciate it. Signed-off-by: Paul Holzinger --- .cirrus.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index f8159b4045..07279b6dae 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -210,11 +210,8 @@ build_aarch64_task: main_script: *main # Cirrus-CI is very slow uploading one file at time, and the repo contains # thousands of files. Speed this up by archiving into tarball first. - repo_prep_script: &repo_prep_aarch64 >- - tar cjf /tmp/repo.tbz -C $GOSRC . && mv /tmp/repo.tbz $GOSRC/ - repo_artifacts: &repo_artifacts_aarch64 - path: ./repo.tbz - type: application/octet-stream + repo_prep_script: *repo_prep + repo_artifacts: *repo_artifacts always: *runner_stats