Commit Graph

32 Commits

Author SHA1 Message Date
56f74786aa
ci: fix custom flags tests, add different image values
All checks were successful
development / Check commit compliance (push) Successful in 4s
test / Retrieve Credentials (pull_request) Successful in 1s
pull-requests-open / Check commit compliance (pull_request) Successful in 5s
test / end_to_end_role (default, debian11) (pull_request) Successful in 38s
test / end_to_end_role (default, debian12) (pull_request) Successful in 38s
test / end_to_end_role (default, ubuntu2004) (pull_request) Successful in 39s
test / end_to_end_role (default, ubuntu2204) (pull_request) Successful in 38s
test / end_to_end_role (with_custom_flags, debian11) (pull_request) Successful in 38s
test / end_to_end_role (default, ubuntu2404) (pull_request) Successful in 39s
test / end_to_end_role (with_custom_flags, debian12) (pull_request) Successful in 38s
test / end_to_end_role (with_custom_flags, ubuntu2004) (pull_request) Successful in 39s
test / end_to_end_role (with_custom_flags, ubuntu2204) (pull_request) Successful in 38s
test / end_to_end_role (with_custom_flags, ubuntu2404) (pull_request) Successful in 39s
2024-11-09 14:06:07 +01:00
ffbb6157ef
feat: only allow starting and managing running services.
All checks were successful
test / Retrieve Credentials (pull_request) Successful in 2s
development / Check commit compliance (push) Successful in 5s
pull-requests-open / Check commit compliance (pull_request) Successful in 5s
test / end_to_end_role (default, debian11) (pull_request) Successful in 39s
test / end_to_end_role (default, debian12) (pull_request) Successful in 40s
test / end_to_end_role (default, ubuntu2004) (pull_request) Successful in 40s
test / end_to_end_role (default, ubuntu2204) (pull_request) Successful in 39s
test / end_to_end_role (with_custom_flags, debian11) (pull_request) Successful in 37s
test / end_to_end_role (default, ubuntu2404) (pull_request) Successful in 39s
test / end_to_end_role (with_custom_flags, ubuntu2204) (pull_request) Successful in 38s
test / end_to_end_role (with_custom_flags, debian12) (pull_request) Successful in 39s
test / end_to_end_role (with_custom_flags, ubuntu2004) (pull_request) Successful in 39s
test / end_to_end_role (with_custom_flags, ubuntu2404) (pull_request) Successful in 38s
destroying/removing services should be handled separately, most likely by
the end user's custom code, to avoid data loss, etc...
2024-11-09 13:24:14 +01:00
cbde72a17f
fix: typo in install.yml file
Some checks failed
test / Retrieve Credentials (pull_request) Successful in 2s
development / Check commit compliance (push) Successful in 4s
pull-requests-open / Check commit compliance (pull_request) Successful in 5s
test / end_to_end_role (default, debian11) (pull_request) Failing after 30s
test / end_to_end_role (default, debian12) (pull_request) Failing after 31s
test / end_to_end_role (default, ubuntu2004) (pull_request) Failing after 30s
test / end_to_end_role (default, ubuntu2204) (pull_request) Failing after 56s
test / end_to_end_role (with_custom_flags, debian11) (pull_request) Failing after 56s
test / end_to_end_role (default, ubuntu2404) (pull_request) Failing after 56s
test / end_to_end_role (with_custom_flags, debian12) (pull_request) Failing after 30s
test / end_to_end_role (with_custom_flags, ubuntu2004) (pull_request) Failing after 30s
test / end_to_end_role (with_custom_flags, ubuntu2204) (pull_request) Failing after 30s
test / end_to_end_role (with_custom_flags, ubuntu2404) (pull_request) Failing after 30s
2024-11-09 11:08:56 +01:00
6e2f47acce
chore: pre-commit fixes
Some checks failed
test / Retrieve Credentials (pull_request) Successful in 2s
pull-requests-open / Check commit compliance (pull_request) Successful in 5s
development / Check commit compliance (push) Successful in 23s
test / end_to_end_role (default, debian11) (pull_request) Failing after 28s
test / end_to_end_role (default, debian12) (pull_request) Failing after 27s
test / end_to_end_role (default, ubuntu2004) (pull_request) Failing after 27s
test / end_to_end_role (default, ubuntu2204) (pull_request) Failing after 27s
test / end_to_end_role (with_custom_flags, debian11) (pull_request) Failing after 26s
test / end_to_end_role (default, ubuntu2404) (pull_request) Failing after 42s
test / end_to_end_role (with_custom_flags, ubuntu2004) (pull_request) Failing after 26s
test / end_to_end_role (with_custom_flags, debian12) (pull_request) Failing after 42s
test / end_to_end_role (with_custom_flags, ubuntu2204) (pull_request) Failing after 28s
test / end_to_end_role (with_custom_flags, ubuntu2404) (pull_request) Failing after 26s
2024-11-09 11:04:34 +01:00
f39e1f95d0
fix: handlers running in unpredictable ways
this patch adds support for in-role management of reload and restarts of the systemd service
it also adds support for ubuntu 24
2024-11-09 11:04:13 +01:00
fee75fb57c
ci: remove old test action in favor of new template one
All checks were successful
development / Check commit compliance (push) Successful in 27s
test / Retrieve Credentials (pull_request) Successful in 1s
pull-requests-open / Check commit compliance (pull_request) Successful in 5s
test / end_to_end_role (default, debian11) (pull_request) Successful in 36s
test / end_to_end_role (default, debian12) (pull_request) Successful in 55s
test / end_to_end_role (default, ubuntu2204) (pull_request) Successful in 36s
test / end_to_end_role (default, ubuntu2004) (pull_request) Successful in 1m7s
test / end_to_end_role (with_custom_flags, debian11) (pull_request) Successful in 35s
test / end_to_end_role (with_custom_flags, debian12) (pull_request) Successful in 36s
test / end_to_end_role (default, ubuntu2404) (pull_request) Successful in 57s
test / end_to_end_role (with_custom_flags, ubuntu2004) (pull_request) Successful in 36s
test / end_to_end_role (with_custom_flags, ubuntu2404) (pull_request) Successful in 36s
test / end_to_end_role (with_custom_flags, ubuntu2204) (pull_request) Successful in 56s
2024-11-09 10:52:39 +01:00
b82426201d
ci: add full gitea workflow and remove github actions steps
All checks were successful
development / Check commit compliance (push) Successful in 26s
test / Linting (push) Successful in 1m3s
test / Molecule tests (default, ubuntu2004) (push) Successful in 52s
test / Molecule tests (default, ubuntu2204) (push) Successful in 52s
test / Molecule tests (default, debian12) (push) Successful in 2m21s
test / Molecule tests (default, debian11) (push) Successful in 2m38s
test / Molecule tests (with_custom_flags, debian11) (push) Successful in 51s
test / Molecule tests (with_custom_flags, debian12) (push) Successful in 36s
test / Molecule tests (with_custom_flags, ubuntu2204) (push) Successful in 36s
test / Molecule tests (with_custom_flags, ubuntu2004) (push) Successful in 51s
2024-11-09 10:50:51 +01:00
8a600d3c47
chore: add precommit hooks and commitizen config 2024-11-09 10:49:36 +01:00
d5af8a6886 feat(core): change namespace
All checks were successful
test / Linting (push) Successful in 10s
test / Molecule tests (default, debian11) (push) Successful in 46s
test / Molecule tests (default, ubuntu2204) (push) Successful in 46s
test / Molecule tests (default, debian12) (push) Successful in 52s
test / Molecule tests (with_custom_flags, ubuntu2004) (push) Successful in 1m3s
test / Molecule tests (with_custom_flags, ubuntu2204) (push) Successful in 32s
test / Molecule tests (with_custom_flags, debian12) (push) Successful in 33s
test / Molecule tests (default, ubuntu2004) (push) Successful in 32s
test / Molecule tests (with_custom_flags, debian11) (push) Successful in 31s
2024-02-05 22:38:49 +01:00
19cd4d1841 feat(sample): added sample file in defaults/
All checks were successful
test / Linting (push) Successful in 10s
test / Molecule tests (default, debian11) (push) Successful in 59s
test / Molecule tests (default, ubuntu2004) (push) Successful in 38s
test / Molecule tests (default, debian12) (push) Successful in 54s
test / Molecule tests (with_custom_flags, debian11) (push) Successful in 31s
test / Molecule tests (default, ubuntu2204) (push) Successful in 53s
test / Molecule tests (with_custom_flags, debian12) (push) Successful in 39s
test / Molecule tests (with_custom_flags, ubuntu2204) (push) Successful in 33s
test / Molecule tests (with_custom_flags, ubuntu2004) (push) Successful in 52s
2023-12-15 14:45:34 +01:00
1d71409b22 feat(template): do not print new lines if value of flag is None
All checks were successful
test / Linting (push) Successful in 37s
test / Molecule tests (default, ubuntu2004) (push) Successful in 50s
test / Molecule tests (default, debian11) (push) Successful in 1m22s
test / Molecule tests (default, debian12) (push) Successful in 1m23s
test / Molecule tests (with_custom_flags, debian11) (push) Successful in 34s
test / Molecule tests (with_custom_flags, debian12) (push) Successful in 32s
test / Molecule tests (default, ubuntu2204) (push) Successful in 59s
test / Molecule tests (with_custom_flags, ubuntu2204) (push) Successful in 53s
test / Molecule tests (with_custom_flags, ubuntu2004) (push) Successful in 59s
2023-12-11 23:45:31 +01:00
670cc6529f feat(cicd): add publish job
All checks were successful
test / Linting (push) Successful in 10s
test / Molecule tests (default, debian12) (push) Successful in 34s
test / Molecule tests (default, ubuntu2004) (push) Successful in 32s
test / Molecule tests (default, debian11) (push) Successful in 49s
test / Molecule tests (with_custom_flags, debian11) (push) Successful in 32s
test / Molecule tests (default, ubuntu2204) (push) Successful in 39s
test / Molecule tests (with_custom_flags, debian12) (push) Successful in 39s
test / Molecule tests (with_custom_flags, ubuntu2004) (push) Successful in 33s
test / Molecule tests (with_custom_flags, ubuntu2204) (push) Successful in 42s
2023-12-10 19:41:22 +01:00
2efc8bf638 Merge pull request 'support all docker arguments' (#2) from feature/support-all-docker-args into main
All checks were successful
test / Linting (push) Successful in 10s
test / Molecule tests (default, debian11) (push) Successful in 33s
test / Molecule tests (default, debian12) (push) Successful in 33s
test / Molecule tests (default, ubuntu2004) (push) Successful in 40s
test / Molecule tests (default, ubuntu2204) (push) Successful in 33s
test / Molecule tests (with_custom_flags, debian11) (push) Successful in 32s
test / Molecule tests (with_custom_flags, debian12) (push) Successful in 34s
test / Molecule tests (with_custom_flags, ubuntu2004) (push) Successful in 32s
test / Molecule tests (with_custom_flags, ubuntu2204) (push) Successful in 59s
Reviewed-on: #2
2023-12-10 18:09:48 +00:00
4b1ea01f3b fix: change test scenario names in CICD
All checks were successful
test / Linting (push) Successful in 10s
test / Molecule tests (default, ubuntu2004) (push) Successful in 1m10s
test / Molecule tests (default, debian12) (push) Successful in 1m13s
test / Molecule tests (default, debian11) (push) Successful in 1m19s
test / Molecule tests (with_custom_flags, debian11) (push) Successful in 31s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m0s
test / Molecule tests (with_custom_flags, debian12) (push) Successful in 1m9s
test / Molecule tests (with_custom_flags, ubuntu2004) (push) Successful in 53s
test / Molecule tests (with_custom_flags, ubuntu2204) (push) Successful in 34s
2023-12-10 18:50:18 +01:00
e25f838a8d feat(cicd): add unit testing jobs
Some checks failed
test / Linting (push) Successful in 8s
test / Molecule tests (default, debian11) (push) Successful in 49s
test / Molecule tests (default, ubuntu2004) (push) Successful in 1m17s
test / Molecule tests (with_custom_config, debian11) (push) Failing after 3s
test / Molecule tests (default, debian12) (push) Successful in 1m23s
test / Molecule tests (with_custom_config, debian12) (push) Failing after 3s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Failing after 3s
test / Molecule tests (default, ubuntu2204) (push) Successful in 54s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Failing after 2s
2023-12-10 18:26:53 +01:00
9b6bf1684e feat(tests): added custom tests for both vagrant and docker
All checks were successful
test / Linting (push) Successful in 10s
2023-12-10 18:25:43 +01:00
f813944d74 feat(tests): add testing for the default values on both docker and vagrant
All checks were successful
test / Linting (push) Successful in 34s
2023-12-10 17:32:52 +01:00
d15bce04de feat(readme): update documentation on variables
All checks were successful
test / Linting (push) Successful in 9s
2023-12-09 19:47:00 +01:00
562fc0215e feat(template): move flag formatting to filter_plugin
All checks were successful
test / Linting (push) Successful in 8s
2023-12-09 18:36:25 +01:00
b466741102 feat(template): test the type of data against list to enable passing integers or strings or lists
All checks were successful
test / Linting (push) Successful in 9s
2023-12-09 18:20:54 +01:00
2c275b9f1c feat(template): add support for simple string flags
All checks were successful
test / Linting (push) Successful in 9s
2023-12-09 17:47:35 +01:00
84aac3e716 feat(readme): credits mhutter for original material
All checks were successful
test / Linting (push) Successful in 6s
2023-12-09 16:48:02 +01:00
4725483303 feat(template): add support for passing all docker run arguments
All checks were successful
test / Linting (push) Successful in 9s
2023-12-09 16:46:13 +01:00
b96cebd586 fix: wrong link in readme
All checks were successful
test / Linting (push) Successful in 7s
2023-12-05 22:38:31 +01:00
38f76b268c feat(readme): add requirements for docker being installed
All checks were successful
test / Linting (push) Successful in 9s
2023-12-05 22:36:03 +01:00
289d5b4c69 fix: linting
All checks were successful
test / Linting (push) Successful in 9s
2023-12-05 22:25:11 +01:00
3d3ef70dba feat(ci): add linting job
Some checks failed
test / Linting (push) Failing after 28s
2023-12-05 22:17:12 +01:00
bf707ca497 feat(readme): added description for all variables 2023-12-05 20:29:37 +01:00
8fe2351ebc feat(molecule): add default and default_vagrant tests 2023-12-05 19:23:38 +01:00
769b07c814 feat: make everything mostly work 2023-12-04 23:10:02 +01:00
1c1a301bec feat: simple copy from mhutter role 2023-12-03 22:56:21 +01:00
Ansible Roles
caf3780f73 Initial commit 2023-12-03 14:39:24 +00:00