[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-sandcastle-ng] branch master updated (b54fd91 -> 9f8a662)
From: |
gnunet |
Subject: |
[taler-sandcastle-ng] branch master updated (b54fd91 -> 9f8a662) |
Date: |
Sat, 17 Feb 2024 14:52:27 +0100 |
This is an automated email from the git hooks/post-receive script.
devan-carpenter pushed a change to branch master
in repository sandcastle-ng.
from b54fd91 ci: version the saved image
new ddad8b3 buildbot: handle artifact cleanup after syncing
new 9f8a662 buildbot: use latest tag to simplify deployment
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
contrib/ci/jobs/0-build/build.sh | 4 ++--
contrib/ci/jobs/1-deploy/job.sh | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/contrib/ci/jobs/0-build/build.sh b/contrib/ci/jobs/0-build/build.sh
index 2f24a32..8a366b8 100755
--- a/contrib/ci/jobs/0-build/build.sh
+++ b/contrib/ci/jobs/0-build/build.sh
@@ -6,5 +6,5 @@ set -exuo pipefail
mkdir -p /artifacts/sandcastle-ng/${CI_COMMIT_REF} # Variable comes from CI
environment
podman tag taler-base-all:latest taler-base-all:${CI_COMMIT_REF}
podman save \
- -o
/artifacts/sandcastle-ng/${CI_COMMIT_REF}/taler-base-all-${CI_COMMIT_REF}.tar \
- taler-base-all:${CI_COMMIT_REF}
+ -o /artifacts/sandcastle-ng/${CI_COMMIT_REF}/taler-base-all.tar \
+ taler-base-all:latest
diff --git a/contrib/ci/jobs/1-deploy/job.sh b/contrib/ci/jobs/1-deploy/job.sh
index 062abc1..373c4fc 100755
--- a/contrib/ci/jobs/1-deploy/job.sh
+++ b/contrib/ci/jobs/1-deploy/job.sh
@@ -11,4 +11,6 @@ RSYNC_DEST="rsync://${RSYNC_HOST}/${RSYNC_PATH}"
rsync -vP \
--port ${RSYNC_PORT} \
- ${ARTIFACT_PATH} ${RSYNC_DEST}
+ ${ARTIFACT_PATH} ${RSYNC_DEST} || rm -f "${ARTIFACT_PATH}"
+
+rm -f "${ARTIFACT_PATH}"
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-sandcastle-ng] branch master updated (b54fd91 -> 9f8a662),
gnunet <=