fix: rm stack
This commit is contained in:
parent
8233fe28be
commit
581abb7746
|
@ -111,8 +111,8 @@ local util = import 'lib/util.libsonnet';
|
|||
//'openssl genrsa -out CA_key.pem 2048',
|
||||
//'openssl req -x509 -days 600 -new -nodes -key CA_key.pem -out CA_crt.pem -extensions v3_ca -config openssl.cnf -subj "/C=US/ST=California/L=Mountain View/O=Google/OU=Enterprise/CN=MyCA"',
|
||||
//'cd ..',
|
||||
//"docker stack rm squid",
|
||||
//"sleep 60",
|
||||
"docker stack rm squid",
|
||||
"sleep 60",
|
||||
// "docker volume rm squid_squid-cache",
|
||||
"docker stack deploy -c docker-compose.yml squid",
|
||||
]
|
||||
|
|
|
@ -117,6 +117,8 @@ steps:
|
|||
- echo "$${CA_KEY}" > /stack/squid/.secrets/ca.key
|
||||
- set -e
|
||||
- cd /stack/squid
|
||||
- docker stack rm squid
|
||||
- sleep 60
|
||||
- docker stack deploy -c docker-compose.yml squid
|
||||
username:
|
||||
from_secret: ssh-user
|
||||
|
|
Loading…
Reference in New Issue