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 <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2024-10-07 18:13:37 +02:00
parent 7eb4a6fe2b
commit 6e69978d2e

View File

@ -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