diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2023-03-21 11:43:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-21 11:43:21 -0400 |
commit | 80cc6d882fabac2b79f60cbba00d206d261050d1 (patch) | |
tree | 5f088bef04caa1eaa0bbfe099a601ff81f0ead05 /.cirrus.yml | |
parent | f40c2f352b4ce47ec5d18c9c1ad8b72fa6e6a661 (diff) | |
parent | c30f46163ba45c39d6b686e29f5559760cd9e90f (diff) |
Merge pull request #628 from cevich/fix_aarch64_artifact_extraction
Cirrus: Fix success failing on artifact extraction
Diffstat (limited to '.cirrus.yml')
-rw-r--r-- | .cirrus.yml | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index ab00ecf..a9ea64e 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -65,7 +65,7 @@ build_task: folder: "$CIRRUS_WORKING_DIR/bin" # Avoid binary pollution by scoping this to only this specific build. # Adjust vX if cache schema changes. - fingerprint_key: "bin_v2_${CIRRUS_TAG}${DEST_BRANCH}${CIRRUS_PR}_amd64" # Cache only within same tag, branch, or PR (branch will be 'pull/#') + fingerprint_key: "bin_v3_${CIRRUS_TAG}${DEST_BRANCH}${CIRRUS_PR}_amd64" # Cache only within same tag, branch, or PR (branch will be 'pull/#') reupload_on_changes: true setup_script: &setup "$SCRIPT_BASE/setup.sh" main_script: &main "$SCRIPT_BASE/runner.sh $CIRRUS_TASK_NAME" @@ -103,14 +103,12 @@ build_aarch64_task: upload_caches: [ "cargo", "targets", "bin" ] # Downstream CI needs the aarch64 binaries from this CI system. # However, we don't want to confuse architectures. - art_prep_script: - - cd bin - - ls -la - - mv netavark netavark.$(uname -m)-unknown-linux-gnu - - mv netavark.debug netavark.debug.$(uname -m)-unknown-linux-gnu - - mv netavark.info netavark.info.$(uname -m)-unknown-linux-gnu - - mv netavark-dhcp-proxy-client netavark-dhcp-proxy-client.$(uname -m)-unknown-linux-gnu - - mv netavark-dhcp-proxy-client.debug netavark-dhcp-proxy-client.debug.$(uname -m)-unknown-linux-gnu + art_prep_script: | + cd bin + ls -la + for filename in ./*; do + mv "$filename" "${filename}.$(uname -m)-unknown-linux-gnu" + done armbinary_artifacts: # See success_task path: ./bin/netavark* |