This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
osmith gerrit-no-reply at lists.osmocom.orgosmith has uploaded this change for review. ( https://gerrit.osmocom.org/12042
Change subject: master-builds: make SSH keys available in Docker
......................................................................
master-builds: make SSH keys available in Docker
At runtime, mount the Jenkins host's ~/.ssh folder inside the Docker
containers, from which manual PDFs will be published.
To my surprise, local testing showed that ssh is looking for the keys
in /home/build/.ssh, although the HOME variable inside the image is set
to /build, not /home/build.
Related: OS#3385
Change-Id: Icfff3b6a620de79d1bab7ff6a35309f828581c09
---
M jobs/master-builds.yml
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/42/12042/1
diff --git a/jobs/master-builds.yml b/jobs/master-builds.yml
index 67a9b80..d485a5f 100644
--- a/jobs/master-builds.yml
+++ b/jobs/master-builds.yml
@@ -175,6 +175,7 @@
-e OSMOPY_DEBUG_TCP_SOCKETS="1" \
-w /build -i -u build \
-v "$PWD:/build" -v "$HOME/bin:/build_bin" \
+ -v "$HOME/.ssh:/home/build/.ssh:ro" \
osmocom:amd64 /build/contrib/jenkins.sh --publish
- osmo-bts:
@@ -235,6 +236,7 @@
-e OSMOPY_DEBUG_TCP_SOCKETS="1" \
-w /build -i -u build \
-v "$PWD:/build" -v "$HOME/bin:/build_bin" \
+ -v "$HOME/.ssh:/home/build/.ssh:ro" \
osmocom:amd64 /build/contrib/jenkins.sh --publish
trigger: master-osmo-msc, master-osmo-bsc
@@ -258,6 +260,7 @@
-w /build -u build \
-v "$PWD:/build" -v "$HOME/bin:/build_bin" \
-v "$ARTIFACT_STORE:/artifact_store" \
+ -v "$HOME/.ssh:/home/build/.ssh:ro" \
osmocom:amd64 /build/contrib/jenkins.sh --publish
- osmo-pcap
@@ -298,6 +301,7 @@
-e OSMOPY_DEBUG_TCP_SOCKETS="1" \
-w /build -i -u build \
-v "$PWD:/build" -v "$HOME/bin:/build_bin" \
+ -v "$HOME/.ssh:/home/build/.ssh:ro" \
osmocom:amd64 /build/contrib/jenkins.sh --publish
- osmo-sip-connector:
--
To view, visit https://gerrit.osmocom.org/12042
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icfff3b6a620de79d1bab7ff6a35309f828581c09
Gerrit-Change-Number: 12042
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181130/3e73d119/attachment.htm>