mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
ci: increase artifact retention period (#869)
* ci: increase artifact retention period
This commit is contained in:
committed by
GitHub
parent
b2df51d296
commit
b49bf9d5b0
+12
-3
@@ -28,7 +28,7 @@ variables:
|
|||||||
artifacts:
|
artifacts:
|
||||||
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
|
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
|
||||||
when: on_success
|
when: on_success
|
||||||
expire_in: 7 days
|
expire_in: 28 days
|
||||||
paths:
|
paths:
|
||||||
- artifacts/
|
- artifacts/
|
||||||
|
|
||||||
@@ -253,15 +253,24 @@ publish-s3-release:
|
|||||||
BUCKET: "releases.parity.io"
|
BUCKET: "releases.parity.io"
|
||||||
PREFIX: "polkadot/${ARCH}-${DOCKER_OS}"
|
PREFIX: "polkadot/${ARCH}-${DOCKER_OS}"
|
||||||
script:
|
script:
|
||||||
- echo "uploading objects to ${BUCKET}/${PREFIX}/${VERSION}"
|
- echo "uploading objects to https://${BUCKET}/${PREFIX}/${VERSION}"
|
||||||
- aws s3 sync ./artifacts/ s3://${BUCKET}/${PREFIX}/${VERSION}/
|
- aws s3 sync ./artifacts/ s3://${BUCKET}/${PREFIX}/${VERSION}/
|
||||||
- echo "update objects at ${BUCKET}/${PREFIX}/${EXTRATAG}/${name}"
|
- echo "update objects at https://${BUCKET}/${PREFIX}/${EXTRATAG}"
|
||||||
- for file in ./artifacts/*; do
|
- for file in ./artifacts/*; do
|
||||||
name="$(basename ${file})";
|
name="$(basename ${file})";
|
||||||
aws s3api copy-object
|
aws s3api copy-object
|
||||||
--copy-source ${BUCKET}/${PREFIX}/${VERSION}/${name}
|
--copy-source ${BUCKET}/${PREFIX}/${VERSION}/${name}
|
||||||
--bucket ${BUCKET} --key ${PREFIX}/${EXTRATAG}/${name};
|
--bucket ${BUCKET} --key ${PREFIX}/${EXTRATAG}/${name};
|
||||||
done
|
done
|
||||||
|
- |
|
||||||
|
cat <<-EOM
|
||||||
|
|
|
||||||
|
| polkadot binary paths:
|
||||||
|
|
|
||||||
|
| - https://${BUCKET}/${PREFIX}/${EXTRATAG}/polkadot
|
||||||
|
| - https://${BUCKET}/${PREFIX}/${VERSION}/polkadot
|
||||||
|
|
|
||||||
|
EOM
|
||||||
after_script:
|
after_script:
|
||||||
- aws s3 ls s3://${BUCKET}/${PREFIX}/${EXTRATAG}/
|
- aws s3 ls s3://${BUCKET}/${PREFIX}/${EXTRATAG}/
|
||||||
--recursive --human-readable --summarize
|
--recursive --human-readable --summarize
|
||||||
|
|||||||
Reference in New Issue
Block a user