Skip to content

Run tidy_images in CI workflows#87

Merged
jose-caballero merged 8 commits into
mainfrom
test_tidy_image
Dec 4, 2025
Merged

Run tidy_images in CI workflows#87
jose-caballero merged 8 commits into
mainfrom
test_tidy_image

Conversation

@khalford
Copy link
Copy Markdown
Member

@khalford khalford commented Dec 3, 2025

We should run the tidy_image role in CI workflow to test it works.
Includes fixes for all the tasks that don't and won't work on containers

@khalford khalford requested a review from a team as a code owner December 3, 2025 15:22
@khalford khalford requested review from azahmd and dev-0pz December 3, 2025 15:22
We should run the tidy_image role in CI workflow to test it works. We do this by not running the reboot task as we cannot reboot localhost
Locales are not present on the containers we use to test the playbooks.
Although these usually come by default on our OS images we should add
them to make sure they are.
@khalford khalford self-assigned this Dec 4, 2025
@khalford khalford added the bug Something isn't working label Dec 4, 2025
@khalford khalford force-pushed the test_tidy_image branch 2 times, most recently from ef3d5e4 to 85cdcba Compare December 4, 2025 11:48
Add a when to this block of tasks to not run on containers as they do
not use systemd which localectl relies on and wazuh.
Removing sudo fron tasks as it is not installed on containers. We should
rely on become for privilege escalation
Add ignore errors to this task as clearing the file is the same as it
not existing.
Add trace to the bash scripts so we can debug better.
We don't need to run the update keys script in tidy role as we already
copy the keys and set up a cron job in vm_baseline
Add a GitHub PAT to increase the rate limit threshold for doing packer
init as it makes requests to github.
@jose-caballero jose-caballero merged commit a6a5527 into main Dec 4, 2025
16 checks passed
@jose-caballero jose-caballero deleted the test_tidy_image branch December 4, 2025 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants