|
@@ -131,6 +131,8 @@ def git_clone(String REPO) {
|
|
|
}
|
|
|
def update_secret(String NODE_IP, String SWARM_GIT_NAME, String DOMAIN, String CONFIG_DIR) {
|
|
|
sh """export DOCKER_HOST=tcp://${NODE_IP}:2376 DOCKER_TLS_VERIFY=1
|
|
|
+ docker stack rm registry
|
|
|
+ docker stack rm proxy
|
|
|
docker secret rm sdsys_full
|
|
|
docker secret create sdsys_full ${CONFIG_DIR}/archive/${DOMAIN}/${DOMAIN}.full-bundle
|
|
|
sleep 10
|