Skip to content

Enhancement: better Alpine compatibility#1064

Merged
tomjelinek merged 5 commits intoClusterLabs:mainfrom
statzitz:enhancement_alpine_build
Feb 9, 2026
Merged

Enhancement: better Alpine compatibility#1064
tomjelinek merged 5 commits intoClusterLabs:mainfrom
statzitz:enhancement_alpine_build

Conversation

@statzitz
Copy link
Copy Markdown
Contributor

@statzitz statzitz commented Jan 30, 2026

Related to #266

Implements the possibility to build pcs for Alpine linux/openrc. There are still lots of works to implements before being able to say pcs is compatible with openrc, but this is a starting point

  • Added Alpine's Ruby recognition by improving PCS_PKG_CHECK_VAR (needs review on that)
  • Formatted PCS_PKG_CHECK_VAR to match the rest of the file (use only tab instead of tab + space for indentation)
  • Removed the force systemd to also be able to build openrc (inspired partially by add support for openrc #498)
  • Added and repaired the openRC driver made in add support for openrc #498
  • Added alpine linux as a distribution similar to opencloudos to permits build

Please do not hesitate to tells me ways to improve my changes.

@statzitz statzitz requested a review from tomjelinek as a code owner January 30, 2026 14:02
@statzitz statzitz force-pushed the enhancement_alpine_build branch from fd604ef to d4fd44e Compare January 30, 2026 14:02
@knet-jenkins
Copy link
Copy Markdown

knet-jenkins Bot commented Jan 30, 2026

Can one of the project admins check and authorise this run please: https://ci.kronosnet.org/job/pcs/job/pcs-pipeline/job/PR-1064/2/input

@statzitz statzitz force-pushed the enhancement_alpine_build branch from d4fd44e to 31793f3 Compare January 30, 2026 14:05
@knet-jenkins
Copy link
Copy Markdown

knet-jenkins Bot commented Jan 30, 2026

Can one of the project admins check and authorise this run please: https://ci.kronosnet.org/job/pcs/job/pcs-pipeline/job/PR-1064/3/input

@statzitz statzitz marked this pull request as draft January 30, 2026 20:49
Related to ClusterLabs#266

Implements the possibility to build pcs for Alpine linux/openrc. There are still lots of works to implements, before being able to say pcs is compatible with openrc, but this is a starting point

- Added Alpine's Ruby recognition by improving PCS_PKG_CHECK_VAR (needs review on that)
- Formatted PCS_PKG_CHECK_VAR to match the rest of the file (use only tab instead of tab + space for indentation)
- Removed the force systemd to also be able to build openrc (inspired partially by ClusterLabs#498)
- Added alpine linux as a distribution similar to opencloudos to permits build

Please do not hesitate to tells me ways to improve my changes.
@statzitz statzitz force-pushed the enhancement_alpine_build branch from 31793f3 to b41a706 Compare January 31, 2026 13:43
@knet-jenkins
Copy link
Copy Markdown

knet-jenkins Bot commented Jan 31, 2026

Can one of the project admins check and authorise this run please: https://ci.kronosnet.org/job/pcs/job/pcs-pipeline/job/PR-1064/4/input

Comment thread configure.ac
@statzitz statzitz marked this pull request as ready for review January 31, 2026 13:49
@statzitz
Copy link
Copy Markdown
Contributor Author

I haven't added the tests made in #498 yet as they needs reworking

@knet-jenkins
Copy link
Copy Markdown

knet-jenkins Bot commented Feb 3, 2026

Can one of the project admins check and authorise this run please: https://ci.kronosnet.org/job/pcs/job/pcs-pipeline/job/PR-1064/5/input

Copy link
Copy Markdown
Member

@tomjelinek tomjelinek left a comment

Choose a reason for hiding this comment

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

Hi statzitz,

Thank you for the pull request. In general, it looks good to me. However, there are a few points I'd like to resolve before merging it. Except comments in the code, there are also missing tests for OpenRcDriver class.

Once CI is ready, I'll get the pull request tested.

Comment thread configure.ac
Comment thread configure.ac
@knet-jenkins
Copy link
Copy Markdown

knet-jenkins Bot commented Feb 3, 2026

Can one of the project admins check and authorise this run please: https://ci.kronosnet.org/job/pcs/job/pcs-pipeline/job/PR-1064/6/input

They are the ones proposed in ClusterLabs#498, but with some rework so that they
pass again
@knet-jenkins
Copy link
Copy Markdown

knet-jenkins Bot commented Feb 3, 2026

Can one of the project admins check and authorise this run please: https://ci.kronosnet.org/job/pcs/job/pcs-pipeline/job/PR-1064/7/input

@statzitz
Copy link
Copy Markdown
Contributor Author

statzitz commented Feb 3, 2026

I just added the tests :)

@statzitz statzitz requested a review from tomjelinek February 3, 2026 22:41
@knet-jenkins
Copy link
Copy Markdown

knet-jenkins Bot commented Feb 6, 2026

Can one of the project admins check and authorise this run please: https://ci.kronosnet.org/job/pcs/job/pcs-pipeline/job/PR-1064/8/input

Copy link
Copy Markdown
Member

@tomjelinek tomjelinek left a comment

Choose a reason for hiding this comment

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

Thanks, looks good to me. We're still waiting for CI issues to get resolved.

@tomjelinek tomjelinek merged commit 17e12a3 into ClusterLabs:main Feb 9, 2026
1 check passed
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