From 738f3e27d4bfad3be5386270be296335d20a8e8a Mon Sep 17 00:00:00 2001 From: Tomáš Levora Date: Tue, 9 Jul 2019 12:07:51 +0200 Subject: Adding generating of docker images list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adding a note to BuildGuide with the possibility to generate docker images list based on actual OOM repository Issue-ID: OOM-1965 Change-Id: I93c9f754f6bd135396eedefeba22c8be6f77388d Signed-off-by: Tomáš Levora --- docs/BuildGuide.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'docs/BuildGuide.rst') diff --git a/docs/BuildGuide.rst b/docs/BuildGuide.rst index 464422ac..6896f162 100644 --- a/docs/BuildGuide.rst +++ b/docs/BuildGuide.rst @@ -86,6 +86,28 @@ Then it is necessary to clone all installer and build related repositories and p Part 2. Download artifacts for offline installer ------------------------------------------------ +.. note:: + It is possible to generate actual list of docker images using docker-images-collector.sh (helm is required) from cloned OOM directory + based on enabled subsystems. + + In the beginning of the generated list is written commit number from which it was created - the same commit number should be used + in Part 4. Packages preparation. + + Following example will create the list to the default path: + :: + + # clone the OOM repository + git clone https://gerrit.onap.org/r/oom -b master /tmp/oom + + # enable subsystems in oom/kubernetes/onap/values.yaml as required + + #run the collector providing path the the project + ./build/creating_data/docker-images-collector.sh /tmp/oom/kubernetes/onap + + If the list does not contain any image, no subsystem is enabled in the oom/kubernetes/onap/values.yaml + + For the other options check the usage of the script. + .. note:: Skip this step if you have already all necessary resources and continue with Part 3. Populate local nexus It's possible to download all artifacts in single ./download.py execution. Recently we improved reliability of download scripts -- cgit 1.2.3-korg