61 Commits

Author SHA1 Message Date
0ed35c1a0d
fix: if they're not missing, run this 2022-01-05 11:49:44 +01:00
3fde5ef21a
attempt to support private registries 2022-01-04 14:49:01 +01:00
decentral1se
3fb617a797
Support removing a stack before deploying
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing
2021-06-05 08:33:03 +02:00
3wc
6db9058c62 Make sure we wait for stack on the right host
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-28 00:42:49 +02:00
3wc
cc16850b1c Whoops, don't deploy the stack locally 🤦
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-27 21:56:08 +02:00
3wc
9f9d4bafe9 Wait for newly-created networks before continuing
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-27 21:52:50 +02:00
3wc
19df46692f Split PLUGIN_NETWORKS
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-27 21:46:21 +02:00
3wc
0376ea7376 Debug PLUGIN_NETWORKS
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-27 21:38:39 +02:00
3wc
9ebb6d0995 Sorry, shellcheck! 🐢😳
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-27 21:35:02 +02:00
3wc
d4ea740256 Add create_networks
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-27 19:57:41 +02:00
3wc
ed773e37f0 Fix crash on missing run_cleanup
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-27 13:25:01 +02:00
6f125529b1
Merge branch 'main' of ssh://git.autonomic.zone:2222/autonomic-cooperative/stack-ssh-deploy into main
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-27 08:07:25 +02:00
2ceca40aa5
Only cleanup if were purging also 2020-09-27 08:07:13 +02:00
3wc
f57f7b2a8c Better approach: only run cleanup during purge
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-26 16:14:45 +02:00
3wc
314d9dd611 Revert "Set DOCKER_HOST to try and prevent hang"
This reverts commit 061f8e8732c536d2c720820b0441d21033f100ae.
2020-09-26 16:13:47 +02:00
3wc
061f8e8732 Set DOCKER_HOST to try and prevent hang
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-26 16:02:20 +02:00
3wc
1c43771400 Fix docker argument order
All checks were successful
continuous-integration/drone/push Build is passing
Fixes #5
2020-09-26 00:24:21 +02:00
3wc
e9cf7313bf Tweak nuclear destroy-all-secrets command
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 23:47:30 +02:00
1dfa801dcb
Appease formatter
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 21:02:52 +02:00
3wc
904c475947 Tidy up secret generation
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 20:55:30 +02:00
49bf48039b
Skip errors
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 20:53:51 +02:00
3wc
7d1031c7e0 Set SECRET using eval
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 20:53:09 +02:00
3wc
661a65caae Attempt to bypass gitea crash
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 20:51:19 +02:00
3wc
1206a21e8f Debugging 2020-09-25 20:50:54 +02:00
3wc
639cc19e42 Appease shellcheck
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 20:48:33 +02:00
3wc
4c5c73ec15 Skip instead of remove existing secrets
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-25 20:47:35 +02:00
fc822929e3
Fix secret removal
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 20:43:27 +02:00
2be8874db1
Move secret cleanup to cleanup area
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 20:40:51 +02:00
6aa9183e19
Just completely trash all the secrets fuck it
Nah, we're not using --force, we're good.
2020-09-25 20:40:11 +02:00
3wc
1fb6799b10 Delete secrets if using generate_secrets
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 20:38:51 +02:00
d9b0724a19
Wait before cleaning and add TODO
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 20:35:27 +02:00
3wc
cd8ef52860 Set DOCKER_HOST before creating secrets
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 20:32:04 +02:00
feba68f11e
Separate purge/cleanup and try sleep hack
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 20:29:24 +02:00
ed714f8cf5
Add missing sub-command
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 20:22:48 +02:00
03b745083c
Load deploy keys first
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 20:21:19 +02:00
7631f09aa6
Re-work DOCKER_HOST usage
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 20:19:10 +02:00
88d595019d
Separate version output and add purging
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 20:06:00 +02:00
0df62ef7c5
Drop onto multiple lines 2020-09-25 20:06:00 +02:00
d776a4a29e
Add ssh key loading debugging 2020-09-25 20:06:00 +02:00
efa7f00320
Use global DOCKER_HOST 2020-09-25 20:05:59 +02:00
a62a8a1432
Appease formatter 2020-09-25 20:05:59 +02:00
3wc
3ff306e037 Download yq instead of running it via docker
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 19:51:30 +02:00
3wc
6c3aa39a76 Show yq container contents to debug missing file
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 19:31:21 +02:00
3wc
a8042ded33 Add generate_secrets functionality
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 19:26:21 +02:00
3wc
29898dda53 Remove bash -x option
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 16:20:05 +02:00
3wc
171b627e0a Wait for success using docker-stack-wait-deploy
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 16:11:48 +02:00
3wc
d5ea15ccb2 Revert "REVERT ME debugging private key (!!) output"
All checks were successful
continuous-integration/drone/push Build is passing
This reverts commit 16f1e2daa567827a5a948f47704a73cf7c94b577.
2020-09-25 14:37:17 +02:00
3wc
16f1e2daa5 REVERT ME debugging private key (!!) output
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 14:33:22 +02:00
c6d103176c
Appease shellcheck
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-25 12:44:00 +02:00
7d10f3d193
Capture errors via bash -e flag 2020-09-25 12:43:54 +02:00