[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-grid5k] 110/141: add no-copy flag
From: |
gnunet |
Subject: |
[taler-grid5k] 110/141: add no-copy flag |
Date: |
Thu, 18 Nov 2021 14:50:51 +0100 |
This is an automated email from the git hooks/post-receive script.
marco-boss pushed a commit to branch master
in repository grid5k.
commit e414c1983731a387e07498e8382d814fdc29d789
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Sat Nov 6 08:54:42 2021 +0100
add no-copy flag
---
docker/README.md | 1 +
docker/entrypoint.sh | 8 +++++++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/docker/README.md b/docker/README.md
index 0e1edeb..bcccae7 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -58,6 +58,7 @@ Or place the password (also arguments) in .env too but make
sure its protected.
**ARGUMENTS**: args to pass to entrypoint, one of
-c|--clean (run make clean)
-r|--rebuild (rebuild the image - automatically set if -c is used)
+ -n|--no-copy (do not copy the generated image to Grid5000 - make sure output
volume is mounted)
As per default, running the docker command again will not clean or rebuild
the image
##### Additional
diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh
index 1c905b0..79a4be2 100644
--- a/docker/entrypoint.sh
+++ b/docker/entrypoint.sh
@@ -14,6 +14,11 @@ while [[ $# -gt 0 ]]; do
echo "INFO will rebuild image"
shift
;;
+ -n|--no-copy)
+ COPY=false
+ echo "INFO will not copy image to Grid5000"
+ shift
+ ;;
*)
shift
;;
@@ -84,7 +89,7 @@ fi
cd build/taler-debian11
-if [ -f "/root/cert.pem" ]; then
+if [ -f "/root/cert.pem" ] && [ "$COPY" != false ]; then
eval $(ssh-agent)
@@ -120,6 +125,7 @@ if [ -f "/root/cert.pem" ]; then
fi
if [ -d "/root/output" ]; then
+ echo "INFO copying image to output (mounted volume)"
mv taler-debian11.dsc.bak taler-debian11.dsc || true
cp taler-debian11.tar.zst taler-debian11.dsc /root/output/
fi
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-grid5k] 104/141: update scripts and docker build, (continued)
- [taler-grid5k] 104/141: update scripts and docker build, gnunet, 2021/11/18
- [taler-grid5k] 93/141: image build back to apt, gnunet, 2021/11/18
- [taler-grid5k] 75/141: add benchmark run for wallet, gnunet, 2021/11/18
- [taler-grid5k] 98/141: add missing package for merchant build, gnunet, 2021/11/18
- [taler-grid5k] 94/141: add merchant configuration, gnunet, 2021/11/18
- [taler-grid5k] 135/141: remove sanitizer again, gnunet, 2021/11/18
- [taler-grid5k] 83/141: update image - set install path to /usr instead of /usr/local, gnunet, 2021/11/18
- [taler-grid5k] 105/141: more wallet hosts, gnunet, 2021/11/18
- [taler-grid5k] 88/141: use wallet as a service, gnunet, 2021/11/18
- [taler-grid5k] 107/141: fix image config, gnunet, 2021/11/18
- [taler-grid5k] 110/141: add no-copy flag,
gnunet <=
- [taler-grid5k] 80/141: add dist builds, gnunet, 2021/11/18
- [taler-grid5k] 85/141: fix createuser script, gnunet, 2021/11/18
- [taler-grid5k] 137/141: add possibility for more than 100 exchanges, gnunet, 2021/11/18
- [taler-grid5k] 90/141: change number of iterations to 10 - bigger values slow down wallets over time, gnunet, 2021/11/18
- [taler-grid5k] 120/141: remove log levels for pipeline output, gnunet, 2021/11/18
- [taler-grid5k] 78/141: add jinja, gnunet, 2021/11/18