Commit graph

15 commits

Author SHA1 Message Date
9c1fa801e0 feat: add compose-opts configuration option
- add new configuration option `compose-opts` to define additional parameters
- update `README.md` to include `compose-opts` in Configuration Options

🤖
2023-12-20 14:49:48 +01:00
72611fe619 refactor: move helper functions to separate module
🤖
2023-12-20 14:10:01 +01:00
7ca3da52d9 refactor: move git repo handling to function
- move git repo update logic into a separate function
- add error handling for each step in the update process
- return early if any step in the update process fails
- call the new function in the main loop for each stack

🤖
2023-12-20 14:10:01 +01:00
8388362701 refactor: move subprocess calls to function
- extract subprocess execution into a separate function
- replace direct subprocess calls with function calls

🤖
2023-12-20 14:10:01 +01:00
55d00d1b08 doc: update README with configuration options
- add section for configuration options
- explain each configuration option in detail
- provide examples for each configuration option

🤖
2023-12-20 14:10:01 +01:00
4ee278dd86 feat: add pre and post commands support
- add pre-command execution before running docker compose
- add post-command execution after running docker compose
- update config.yml.example to include pre and post commands

🤖
2023-12-20 14:10:01 +01:00
18cce050e2 fix: exec docker compose in stackdir 2023-12-20 14:10:01 +01:00
5640899198 feat: add configurable log level 2023-12-20 14:10:01 +01:00
ef0620ee41 feat: replace shell script with python implementation
- add requirements.txt
- allow disabling a stack
- update config example
- update README
2023-12-20 14:09:58 +01:00
77a3ae1ed6 fix: handle git fetch/pull failure
- continue if `git fetch` or `git pull` fails
2023-12-18 22:19:18 +01:00
208eed8048 fix(dc-ops): ensure proper quoting in script
- Quote variables in `dirname` to prevent word splitting
- Use quotes around `$LINE` in `grep` to handle spaces
- Quote `cd` paths to handle directories with spaces
- Quote `docker compose` file argument to handle file names with spaces
🤖
2023-12-18 10:58:13 +01:00
5eecfcb2e7 fix: suppress error on missing stackfile 2023-12-17 19:23:38 +01:00
203626f7e2 doc: update usage instructions
- replace vague instructions with specific command examples
- clarify the use of `stacklist` file

🤖
2023-12-15 22:55:21 +01:00
41d3d04fe7 feat: enhance stacklist handling
- add support for passing stacklist as cli parameters
- refactor iteration over stacklist entries
- improve comments for better code understanding
- update README.md

🤖
2023-12-15 22:55:21 +01:00
813e203e35 Genesis 2023-12-15 20:58:36 +01:00