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

Add support for openEuler OS (24.03 LTS) #546

Merged
merged 7 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/build-centos.pip-based.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ jobs:
runner: ubuntu-24.04
nogalera: false

- image: docker.io/openeuler/openeuler:24.03-lts
platforms: linux/amd64, linux/arm64/v8
tag: oe2403
nogalera: true

uses: ./.github/workflows/bbw_build_container_template.yml
with:
dockerfile: centos.Dockerfile pip.Dockerfile
Expand Down
19 changes: 14 additions & 5 deletions ci_build_images/centos.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,25 @@ RUN dnf -y install 'dnf-command(config-manager)' \
extra="python3-pip"; \
;; \
*) \
dnf -y --enablerepo=extras install epel-release; \
dnf config-manager --set-enabled powertools; \
dnf -y module enable mariadb-devel; \
extra="buildbot-worker"; \
if [ "$ID" == "openEuler" ]; then \
extra="python3-pip"; \
else \
dnf -y --enablerepo=extras install epel-release; \
dnf config-manager --set-enabled powertools; \
dnf -y module enable mariadb-devel; \
extra="buildbot-worker"; \
fi \
;; \
esac \
&& case "$ID" in \
"centos") \
ID=centos-stream; \
;; \
"openEuler") \
ID=openeuler; \
# VERSION_ID has leading -, except on centos-stream
VERSION_ID=-${VERSION_ID}; \
;; \
"rocky") \
ID=rockylinux; \
;& \
Expand Down Expand Up @@ -80,7 +89,7 @@ RUN dnf -y install 'dnf-command(config-manager)' \
wget \
which \
xz-devel \
yum-utils \
&& if [ "$ID" != "openeuler" ]; then dnf -y install yum-utils; fi \
&& if [ "$(uname -m)" = "x86_64" ]; then dnf -y install libpmem-devel; fi \
&& dnf clean all \
# dumb-init rpm is not available on centos (official repo) \
Expand Down
Loading