doc/nwl-ci: added change of manage script for an additional ssh key
to have the ssh key of nginx available in the docker instance, the manage script needed to be adapted as each key was added with a single mount command. Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
This commit is contained in:
parent
8f6ae85d9e
commit
c50ff430a1
|
|
@ -1238,6 +1238,25 @@ We have now prepared the repository for the setup of the CI environment. Let's i
|
|||
|
||||
# add the nginx webserver to known_hosts:
|
||||
ssh-keyscan 10.115.101.100 >> ~/work/ci/config/known_hosts
|
||||
|
||||
+ Adapt the manage script for the new ssh key mount:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
diff --git a/manage.sh b/manage.sh
|
||||
index 7c84762..bf3435c 100755
|
||||
--- a/manage.sh
|
||||
+++ b/manage.sh
|
||||
@@ -201,6 +201,8 @@ create_instance()
|
||||
extras="-v $here/keys/$platform/id_rsa:/var/jenkins_home/.ssh/id_rsa -v $here/keys/$platform/id_ed25519:/var/jenkins_home/.ssh/id_ed25519 -v $here/keys/$platform/config:/var/jenkins_home/.ssh/config"
|
||||
elif [ "$platform" == "hios" ] || [ "$platform" == "hisecos" ] || [ "$platform" == "hieos" ] ; then
|
||||
extras="-v $here/config/maven.xml:/var/lib/ci/config/maven.xml --env JDKDIR=/opt/jdk1.11"
|
||||
+ elif [ "$platform" == "nwl" ]; then
|
||||
+ extras="-v $here/keys/$platform/nginx-nwl:/var/lib/ci/keys/nginx-nwl:ro"
|
||||
fi
|
||||
|
||||
# start container
|
||||
|
||||
|
||||
* Setup the new instance on the build server:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue