summaryrefslogtreecommitdiffstats
path: root/docs/BuildGuide.rst
diff options
context:
space:
mode:
authorTomáš Levora <t.levora@partner.samsung.com>2019-07-09 12:07:51 +0200
committerTomáš Levora <t.levora@partner.samsung.com>2019-07-09 12:08:43 +0200
commit738f3e27d4bfad3be5386270be296335d20a8e8a (patch)
tree253cef99411ee74ed97ce9a54bf7ad6ece5f3105 /docs/BuildGuide.rst
parent86d690963b80241f408c1668c58f3cd6a0955dcd (diff)
Adding generating of docker images list
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 <t.levora@partner.samsung.com>
Diffstat (limited to 'docs/BuildGuide.rst')
-rw-r--r--docs/BuildGuide.rst22
1 files changed, 22 insertions, 0 deletions
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