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

Test the configure script in fedora #2109

Merged
merged 3 commits into from
Jul 31, 2023
Merged

Conversation

vmcj
Copy link
Member

@vmcj vmcj commented Jul 28, 2023

Fedora is the only flavour for Red Hat which we can support for judgehosts (due to the libcgroup development files). Testing this in every CI seems to be waste of time so only test in main or release branches.

This did uncover a typo and a bug where we don't detect the nginx group, a fix for both is added.

@@ -19,6 +34,9 @@ setup() {
for shared_file in config.log confdefs.h conftest.err; do
chmod a+rw $shared_file || true
done
if grep "fedora" /etc/os-release 2>/dev/zero >&2; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can use $disto_id here as well? And some places below

@vmcj vmcj force-pushed the configure_test_fedora branch 2 times, most recently from bc6de37 to a413a52 Compare July 28, 2023 23:05
@vmcj vmcj requested a review from nickygerritsen July 30, 2023 08:42
.github/jobs/configure-checks/all.bats Outdated Show resolved Hide resolved
vmcj added 3 commits July 31, 2023 08:19
We only test fedora as that is what is being used by atleast 1 site. Red
Hat {8,9} don't have cgroup-devel so already require more work for the
user so we don't test those.

Fedora uses another group for webservers
@vmcj vmcj merged commit 3d50afa into DOMjudge:main Jul 31, 2023
18 checks passed
@vmcj vmcj deleted the configure_test_fedora branch July 31, 2023 16:20
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