dist-git pipeline - rebuild container images

When rebuild the image

There are cases where it is necessary to rebuild the container image used by the pipeline. For example if some package needs to be updated, like for example:

  • rpm-build

  • standard-test-roles

How to

  1. Open fedora-stage-container-image-build (make sure you are logged in)

  2. Click on build with parameters (the image name by default is already fedoraci-runner)

  3. Once the build start it will create a new container build and tag it as candidate

  4. Once the image is built a build on fedora-rawhide-stage-pr-pipeline is created to validate the image

  5. If the jenkins build succeeds the image will be tagged as stable and the pipeline will from now on use it

Troubleshooting

  1. If the job fails the initial point to search for the cause is to look at the build on fedora-stage-container-image-build job.

  2. If it failed before running "fedora-rawhide-stage-pr-pipeline" stage it is likely a problem creating the container image checking it on openshift could help.

  3. If the problem was during "fedora-rawhide-stage-pr-pipeline" then is necessary to check its build log.