Skip to content

Build test container images

Jordi Massaguer Pla edited this page Apr 18, 2024 · 5 revisions

Create a fork of uyuni-project/uyuni if you do not already have one.

Sync changes of master branch on your fork

Create a Pull Request that updates version in https://github.com/uyuni-project/uyuni/blob/master/.github/workflows/build_containers.yml. The PR target is master branch of your fork .

Merge it to the master branch of your fork .

Go to https://github.com/YOUR_USERNAME/uyuni/actions/workflows/build_containers.yml

Select "Run workflow"->"Branch: master" and click on "Run workflow".

Once the image has finish building, create a PR that changes the PROJECT variable in .github/workflows/acceptance_tests_common.yml , to use your fork. The target should be master branch of your fork.

Once tests pass on your PR, it means the image is ready. You can close the PR, now.

Create a new PR, but this time the target should be master branch of original uyuni-project/uyuni project. That PR should update the version in https://github.com/uyuni-project/uyuni/blob/master/.github/workflows/build_containers.yml.

Ask a Release Engineer to review and merge.

Go to https://github.com/uyuni-project/uyuni/actions/workflows/build_containers.yml

Select "Run workflow"->"Branch: master" and click on "Run workflow".

image

Wait aprox 10 minutes for all the builds to be green

image

⚠️ Sometimes the build can fail on downloading some packages from the openSUSE mirror infrastructure. If this happens, there is no other solution than trying again later. It can take up to 24h to have the closest mirror in sync.

Have fun! 💃

Clone this wiki locally