diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ci/jobs/4-deploy-package/config.ini | 6 | ||||
-rwxr-xr-x | contrib/ci/jobs/4-deploy-package/job.sh | 14 |
2 files changed, 20 insertions, 0 deletions
diff --git a/contrib/ci/jobs/4-deploy-package/config.ini b/contrib/ci/jobs/4-deploy-package/config.ini new file mode 100644 index 000000000..08c106f9c --- /dev/null +++ b/contrib/ci/jobs/4-deploy-package/config.ini @@ -0,0 +1,6 @@ +[build] +HALT_ON_FAILURE = True +WARN_ON_FAILURE = True +CONTAINER_BUILD = False +CONTAINER_NAME = nixery.dev/shell/rsync +CONTAINER_ARCH = amd64 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} |