fix: no need for cd to myCA
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
eb113d091d
commit
8135c9c88c
|
@ -106,10 +106,10 @@ local util = import 'lib/util.libsonnet';
|
||||||
'echo "$${CA_KEY}" > /stack/squid/.secrets/ca.key',
|
'echo "$${CA_KEY}" > /stack/squid/.secrets/ca.key',
|
||||||
'set -e',
|
'set -e',
|
||||||
//"docker network prune -f",
|
//"docker network prune -f",
|
||||||
"cd /stack/squid/myCA",
|
//"cd /stack/squid/myCA",
|
||||||
//'openssl genrsa -out CA_key.pem 2048',
|
//'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"',
|
//'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 ..',
|
//'cd ..',
|
||||||
//"docker stack rm squid",
|
//"docker stack rm squid",
|
||||||
//"sleep 60",
|
//"sleep 60",
|
||||||
// "docker volume rm squid_squid-cache",
|
// "docker volume rm squid_squid-cache",
|
||||||
|
|
|
@ -116,8 +116,6 @@ steps:
|
||||||
- echo "$${CA_CRT}" > /stack/squid/.secrets/ca.crt
|
- echo "$${CA_CRT}" > /stack/squid/.secrets/ca.crt
|
||||||
- echo "$${CA_KEY}" > /stack/squid/.secrets/ca.key
|
- echo "$${CA_KEY}" > /stack/squid/.secrets/ca.key
|
||||||
- set -e
|
- set -e
|
||||||
- cd /stack/squid/myCA
|
|
||||||
- cd ..
|
|
||||||
- docker stack deploy -c docker-compose.yml squid
|
- docker stack deploy -c docker-compose.yml squid
|
||||||
username:
|
username:
|
||||||
from_secret: ssh-user
|
from_secret: ssh-user
|
||||||
|
|
Loading…
Reference in New Issue