Commit Graph

34 Commits

Author SHA1 Message Date
Jacobo de Vera
6b66e734a9 Remove explicit save of the deployhook
acme.sh takes care of that
2025-12-27 11:02:40 +01:00
Jacobo de Vera
4f0a4850a6 Remove unnecessary resetting of IFS 2025-12-27 11:02:40 +01:00
Jacobo de Vera
8a78865174 Quote paths to prevent word splitting 2025-12-27 11:02:40 +01:00
Jacobo de Vera
69dd2cf78b Explain _clear_envs rationale 2025-12-27 11:02:40 +01:00
Jacobo de Vera
a961e03a59 Explain the use of eval 2025-12-27 11:02:40 +01:00
Jacobo de Vera
1d8788767f Make failure to check file stop the deployment
Before this, checker issues were only logged. This stops the deployment if any configuration is incorrect.
2025-12-27 11:02:40 +01:00
Jacobo de Vera
986a6138eb Fix config file checks
The config file checks were returning okay even when there were errors. The yq tool returns "null" when it cannot find what's queried, but exists with a 0 rc still.
2025-12-27 11:02:40 +01:00
Jacobo de Vera
f850e8d0e4 Support spaces in service names
- Prefer using a pipe to `while read`
- But use a temp file when the loop needs to modify variables that need to be used outside the loop, as the pipe creates a subshell and modifications do not survive after the loop exits.
2025-12-27 11:02:40 +01:00
tomo
d375012c5d fixed yml file env list 2025-12-27 11:02:40 +01:00
tomo
37c25aa107 removed unneeded return value 2025-12-27 11:02:40 +01:00
tomo
7b16526e7f removed dead code 2025-12-27 11:02:40 +01:00
tomo
093f36b4d6 implemented exiting with the number of failed deployments 2025-12-27 11:02:40 +01:00
tomo
e5b47f6402 implemented exiting with 1 if at least one deployment fails 2025-12-27 11:02:40 +01:00
tomo
a55d40be97 fixed bug with envs due to the use of a wrong function 2025-12-27 11:02:40 +01:00
tomo
c1c49d5a01 simplified deploy method 2025-12-27 11:02:40 +01:00
tomo
88e4d64c1a fixed IFS problems for some hooks 2025-12-27 11:02:40 +01:00
tomo
17e0bbcbb6 fixed formatting 2025-12-27 11:02:40 +01:00
tomo
95c7546051 removed configs and implemented specification of deploy file name 2025-12-27 11:02:40 +01:00
tomo
c1e17c366f Update links in multideploy.sh 2025-12-27 11:02:40 +01:00
tomo
88cde7be6d fixed missing wiki link 2025-12-27 11:02:40 +01:00
tomo
c16e059535 allowed using varaibles in deploy file 2025-12-27 11:02:40 +01:00
tomo
88d4637ee3 added header doc 2025-12-27 11:02:40 +01:00
tomo
74ed0354a3 added docs and enhanced log messages 2025-12-27 11:02:40 +01:00
tomo
2cc5e66517 added docs 2025-12-27 11:02:40 +01:00
tomo
ba7c368ee5 fixed IFS problems 2025-12-27 11:02:40 +01:00
tomo
768de270bf improved preprocessing and fixed bug with wrong param of services 2025-12-27 11:02:40 +01:00
tomo
db1dc4de0d added debug messages 2025-12-27 11:02:40 +01:00
tomo
fb0926dc81 implemented checking for different kinds of deploy file 2025-12-27 11:02:40 +01:00
tomo
23e1a53ec8 implemented deploying to services 2025-12-27 11:02:40 +01:00
tomo
67d58a12e7 implemented handling envs 2025-12-27 11:02:40 +01:00
tomo
0ed5e21232 fixed formatting and private var names 2025-12-27 11:02:40 +01:00
tomo
b2eb1d2bbc refactored getting services 2025-12-27 11:02:40 +01:00
tomo
3c184486c3 fixed indents 2025-12-27 11:02:40 +01:00
tomo
5a730bf00d implemented checking deploy file 2025-12-27 11:02:40 +01:00