Build or update the test container images - uyuni-project/uyuni GitHub Wiki
-
Create a fork of
uyuni-project/uyuni
if you do not already have one. -
If you alreayd have a fork, update your master branch.
-
Create a Pull Request that updates the Uyuni version in
https://github.com/uyuni-project/uyuni/blob/master/.github/workflows/build_containers.yml
. The target of your PR should be the master branch of your fork . -
Merge your PR into 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 and was successful, create a PR that changes the
PROJECT
variable in.github/workflows/acceptance_tests_common.yml
, to use your fork. The target should be again the master branch of your fork. -
Once tests pass on your PR, it means the image is ready. You can close the above PR.
-
Create a new PR, but this time the target should be the master branch of the upstream
uyuni-project/uyuni
project. That PR should update the version inhttps://github.com/uyuni-project/uyuni/blob/master/.github/workflows/build_containers.yml
(what you already did with your first PR in your fork). -
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".
- Wait aprox 10 minutes and observe the build to green for all containers.
:warning: 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! :woman_dancing: