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

Conversation

martin-g
Copy link
Contributor

@martin-g martin-g commented Aug 21, 2024

As requested by @grooverdan at https://mariadb.zulipchat.com/#narrow/stream/451209-MariaDB-in-openEuler/topic/Buildbot.20CI.20image/near/463982676

To run: buildah bud --build-arg BASE_IMAGE=docker.io/openeuler/openeuler:24.03-lts -f centos.Dockerfile

Note: openEuler does not have/need powertools/crb and yum-utils

Add Worker template

Checklist

  • Add worker configuration to master-private.cfg on prod
  • Add worker configuration to master-private.cfg on dev
  • Add lock value to locks.py
  • Enable the worker to be used by appropriate workers

@martin-g
Copy link
Contributor Author

martin-g commented Aug 21, 2024

The build of the image fails due to line
https://github.com/MariaDB/buildbot/pull/546/files#diff-0cb67e1dc8b39e83db2bb8ae8b8f682a72e5f6a08ba7bcacb0b7d7e1c7cd2e7bR52

&& dnf config-manager --add-repo https://ci.mariadb.org/galera/mariadb-4.x-latest-gal-${ARCH}-${ID}${VERSION_ID}.repo \

that evaluates to https://ci.mariadb.org/galera/mariadb-4.x-latest-gal-aarch64-openeuler-24.repo and is not available yet.

@RazvanLiviuVarzaru
Copy link
Collaborator

The build of the image fails due to line https://github.com/MariaDB/buildbot/pull/546/files#diff-0cb67e1dc8b39e83db2bb8ae8b8f682a72e5f6a08ba7bcacb0b7d7e1c7cd2e7bR52

&& dnf config-manager --add-repo https://ci.mariadb.org/galera/mariadb-4.x-latest-gal-${ARCH}-${ID}${VERSION_ID}.repo \

that evaluates to https://ci.mariadb.org/galera/mariadb-4.x-latest-gal-aarch64-openeuler-24.repo and is not available yet.

Hi Martin!

Thank you for your contribution.
I think we can skip Galera installation for now. Once we merge #541 we will have an easy way to skip Galera related lines in our CI. I'll let @grooverdan confirm.

For our CI to build an image for openEuler it's necessary to add a block of code here:


but I don't know if this is planned yet or we are just preparing the underlying dockerfile.

The difference between centos and centos-pip yml workflows is the installation of twisted & buildbot-worker. It depends on the availability of these 2 packages in the distribution default repository. https://github.com/MariaDB/buildbot/blob/dev/ci_build_images/pip.Dockerfile

@martin-g martin-g closed this Aug 21, 2024
@martin-g martin-g reopened this Aug 21, 2024
Note: openEuler does not have/need powertools/crb and yum-utils

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Trying to solve the following error:
```
Error: error normalizing name "bb-worker:docker.io/openeuler/openeuler24.03-lts": invalid reference format
```

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
@RazvanLiviuVarzaru RazvanLiviuVarzaru merged commit fee4daa into MariaDB:dev Aug 22, 2024
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants