a6ed047765
CLI: Fix playbook output freeze by removing capture_output
...
The deploy wrapper previously used subprocess.run(..., capture_output=True),
which buffered all Ansible output until the playbook finished.
This made the CLI appear stuck at 'Launching Ansible Playbook…'.
Switching to subprocess.run(cmd) restores live streaming of Ansible output.
Details: https://chatgpt.com/share/693008b4-b7b0-800f-bd35-5a307a76fc59
2025-12-03 10:54:31 +01:00
46174125bc
Refine deploy CLI, test-deploy workflow and Ansible output
...
Changes:
- Update GitHub Actions test-deploy workflow to run three staged deploys (normal+debug, reset+debug, async) using inventory-generated vault password files.
- Switch Ansible stdout_callback to ansible.builtin.default and enable YAML-style result_format via callback_default.
- Refactor cli/deploy.py: typed run_ansible_playbook(), structured MODE_* handling, better error reporting, and preserved vault/interactive behaviour.
- Add unit tests for deploy CLI (bool parsing, MODE_* loading, dynamic args, validation, and ansible-playbook command construction) under tests/unit/cli/test_deploy.py.
Context: see ChatGPT conversation on 2025-12-02: https://chatgpt.com/share/692f1035-6bc4-800f-91a9-342db54e1a75
2025-12-02 20:25:26 +01:00
1129b943fc
Added --diff option for deploy to check file differences
2025-11-29 13:31:48 +01:00
61772d5916
Solved testing mode bug
2025-09-19 11:18:29 +02:00
7e5990aa16
deploy(cli): auto-generate MODE_* flags from 01_modes.yml; remove legacy skip flags/params; drive cleanup via MODE_CLEANUP; validation via MODE_ASSERT; tests via MODE_TEST; drop MODE_BACKUP from 01_modes.yml. Ref: https://chatgpt.com/share/68c3725f-43a0-800f-9bb0-eb7cbf77ac24
2025-09-12 03:08:18 +02:00
06baa4b03a
Added correct validation handling
2025-08-27 18:10:49 +02:00
db0e030900
Renamed general and mode constants and implemented a check to verify that constants are just defined ones over the whole repository
2025-08-13 19:11:14 +02:00
2fd83eaf55
Keep logs during deploy cleanup
2025-08-10 12:01:34 +02:00
44e0fea0b2
Renamed cymais to infinito and did some other optimations and logout implementations
2025-07-29 16:35:42 +02:00
c1da74de3f
Optimized sound for cli
2025-07-18 14:43:09 +02:00
0f1f40f2e0
Optimized deployment script
2025-07-18 11:42:05 +02:00
562603a8cd
Restructured libraries
2025-07-17 16:38:20 +02:00
f4d1f2a303
Added partial test and skip-build flag
2025-07-16 22:16:22 +02:00
ac72544b72
Added validation for deploy application ids
2025-07-14 09:52:53 +02:00
abd2545346
Solved validation import bug
2025-07-12 10:20:30 +02:00
60ab31c623
Optimized inventory validation
2025-07-11 02:03:33 +02:00
6e32b20240
Finished new role identification system implementation
2025-07-11 00:42:36 +02:00
c160c58a5c
Restructured CLI logic
2025-07-10 21:26:44 +02:00
5adcc5b931
Moved build before validation, because otherwise it will fail
2025-07-09 16:23:58 +02:00
0347d238c2
Great docker refactoring
2025-07-06 18:53:45 +02:00
7950a3f517
Solved minor bugs
2025-07-04 21:59:57 +02:00
52f467c15c
Added application ids filter for easier partial deployment
2025-07-04 21:52:37 +02:00
a9f55579a2
Reorgenized test structure and added validation of inventory before deployment
2025-07-04 01:14:00 +02:00
24cd75ac26
Solved different bugs e.g. csp and optimized deploy help
2025-06-04 19:50:11 +02:00
aacc6877cb
General Optimations
2025-05-28 02:42:39 +02:00
02137576bd
Optimized CLI
2025-05-16 12:12:17 +02:00