Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tasks: Install dbus-daemon and valgrind, move config and secret setup to separate script #572

Merged
merged 4 commits into from
Feb 14, 2024

Conversation

martinpitt
Copy link
Member

No description provided.

These are necessary for running cockpit's unit tests. This is useful for
human developers, and also paves the way for moving the unit test CI run
to the tasks container.
jelly
jelly previously approved these changes Feb 13, 2024
This has tripped me up time and again when `podman exec`'ing into a
container, as in that shell the variable wouldn't be set.

This also helps with moving the initialization to a separate script.
This paves the way for using the tasks containter in "single job" mode
without the `cockpit-tasks` mainloop.
We want to run cockpit's unit tests in the tasks container. They require
the current user to have an /etc/passwd entry, and the tests to not run
as root. GitHub workflows run as UID 1001, so add a user for that.
@martinpitt
Copy link
Member Author

@jelly I made a boo-boo, which caused npm install to fail in our bots. Fixed now, and deployed. I'll restart the failed image refresh tests.

@martinpitt martinpitt requested a review from jelly February 14, 2024 09:12
@martinpitt martinpitt merged commit 319b98f into main Feb 14, 2024
3 checks passed
@martinpitt martinpitt deleted the tasks branch February 14, 2024 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants