Verified Commit 9f1adafb authored by p.jbowden's avatar p.jbowden
Browse files

make start-UoW job more verbose

parent 26257829
Pipeline #256475 passed with stages
in 1 minute and 28 seconds
......@@ -241,17 +241,16 @@ start-UoW:
WORK_DIR: "/usr/local/snet-asclepios-deployment"
UOW_NFS_SHARE_DIR: "/srv/nfs4/share"
COMMAND: |
echo "$UOW_NFS_SSH_HOST_KEY" | sudo tee "/root/.ssh/known_hosts" > /dev/null
set -eu
sudo scp -i "$WORK_DIR/.env.d/UOW_NFS_ID_RSA" "$WORK_DIR/conf/openid-provider.properties" "$UOW_NFS_SSH_USER@$UOW_NFS_SSH_HOST:$UOW_NFS_SHARE_DIR/conf"
sudo scp -i "$WORK_DIR/.env.d/UOW_NFS_ID_RSA" "$WORK_DIR/conf/zuul.application.yml" "${UOW_NFS_SSH_USER}@${UOW_NFS_SSH_HOST}:${UOW_NFS_SHARE_DIR}/conf"
sudo scp -i "$WORK_DIR/.env.d/UOW_NFS_ID_RSA" "$WORK_DIR/conf/zuul.authorization-client.properties" "${UOW_NFS_SSH_USER}@${UOW_NFS_SSH_HOST}:${UOW_NFS_SHARE_DIR}/conf"
sudo scp -i "$WORK_DIR/.env.d/UOW_NFS_ID_RSA" "$WORK_DIR/certs/common/common-truststore.p12" "${UOW_NFS_SSH_USER}@${UOW_NFS_SSH_HOST}:${UOW_NFS_SHARE_DIR}/certs/common"
sudo scp -i "$WORK_DIR/.env.d/UOW_NFS_ID_RSA" "$WORK_DIR/certs/abac-server/abac-server-keystore.p12" "${UOW_NFS_SSH_USER}@${UOW_NFS_SSH_HOST}:${UOW_NFS_SHARE_DIR}/certs/abac-server"
sudo scp -i "$WORK_DIR/.env.d/UOW_NFS_ID_RSA" -r "$WORK_DIR/policies" "${UOW_NFS_SSH_USER}@${UOW_NFS_SSH_HOST}:${UOW_NFS_SHARE_DIR}/policies"
echo "$UOW_NFS_SSH_HOST_KEY" | sudo tee "/root/.ssh/known_hosts"
# echo "$UOW_PERSISTANCE_SSH_HOST_KEY" | sudo tee "/root/.ssh/known_hosts" > /dev/null
# sudo scp -i cloud/.ssh/id_rsa "WORKDIR/conf/xnat.sql" "${UOW_PERSISTANCE_SSH_USER}@${UOW_PERSISTANCE_SSH_HOST}:/srv/data/xnat-db-docker-entrypoint-initdb.d/001-xnat.sql
sudo scp -v -i "$WORK_DIR/.env.d/UOW_NFS_ID_RSA" "$WORK_DIR/conf/openid-provider.properties" "$UOW_NFS_SSH_USER@$UOW_NFS_SSH_HOST:$UOW_NFS_SHARE_DIR/conf"
sudo scp -v -i "$WORK_DIR/.env.d/UOW_NFS_ID_RSA" "$WORK_DIR/conf/zuul.application.yml" "${UOW_NFS_SSH_USER}@${UOW_NFS_SSH_HOST}:${UOW_NFS_SHARE_DIR}/conf"
sudo scp -v -i "$WORK_DIR/.env.d/UOW_NFS_ID_RSA" "$WORK_DIR/conf/zuul.authorization-client.properties" "${UOW_NFS_SSH_USER}@${UOW_NFS_SSH_HOST}:${UOW_NFS_SHARE_DIR}/conf"
sudo scp -v -i "$WORK_DIR/.env.d/UOW_NFS_ID_RSA" "$WORK_DIR/certs/common/common-truststore.p12" "${UOW_NFS_SSH_USER}@${UOW_NFS_SSH_HOST}:${UOW_NFS_SHARE_DIR}/certs/common"
sudo scp -v -i "$WORK_DIR/.env.d/UOW_NFS_ID_RSA" "$WORK_DIR/certs/abac-server/abac-server-keystore.p12" "${UOW_NFS_SSH_USER}@${UOW_NFS_SSH_HOST}:${UOW_NFS_SHARE_DIR}/certs/abac-server"
sudo scp -v -i "$WORK_DIR/.env.d/UOW_NFS_ID_RSA" -r "$WORK_DIR/policies" "${UOW_NFS_SSH_USER}@${UOW_NFS_SSH_HOST}:${UOW_NFS_SHARE_DIR}/policies"
cd $WORK_DIR/micado && sudo ./4-update-adt.sh | sed '1,/^Updating/d' | jq .message | grep "Application asclepios-sleep successfully updated"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment