mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-21 23:20:23 +00:00
Update send_credentials.sh
This commit is contained in:
parent
4f767ab4cd
commit
067bc176d7
1 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,9 @@
|
|||
#!/bin/bash
|
||||
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
|
||||
|
||||
# Websoft9 microservices container(git,deployment,proxy) have credential info inside the container
|
||||
# send_credentials.sh: copy credential from these container, and save it into apphub by apphub cli, it will retry 20 times in every 3 seconds interval
|
||||
|
||||
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
|
||||
deployment_username="admin"
|
||||
credentials=("/data/gitea/credential" "/data/credential" "/data/credential")
|
||||
containers=("websoft9-git" "websoft9-deployment" "websoft9-proxy")
|
||||
|
@ -69,4 +72,4 @@ for ((i=0; i<$length; i++)); do
|
|||
else
|
||||
echo "Password for $container is not set or empty. Skipping..."
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue