diff options
author | Nullptrderef <nullptrderef@proton.me> | 2024-06-16 14:08:42 +0200 |
---|---|---|
committer | Nullptrderef <nullptrderef@proton.me> | 2024-06-16 14:08:42 +0200 |
commit | e0a70fe4b6cd4ac0ba0d0ee3ba60d0175a5e5812 (patch) | |
tree | 5dd39dd1be2c1c80768136cccd3d507e245aa0bb /contrib | |
parent | deb0d14df158f237f13006cbb8ebef16d43609da (diff) |
allow overwriting dest
Diffstat (limited to 'contrib')
9 files changed, 27 insertions, 36 deletions
diff --git a/contrib/ci/jobs/102-deploy-package-debian-bookworm-amd64-generated/job.sh b/contrib/ci/jobs/102-deploy-package-debian-bookworm-amd64-generated/job.sh index d39cf9987..07299f2f4 100755 --- a/contrib/ci/jobs/102-deploy-package-debian-bookworm-amd64-generated/job.sh +++ b/contrib/ci/jobs/102-deploy-package-debian-bookworm-amd64-generated/job.sh @@ -6,9 +6,8 @@ ARTIFACT_PATH="/artifacts/exchange/${CI_COMMIT_REF}/*.deb" RSYNC_HOST="taler.host.internal" RSYNC_PORT=424242 RSYNC_PATH="incoming_packages/bookworm-taler-ci/" -RSYNC_DEST="rsync://${RSYNC_HOST}/${RSYNC_PATH}" - +RSYNC_DEST=${RSYNC_DEST:-"rsync://${RSYNC_HOST}/${RSYNC_PATH}"} rsync -vP \ - --port ${RSYNC_PORT} \ - ${ARTIFACT_PATH} ${RSYNC_DEST} + --port ${RSYNC_PORT} \ + ${ARTIFACT_PATH} ${RSYNC_DEST} diff --git a/contrib/ci/jobs/107-deploy-package-debian-bookworm-arm64-generated/job.sh b/contrib/ci/jobs/107-deploy-package-debian-bookworm-arm64-generated/job.sh index d39cf9987..07299f2f4 100755 --- a/contrib/ci/jobs/107-deploy-package-debian-bookworm-arm64-generated/job.sh +++ b/contrib/ci/jobs/107-deploy-package-debian-bookworm-arm64-generated/job.sh @@ -6,9 +6,8 @@ ARTIFACT_PATH="/artifacts/exchange/${CI_COMMIT_REF}/*.deb" RSYNC_HOST="taler.host.internal" RSYNC_PORT=424242 RSYNC_PATH="incoming_packages/bookworm-taler-ci/" -RSYNC_DEST="rsync://${RSYNC_HOST}/${RSYNC_PATH}" - +RSYNC_DEST=${RSYNC_DEST:-"rsync://${RSYNC_HOST}/${RSYNC_PATH}"} rsync -vP \ - --port ${RSYNC_PORT} \ - ${ARTIFACT_PATH} ${RSYNC_DEST} + --port ${RSYNC_PORT} \ + ${ARTIFACT_PATH} ${RSYNC_DEST} diff --git a/contrib/ci/jobs/112-deploy-package-debian-trixie-amd64-generated/job.sh b/contrib/ci/jobs/112-deploy-package-debian-trixie-amd64-generated/job.sh index d39cf9987..07299f2f4 100755 --- a/contrib/ci/jobs/112-deploy-package-debian-trixie-amd64-generated/job.sh +++ b/contrib/ci/jobs/112-deploy-package-debian-trixie-amd64-generated/job.sh @@ -6,9 +6,8 @@ ARTIFACT_PATH="/artifacts/exchange/${CI_COMMIT_REF}/*.deb" RSYNC_HOST="taler.host.internal" RSYNC_PORT=424242 RSYNC_PATH="incoming_packages/bookworm-taler-ci/" -RSYNC_DEST="rsync://${RSYNC_HOST}/${RSYNC_PATH}" - +RSYNC_DEST=${RSYNC_DEST:-"rsync://${RSYNC_HOST}/${RSYNC_PATH}"} rsync -vP \ - --port ${RSYNC_PORT} \ - ${ARTIFACT_PATH} ${RSYNC_DEST} + --port ${RSYNC_PORT} \ + ${ARTIFACT_PATH} ${RSYNC_DEST} diff --git a/contrib/ci/jobs/117-deploy-package-debian-trixie-arm64-generated/job.sh b/contrib/ci/jobs/117-deploy-package-debian-trixie-arm64-generated/job.sh index d39cf9987..07299f2f4 100755 --- a/contrib/ci/jobs/117-deploy-package-debian-trixie-arm64-generated/job.sh +++ b/contrib/ci/jobs/117-deploy-package-debian-trixie-arm64-generated/job.sh @@ -6,9 +6,8 @@ ARTIFACT_PATH="/artifacts/exchange/${CI_COMMIT_REF}/*.deb" RSYNC_HOST="taler.host.internal" RSYNC_PORT=424242 RSYNC_PATH="incoming_packages/bookworm-taler-ci/" -RSYNC_DEST="rsync://${RSYNC_HOST}/${RSYNC_PATH}" - +RSYNC_DEST=${RSYNC_DEST:-"rsync://${RSYNC_HOST}/${RSYNC_PATH}"} rsync -vP \ - --port ${RSYNC_PORT} \ - ${ARTIFACT_PATH} ${RSYNC_DEST} + --port ${RSYNC_PORT} \ + ${ARTIFACT_PATH} ${RSYNC_DEST} diff --git a/contrib/ci/jobs/122-deploy-package-debian-unstable-amd64-generated/job.sh b/contrib/ci/jobs/122-deploy-package-debian-unstable-amd64-generated/job.sh index d39cf9987..07299f2f4 100755 --- a/contrib/ci/jobs/122-deploy-package-debian-unstable-amd64-generated/job.sh +++ b/contrib/ci/jobs/122-deploy-package-debian-unstable-amd64-generated/job.sh @@ -6,9 +6,8 @@ ARTIFACT_PATH="/artifacts/exchange/${CI_COMMIT_REF}/*.deb" RSYNC_HOST="taler.host.internal" RSYNC_PORT=424242 RSYNC_PATH="incoming_packages/bookworm-taler-ci/" -RSYNC_DEST="rsync://${RSYNC_HOST}/${RSYNC_PATH}" - +RSYNC_DEST=${RSYNC_DEST:-"rsync://${RSYNC_HOST}/${RSYNC_PATH}"} rsync -vP \ - --port ${RSYNC_PORT} \ - ${ARTIFACT_PATH} ${RSYNC_DEST} + --port ${RSYNC_PORT} \ + ${ARTIFACT_PATH} ${RSYNC_DEST} diff --git a/contrib/ci/jobs/127-deploy-package-debian-unstable-arm64-generated/job.sh b/contrib/ci/jobs/127-deploy-package-debian-unstable-arm64-generated/job.sh index d39cf9987..07299f2f4 100755 --- a/contrib/ci/jobs/127-deploy-package-debian-unstable-arm64-generated/job.sh +++ b/contrib/ci/jobs/127-deploy-package-debian-unstable-arm64-generated/job.sh @@ -6,9 +6,8 @@ ARTIFACT_PATH="/artifacts/exchange/${CI_COMMIT_REF}/*.deb" RSYNC_HOST="taler.host.internal" RSYNC_PORT=424242 RSYNC_PATH="incoming_packages/bookworm-taler-ci/" -RSYNC_DEST="rsync://${RSYNC_HOST}/${RSYNC_PATH}" - +RSYNC_DEST=${RSYNC_DEST:-"rsync://${RSYNC_HOST}/${RSYNC_PATH}"} rsync -vP \ - --port ${RSYNC_PORT} \ - ${ARTIFACT_PATH} ${RSYNC_DEST} + --port ${RSYNC_PORT} \ + ${ARTIFACT_PATH} ${RSYNC_DEST} diff --git a/contrib/ci/jobs/132-deploy-package-debian-unstable-riscv64-generated/job.sh b/contrib/ci/jobs/132-deploy-package-debian-unstable-riscv64-generated/job.sh index d39cf9987..07299f2f4 100755 --- a/contrib/ci/jobs/132-deploy-package-debian-unstable-riscv64-generated/job.sh +++ b/contrib/ci/jobs/132-deploy-package-debian-unstable-riscv64-generated/job.sh @@ -6,9 +6,8 @@ ARTIFACT_PATH="/artifacts/exchange/${CI_COMMIT_REF}/*.deb" RSYNC_HOST="taler.host.internal" RSYNC_PORT=424242 RSYNC_PATH="incoming_packages/bookworm-taler-ci/" -RSYNC_DEST="rsync://${RSYNC_HOST}/${RSYNC_PATH}" - +RSYNC_DEST=${RSYNC_DEST:-"rsync://${RSYNC_HOST}/${RSYNC_PATH}"} rsync -vP \ - --port ${RSYNC_PORT} \ - ${ARTIFACT_PATH} ${RSYNC_DEST} + --port ${RSYNC_PORT} \ + ${ARTIFACT_PATH} ${RSYNC_DEST} diff --git a/contrib/ci/jobs/5-deploy-package-amd64/job.sh b/contrib/ci/jobs/5-deploy-package-amd64/job.sh index d39cf9987..07299f2f4 100755 --- a/contrib/ci/jobs/5-deploy-package-amd64/job.sh +++ b/contrib/ci/jobs/5-deploy-package-amd64/job.sh @@ -6,9 +6,8 @@ ARTIFACT_PATH="/artifacts/exchange/${CI_COMMIT_REF}/*.deb" RSYNC_HOST="taler.host.internal" RSYNC_PORT=424242 RSYNC_PATH="incoming_packages/bookworm-taler-ci/" -RSYNC_DEST="rsync://${RSYNC_HOST}/${RSYNC_PATH}" - +RSYNC_DEST=${RSYNC_DEST:-"rsync://${RSYNC_HOST}/${RSYNC_PATH}"} rsync -vP \ - --port ${RSYNC_PORT} \ - ${ARTIFACT_PATH} ${RSYNC_DEST} + --port ${RSYNC_PORT} \ + ${ARTIFACT_PATH} ${RSYNC_DEST} diff --git a/contrib/ci/targets/debian/deploy-package/job.sh b/contrib/ci/targets/debian/deploy-package/job.sh index d39cf9987..07299f2f4 100755 --- a/contrib/ci/targets/debian/deploy-package/job.sh +++ b/contrib/ci/targets/debian/deploy-package/job.sh @@ -6,9 +6,8 @@ ARTIFACT_PATH="/artifacts/exchange/${CI_COMMIT_REF}/*.deb" RSYNC_HOST="taler.host.internal" RSYNC_PORT=424242 RSYNC_PATH="incoming_packages/bookworm-taler-ci/" -RSYNC_DEST="rsync://${RSYNC_HOST}/${RSYNC_PATH}" - +RSYNC_DEST=${RSYNC_DEST:-"rsync://${RSYNC_HOST}/${RSYNC_PATH}"} rsync -vP \ - --port ${RSYNC_PORT} \ - ${ARTIFACT_PATH} ${RSYNC_DEST} + --port ${RSYNC_PORT} \ + ${ARTIFACT_PATH} ${RSYNC_DEST} |