diff options
author | Devan Carpenter <devan@taler.net> | 2024-01-15 14:49:14 -0500 |
---|---|---|
committer | Devan Carpenter <devan@taler.net> | 2024-01-15 14:55:41 -0500 |
commit | ef0bb60f23c0c755814f648b8d71a29a843e066c (patch) | |
tree | df15ca1ce55bc14782a6bd282531a63d1f7bafed /contrib/ci/jobs/4-deploy-package/job.sh | |
parent | 47b9bcb44e280c6d56d2862d4181da21d3cbecf1 (diff) | |
download | wallet-core-ef0bb60f23c0c755814f648b8d71a29a843e066c.tar.xz |
ci: add job to deploy debian package
Diffstat (limited to 'contrib/ci/jobs/4-deploy-package/job.sh')
-rwxr-xr-x | contrib/ci/jobs/4-deploy-package/job.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/ci/jobs/4-deploy-package/job.sh b/contrib/ci/jobs/4-deploy-package/job.sh new file mode 100755 index 000000000..46ed90f70 --- /dev/null +++ b/contrib/ci/jobs/4-deploy-package/job.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -exuo pipefail + +ARTIFACT_PATH="/artifacts/wallet-core/${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 -vP \ + --port ${RSYNC_PORT} \ + ${ARTIFACT_PATH} ${RSYNC_DEST} |