diff options
author | Samuli Silvius <s.silvius@partner.samsung.com> | 2019-11-28 08:10:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-11-28 08:10:18 +0000 |
commit | 610ddff2d54cece28af56cc7bbf01ed524ecce9c (patch) | |
tree | 83340a4d1e04d4e05cd6b77d7f1abba33abe92e3 | |
parent | 3c6f676f8f50ac796804900c0ba1e3d9ffc1ff29 (diff) | |
parent | 62b73a685cd6dfdf24773d331524a274d7b1bfa4 (diff) |
Merge "docker-images-collector.sh to use override values.yaml"
-rwxr-xr-x | build/creating_data/docker-images-collector.sh | 4 | ||||
-rw-r--r-- | docs/BuildGuide.rst | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/build/creating_data/docker-images-collector.sh b/build/creating_data/docker-images-collector.sh index 9a5baea7..c07de107 100755 --- a/build/creating_data/docker-images-collector.sh +++ b/build/creating_data/docker-images-collector.sh @@ -92,7 +92,7 @@ if [ -e "${LIST}" ]; then fi # Setup helm -if pgrep -x "helm" > /dev/null; then +if ps -eaf | grep -v "grep" | grep "helm" > /dev/null; then echo "helm is already running" else helm init -c > /dev/null @@ -114,7 +114,7 @@ popd echo "Creating the list..." if [ "${PROJECT}" == "onap" ]; then COMMENT="OOM commit $(git --git-dir="${PROJECT_DIR}/../../.git" rev-parse HEAD)" - for subsystem in `parse_yaml "${PROJECT_DIR}/values.yaml"`; do + for subsystem in `parse_yaml "${PROJECT_DIR}/resources/overrides/onap-all.yaml"`; do create_list ${subsystem} done | sort -u > ${LIST} else diff --git a/docs/BuildGuide.rst b/docs/BuildGuide.rst index 01f248ff..12426b7c 100644 --- a/docs/BuildGuide.rst +++ b/docs/BuildGuide.rst @@ -97,13 +97,12 @@ Part 2. Download artifacts for offline installer # clone the OOM repository git clone https://gerrit.onap.org/r/oom -b master --recurse-submodules /tmp/oom - # enable subsystems in oom/kubernetes/onap/values.yaml as required + # docker-images-collector.sh script uses oom/kubernetes/onap/resources/overrides/onap-all.yaml file to find what subsystems + are enabled. By default all subsystems are enabled there. Modify the file if want to drop some subsystems. #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 |