This git repository contains the configuration used to build the docker image used for CI tests in Libyui GitHub Actions. The resulting docker image is available at https://registry.opensuse.org/.
- The image is rebuilt whenever a commit it pushed to the
master
branch. - The libyui-ci-libyui-container-master Jenkins job copies the configuration to the devel:libraries:libyui/ci-libyui-container OBS project
- The OBS tracks the dependencies and rebuilds the image if any dependant package is updated.
If for some reason the automatic rebuild does not work or it failed you can trigger the rebuild in the OBS just like for the other regular packages.
This image is based on the latest openSUSE Tumbleweed image, additionally it contains the packages needed for building and running tests in libyui packages.
From the Git sources:
# you need the rubygem-libyui-rake package installed
rake osc:build
From the OBS checkout:
# check it out if not already present
osc co devel:libraries:libyui ci-libyui-container
cd devel:libraries:libyui/ci-libyui-container
# build it
osc build containers
️:warning: This approach is not 100% the same as building the image with osc
described above.
The osc
build injects some special modifications to allow building the image inside
the OBS build environment.
ℹ️️ You should prefer using the osc
method if possible, use the docker
build only as a fallback when the osc
build is not possible or does not work in your environment.
Use the ci-test
script for building.