ci: remove cache volume
This commit is contained in:
parent
79f72eb43e
commit
1bdfe36982
|
@ -87,7 +87,8 @@ local publicSecrets = import 'lib/public-secrets.libsonnet';
|
||||||
'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 31",
|
"sleep 60",
|
||||||
|
"docker volume rm squid_squid-cache",
|
||||||
'export SQUID_IMAGE=$${LOCAL_DOCKER_REGISTRY}squid',
|
'export SQUID_IMAGE=$${LOCAL_DOCKER_REGISTRY}squid',
|
||||||
'docker login $${LOCAL_DOCKER_REGISTRY} --username client --password "$${LOCAL_REGISTRY_PASSWORD}"',
|
'docker login $${LOCAL_DOCKER_REGISTRY} --username client --password "$${LOCAL_REGISTRY_PASSWORD}"',
|
||||||
'docker pull $${SQUID_IMAGE}',
|
'docker pull $${SQUID_IMAGE}',
|
||||||
|
|
|
@ -74,7 +74,8 @@ steps:
|
||||||
- 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 31
|
- sleep 60
|
||||||
|
- docker volume rm squid_squid-cache
|
||||||
- export SQUID_IMAGE=$${LOCAL_DOCKER_REGISTRY}squid
|
- export SQUID_IMAGE=$${LOCAL_DOCKER_REGISTRY}squid
|
||||||
- docker login $${LOCAL_DOCKER_REGISTRY} --username client --password "$${LOCAL_REGISTRY_PASSWORD}"
|
- docker login $${LOCAL_DOCKER_REGISTRY} --username client --password "$${LOCAL_REGISTRY_PASSWORD}"
|
||||||
- docker pull $${SQUID_IMAGE}
|
- docker pull $${SQUID_IMAGE}
|
||||||
|
|
Loading…
Reference in New Issue