gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] branch master updated: ci: deploy debian package once b


From: gnunet
Subject: [taler-merchant] branch master updated: ci: deploy debian package once built
Date: Fri, 19 Jan 2024 18:07:06 +0100

This is an automated email from the git hooks/post-receive script.

devan-carpenter pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 9d290499 ci: deploy debian package once built
9d290499 is described below

commit 9d290499b50775ec4791ac2809666ea7694b63be
Author: Devan Carpenter <devan@taler.net>
AuthorDate: Fri Jan 19 12:06:25 2024 -0500

    ci: deploy debian package once built
---
 contrib/ci/jobs/5-deploy-package/config.ini |  6 ++++++
 contrib/ci/jobs/5-deploy-package/job.sh     | 14 ++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/contrib/ci/jobs/5-deploy-package/config.ini 
b/contrib/ci/jobs/5-deploy-package/config.ini
new file mode 100644
index 00000000..08c106f9
--- /dev/null
+++ b/contrib/ci/jobs/5-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/5-deploy-package/job.sh 
b/contrib/ci/jobs/5-deploy-package/job.sh
new file mode 100755
index 00000000..edd47554
--- /dev/null
+++ b/contrib/ci/jobs/5-deploy-package/job.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+set -exuo pipefail
+
+ARTIFACT_PATH="/artifacts/merchant/${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}

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]