invario
11cae37405
make compatible with both yq versions
kislyuk yq (used by Debian packages) does not accept `yq e` and
also returns strings with double quotes.
mikefarah's yq-go (used by Alpine) accepts `yq e` and `yq`.
replace `yq e` with `yq` and also use `-r` switch to remove double
quoting to ensure uniform return values from both yq versions.
Signed-off-by: invario <67800603+invario@users.noreply.github.com>
1 week ago
tomo
61b59831c4
minor code style adjustments in multideploy script
4 months ago
Jacobo de Vera
96f38655b4
Use file descriptor 3 for main deployment loop
Before this, some deployment scripts would interact with STDIN and that would cause this loop to skip some elements. By using descriptor 3 we avoid clashing with the very common stdin and stdout.
4 months ago
Jacobo de Vera
ab7835ec58
Fix eval bug by quoting
Before this, the eval call would try to run some commands (if they were compound commands) in the yaml file on the machine running acme.sh
Eval might not be worth it for the little benefit it brings.
4 months ago
Jacobo de Vera
b8b1f1e9b4
Remove config logging when checking
Because it causes a mysterious crash and it's honestly not worth it.
4 months ago
Jacobo de Vera
6b66e734a9
Remove explicit save of the deployhook
acme.sh takes care of that
4 months ago
Jacobo de Vera
4f0a4850a6
Remove unnecessary resetting of IFS
4 months ago
Jacobo de Vera
8a78865174
Quote paths to prevent word splitting
4 months ago
Jacobo de Vera
69dd2cf78b
Explain _clear_envs rationale
4 months ago
Jacobo de Vera
a961e03a59
Explain the use of eval
4 months ago
Jacobo de Vera
1eee4dee9c
Update dependency name from yq to yq-go
4 months ago
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.
4 months ago
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.
4 months ago
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.
4 months ago
tomo
d375012c5d
fixed yml file env list
6 months ago
tomo
37c25aa107
removed unneeded return value
7 months ago
tomo
7b16526e7f
removed dead code
7 months ago
tomo
093f36b4d6
implemented exiting with the number of failed deployments
7 months ago
tomo
e5b47f6402
implemented exiting with 1 if at least one deployment fails
7 months ago
tomo
a55d40be97
fixed bug with envs due to the use of a wrong function
7 months ago
tomo
c1c49d5a01
simplified deploy method
9 months ago
tomo
88e4d64c1a
fixed IFS problems for some hooks
9 months ago
tomo
17e0bbcbb6
fixed formatting
9 months ago
tomo
95c7546051
removed configs and implemented specification of deploy file name
9 months ago
tomo
c1e17c366f
Update links in multideploy.sh
10 months ago
tomo
88cde7be6d
fixed missing wiki link
10 months ago
tomo
c16e059535
allowed using varaibles in deploy file
10 months ago
tomo
88d4637ee3
added header doc
10 months ago
tomo
74ed0354a3
added docs and enhanced log messages
10 months ago
tomo
2cc5e66517
added docs
10 months ago
tomo
ba7c368ee5
fixed IFS problems
10 months ago
tomo
768de270bf
improved preprocessing and fixed bug with wrong param of services
10 months ago
tomo
db1dc4de0d
added debug messages
10 months ago
tomo
fb0926dc81
implemented checking for different kinds of deploy file
10 months ago
tomo
34eb2a655a
added yq to dockerfile
10 months ago
tomo
23e1a53ec8
implemented deploying to services
10 months ago
tomo
67d58a12e7
implemented handling envs
10 months ago
tomo
0ed5e21232
fixed formatting and private var names
10 months ago
tomo
b2eb1d2bbc
refactored getting services
10 months ago
tomo
3c184486c3
fixed indents
10 months ago
tomo
5a730bf00d
implemented checking deploy file
10 months ago
neil
cbd5dae3b4
Merge pull request #6714 from xiagw/fix-ali-cdn-timestamp
fix: update timestamp variable for ali CDN and DCDN SSL certificate queries
2 days ago
xiagw
b9c877adb9
fix: update timestamp variable for CDN and DCDN SSL certificate queries
3 days ago
neil
d24c7e977e
Merge pull request #6697 from sergiustheblack/fix/strongswan
Fix strongswan deploy hook
4 days ago
neil
6a1ff1c0a6
Merge pull request #6710 from erfantkerfan/dev
improve: change sotoon api to v2.1 with simplification
4 days ago
Erfan Gholizade
383557df61
improve: change sotoon api to v2.1 with simplification
5 days ago
neil
dba4be8065
Merge pull request #6696 from taoso/dev
Support list IPv6 address certificate
6 days ago
neil
a670c07caf
Merge pull request #6692 from as-kholin/omglol_202512
Minor updates to the Omg.lol DNS API
7 days ago
neil
09cc2bdfa5
Merge pull request #6690 from flybyray/issue6688
inwx API change
7 days ago
neil
cc897cab4c
Merge pull request #6655 from hostup/dev
Add: Hostup DNS provider
1 week ago