mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-25 09:54:47 +01:00
build: circleci: include pipeline number in minio url
This commit is contained in:
parent
f494c5ba31
commit
913b8b37fe
@ -87,7 +87,7 @@ commands:
|
|||||||
mc config host add --api s3v4 zrepl-minio https://minio.cschwarz.com ${MINIO_ACCESS_KEY} ${MINIO_SECRET_KEY}
|
mc config host add --api s3v4 zrepl-minio https://minio.cschwarz.com ${MINIO_ACCESS_KEY} ${MINIO_SECRET_KEY}
|
||||||
|
|
||||||
# keep in sync with set-github-minio-status
|
# keep in sync with set-github-minio-status
|
||||||
jobprefix=zrepl-ci-artifacts/test/${CIRCLE_SHA1}/${CIRCLE_JOB}
|
jobprefix=zrepl-ci-artifacts/${CIRCLE_SHA1}-pipeline-<<pipeline.number>>/${CIRCLE_JOB}
|
||||||
|
|
||||||
# Upload artifacts
|
# Upload artifacts
|
||||||
mkdir -p ./artifacts
|
mkdir -p ./artifacts
|
||||||
@ -112,7 +112,7 @@ commands:
|
|||||||
set -u # from now on
|
set -u # from now on
|
||||||
|
|
||||||
# keep in sync with with upload-minio command
|
# keep in sync with with upload-minio command
|
||||||
jobprefix=zrepl-ci-artifacts/test/${CIRCLE_SHA1}/${CIRCLE_JOB}
|
jobprefix=zrepl-ci-artifacts/${CIRCLE_SHA1}-pipeline-<<pipeline.number>>/${CIRCLE_JOB}
|
||||||
# Push Artifact Link to GitHub
|
# Push Artifact Link to GitHub
|
||||||
REPO="zrepl/zrepl"
|
REPO="zrepl/zrepl"
|
||||||
COMMIT="${CIRCLE_SHA1}"
|
COMMIT="${CIRCLE_SHA1}"
|
||||||
|
Loading…
Reference in New Issue
Block a user