fix: no need for cd to myCA
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Giles Bradshaw 2020-08-13 12:10:03 +01:00
parent eb113d091d
commit 8135c9c88c
2 changed files with 2 additions and 4 deletions

View File

@ -106,10 +106,10 @@ local util = import 'lib/util.libsonnet';
'echo "$${CA_KEY}" > /stack/squid/.secrets/ca.key',
'set -e',
//"docker network prune -f",
"cd /stack/squid/myCA",
//"cd /stack/squid/myCA",
//'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 ..',
//'cd ..',
//"docker stack rm squid",
//"sleep 60",
// "docker volume rm squid_squid-cache",

View File

@ -116,8 +116,6 @@ steps:
- echo "$${CA_CRT}" > /stack/squid/.secrets/ca.crt
- echo "$${CA_KEY}" > /stack/squid/.secrets/ca.key
- set -e
- cd /stack/squid/myCA
- cd ..
- docker stack deploy -c docker-compose.yml squid
username:
from_secret: ssh-user