From bb9060e6702bc35fab6c43eaa64fb0e393d466c5 Mon Sep 17 00:00:00 2001 From: Alex Iribarren <Alex.Iribarren@cern.ch> Date: Tue, 16 Feb 2021 19:47:28 +0100 Subject: [PATCH] More details about the cloud image --- docs/koji/bootstrapping.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/docs/koji/bootstrapping.md b/docs/koji/bootstrapping.md index 3cd7546..18e8ec9 100644 --- a/docs/koji/bootstrapping.md +++ b/docs/koji/bootstrapping.md @@ -354,6 +354,11 @@ as part of the [CERN functional tests](https://gitlab.cern.ch/linuxsupport/testi [`epel-release`](https://gitlab.cern.ch/linuxsupport/rpms/releases/epel-release) may be needed by the rpmci Docker images, if it exists and makes sense for your new distro. +[`cern-get-keytab`](https://gitlab.cern.ch/linuxsupport/rpms/cern-get-keytab) is needed for +the cloud image. + +[`msktutil`](https://gitlab.cern.ch/linuxsupport/rpms/msktutil) will be needed as well. + ## Create tag for openafs We need a tag for the openafs kernel modules, we can create it using the @@ -467,6 +472,18 @@ Once that is done, you can go back through all the previous RPMs you created where you had to disable the tests and enable them again. Now that your image is good, they should succeed. -## build cloud image +## Build a cloud image + +### Prepare Imageci + +Before you can actually build the cloud image, you should prepare the +[imageci](https://gitlab.cern.ch/linuxsupport/testing/image-ci) to test it. You'll +have to do [something like this](https://gitlab.cern.ch/linuxsupport/testing/image-ci/-/commit/69de3bf3d46d729f709a34ffff76609511e5d086). + +## Build the image + +Now that you have the testing infrastructure set up and all the necessary +RPMs built, you can prepare a kickstart template for your new distro. You'll +need to do [something like this](https://gitlab.cern.ch/linuxsupport/koji-image-build/-/commit/622b3632d9f1e6e89705e77694246cbfc5b2c068). ## Build OpenAFS Kernel Modules -- GitLab