summaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2019-11-25docker-images-collector.sh to use override values.yamlSamuli Silvius1-2/+2
Change docker-images-collector.sh script to use file oom/kubernetes/onap/resources/overrides/onap-all.yaml as input instead of oom/kubernetes/onap/values.yaml. Also small enable script running in Windows git bash. Issue-ID: OOM-2222 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Change-Id: Idf7143ed9880ac510c103f4d3a4d5a45f375d71a
2019-11-25Downloading docker images does not work on WindowsSamuli Silvius1-1/+1
Changing build/download/docker_downloader.py to connect docker engine in more default way i.e. taking engine parameters from environment fixes this script. Issue-ID: OOM-2223 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Change-Id: Iddf69593bb4cf4596e713c8d537a90424c5925ef
2019-11-15Merge "Updating docker images for El Alto"Bartek Grzybowski1-132/+131
2019-11-15Merge "Fix relative path in package.py"Bartek Grzybowski1-11/+16
2019-11-15Merge "Chaging name of rhel resource directory to rpm"Bartek Grzybowski2-5/+5
2019-11-15Updating docker images for El AltoTomáš Levora1-132/+131
Issue-ID: OOM-2147 Change-Id: Ia80d034f562879dc3820d56ebe18d0046bd42b68 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-11-14Fix relative path in package.pyDenis Kasanic1-11/+16
Issue-ID: OOM-1994 Signed-off-by: Denis Kasanic <d.kasanic@partner.samsung.com> Change-Id: Ie8bbe23c90a4c2d1fd60d3fad36fcd8f741e6f63
2019-11-12Revert "Fix packaging offline-installer"Tomáš Levora1-22/+11
This reverts commit 92477974b68c7638a43ffc869e3ea9fb854b3534. Reason for revert: Not solved handling of application_configuration.yml in package.py Change-Id: I814c01dc1f7334a961e991c42fd485d9af4675a1 Signed-off-by: Tomas Levora <t.levora@partner.samsung.com> Issue-ID: OOM-2201
2019-11-11Fix packaging offline-installerDenis Kasanic1-11/+22
Fix typos in Build and Install documentation Fix using relative paths in args for package.py Fix missing hosts.yml & application_configuration.yml in sw_package Change default build-version of packaging to empty as used in docs Give possibility to specify own inventory file to package in package.py Issue-ID: OOM-1994 Issue-ID: OOM-2197 Issue-ID: OOM-2158 Signed-off-by: Denis Kasanic <d.kasanic@partner.samsung.com> Change-Id: I76598fb71a42ada1a71c9905ef2d32bc03d8f71c
2019-11-06Adding relative path supportTomáš Levora1-7/+8
Adding support for relative paths for all files and dirs provided as parameters to build_nexus_blob.sh Issue-ID: OOM-1927 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> Change-Id: I18481508d91b9d432889215605fce51c3c6d7c82
2019-11-05Chaging name of rhel resource directory to rpmJan Benedikt2-5/+5
Changing name of rhel resource directory in "resources/pkg" from rhel to rpm due to platfrom independent repository for all distributions supporting RPM packages. Issue-ID: OOM-2150 Change-Id: Ie5425df8b8550c618440586b495907f86c4cc509 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
2019-10-30Fixing helm repo add missing second argument bugTomáš Levora1-1/+1
Fixing bug in creating new helm repository when the HELM_REPO was passed as one argument instead of two Issue-ID: OOM-2159 Change-Id: Id8aabad7d8e59aa4fb2eef01cfff28e3b7ab1259 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-10-22Update onap_rpm.listJan Benedikt1-5/+4
Some packages was obsollete and those packages was not in public CentOS repository. This commit updates versions of soma packages in onap_rpm.list. Issue-ID: OOM-2133 Change-Id: I9b31fee243a22ced86b21fae3d78ed9c4cb6e208 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
2019-10-17Merge "Fixing wrong dependency directory in create_repo"Petr Ospalý2-64/+81
2019-10-17Fixing wrong dependency directory in create_repoJan Benedikt2-64/+81
Improving logic of create_repo.sh script. Changed from one common path to two different paths. One path for cloned offline-installer directory and second for resources directory. Issue-ID: OOM-2136 Change-Id: I627db02594c25df172c270ea015f167ea7050ca0 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
2019-10-17Update rke, kubectl and helmTomáš Levora4-21/+24
This commit updates rke (implementing K8S 1.15.4), kubectl binary and helm binary with tiller image: rke 0.3.0 kubernetes 1.15.4 kubectl 1.15.4 helm 2.14.2 dashboard 2.0.0-beta4 Kubernetes dashboard is also updated to be compliant with the 1.15 K8S. Note 1: There is a new datalist to split rke only images from other K8S related images. Note 2: El Alto recommendation cannot be fullfilled to the letter, because rke does not have any release supporting 1.15.2 version of kubernetes (only experimental). Issue-ID: OOM-2122 Change-Id: I02cf0955158eca622bcac40ceed42588dbdd3499 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com> Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-10-15Merge "Remove git repos list and simulation"Petr Ospalý1-2/+0
2019-10-15Remove git repos list and simulationTomáš Levora1-2/+0
As no external git repo should be required, removing the list and the simulation Issue-ID: OOM-2014 Change-Id: I7b8bbaab93db173bc3f1438592d288f6090d3641 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-10-15Remove NPMs and PYPIs from nexus blobTomáš Levora3-381/+76
Issue-ID: OOM-2015 Change-Id: Ie8bc1219291b52410ca7ec5a40ed3e70a11cd315 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-10-15Adding platform independent RPM downloadJan Benedikt3-4/+149
Updated onap_rpm.list with new versions of packages. Added scripts for creating centos container in docker with rpm repository. RPM repo is now created in centos container during download phase, but will work on both centos/rhel platforms. Issue-ID: OOM-2094 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I1b5bfe99da25e6815e85b449304b12fa6036c6b3
2019-10-03Merge "Add more info to generated blob data"Bartek Grzybowski1-1/+7
2019-10-01Updating pip packages to newer versionsTomáš Levora1-5/+5
As there are some issues with elder versions of some pip packages, this list contains actual versions Issue-ID: OOM-2118 Change-Id: I12503480fab8b53c6f0e21aa7fba8d2dd8a3d779 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-09-20Add more info to generated blob dataTomáš Levora1-1/+7
Changed the way of storing nexus image information to nexus.ver in built blob Added information about OOM commit from which was the used onap docker images list generated Added information about oom/offline-installer commit used to build the nexus blob Example of the resulting nexus.ver in the nexus_data: nexus_image=sonatype/nexus3:3.15.2 nexus_image_digest=sha256:5d3600fd5cf27c3a789e7d4a3ce9448086d73a4247a118d8cdcdbabb1aff4ff7 used_image_list0=custom_docker_images.list used_image_list1=onap_docker_images.list used_image_list2=rke_docker_images.list oom_repo_commit=106dbc9a0224a3259f1eaf24d4bcc8571ed591ab installer_repo_commit=574255919970ffaf506c08d3eeaea8d6d7656236 Issue-ID: OOM-1969 Change-Id: Id824f97079fbd578cdc7af1ad959e95a52fe1d2c Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-09-11Removing unused debian datalistMichal Ptacek1-22/+0
Formely used by appc-ansible-server in Casablanca Change-Id: I8043f8338f84c09212386c7924770d6df27024ed Issue-ID: OOM-2098 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-09-04Merge "package.py - Enable adding AUX images in to packages"Michal Zegan1-18/+47
2019-09-04Merge "Skip annoying message if config.json not exists"Michal Zegan1-1/+1
2019-09-04Merge "Adding proper npm logout"Michal Zegan1-0/+1
2019-09-04Change the way of providing docker login passwordTomáš Levora1-1/+1
As --password is insecure way, changing to recommended way using --password-stdin instead Issue-ID: OOM-2087 Change-Id: Ibe1799e9de63476540288b84726260f712d12616 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-09-04Adding proper npm logoutTomáš Levora1-0/+1
Adding npm logout to prevent authentification issues with newer versions of npm at repeated execution Issue-ID: OOM-2086 Change-Id: Icb7d70ef1b7c2037dd9e392693b2c51cf8c60f25 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-08-30package.py - Enable adding AUX images in to packagesMateusz Pilat1-18/+47
Make possible to add custom images in to aux package + add versioning to package info and file names. Issue-ID: OOM-2078 Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com> Change-Id: Ibe141f386b2534aa59c6a3a31052e454b3a79e6b
2019-08-27Skip annoying message if config.json not existsTomáš Levora1-1/+1
Preventing messages showing in case of non existing config.json file Issue-ID: OOM-2077 Change-Id: Ifb38495d93934b2015893d2c1fc62ec4d480171b Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-08-16Merge "Removing deprecated packaging script"Michal Ptacek2-347/+0
2019-07-24Add support for multiple lists in nexus blob buildTomáš Levora1-25/+78
Because of separated lists for onap, rke or rancher adding possibility to pass multiple lists to build_nexus_blob.sh as parameters Issue-ID: OOM-1890 Change-Id: Ib5aa8489b612dfd6099116695b4ccc3be49a82bd Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-07-17Merge "Rewrite build_nexus_blob script to use functions"Michal Zegan1-65/+86
2019-07-15Merge "Fix build guide/script regarding python versioning"Michal Ptacek3-3/+3
2019-07-12Removing deprecated packaging scriptTomáš Levora2-347/+0
Removing packaging script written in BASH and its configuration as it's function was replaced by new python script build/package.py Issue-ID: OOM-1932 Change-Id: Id48c2ef69d64012c456661358106703eab7d85c3 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-07-11Removing deprecated OOM patching scriptMichal Ptacek1-70/+0
Logic of that script was included into redesigned packaging. Issue-ID: OOM-1932 Change-Id: I7fe6e69ae3abb52213d0ebd192e0df882aab49ed Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-07-11Fix build guide/script regarding python versioningBartek Grzybowski3-3/+3
Specify minimal docker release in build/requirements.txt and build/download/requirements.txt, not a fixed one. Change interpreter for build/package.py as it's Python 3 compliant. Change-Id: I4352aa957371ce85bdea021101ed2f5994f9eedb Issue-ID: OOM-1979 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-07-11Rewrite build_nexus_blob script to use functionsTomáš Levora1-65/+86
Rewrite build_nexus_blob.sh script to functions for better future maintenance and better possibility to add new features Issue-ID: OOM-1977 Change-Id: I697462efbbeddbe3d89aec47ae7fcfff9f4147b7 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-07-10Merge "Fix docker user settings backup"Michal Ptacek1-5/+5
2019-07-10Merge "Removing duplicates from onap list"Michal Ptacek1-22/+0
2019-07-10Merge "Verify dependencies for build_nexus_blob.sh are installed"Michal Ptacek1-2/+19
2019-07-09Fix docker user settings backupTomáš Levora1-5/+5
Fixing docker user settings backup and restore in build_nexus_blob.sh Issue-ID: OOM-1968 Change-Id: I3f97cb7d0c16cce083388a87aef443ab805ca0e5 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-07-09Merge "Changing doc section related to packaging"Michal Ptacek1-0/+0
2019-07-09Fix wrong shebang in download scriptsMilan Verespej11-12/+7
Download does not support python2 so shebang could cause problem. This commit fixes that or removes shebang where not necessary. Issue-ID: OOM-1964 Change-Id: I443f5ef61b9bddfddba66d858d8f65c5ceacd90a Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-07-08Changing doc section related to packagingMateusz Pilat1-0/+0
Updating build documentation with description how to use new packaging script, removing obsolete steps Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com> Issue-ID: OOM-1932 Change-Id: I2a51c1f836dec5942229b88379b46151f041b560
2019-07-08Merge "Add docker local registry cleaning script"Michal Ptacek2-2/+73
2019-07-05Verify dependencies for build_nexus_blob.sh are installedBartek Grzybowski1-2/+19
Script now checks if utilized tools are installed on the system. Without that it would fail in the middle of the flow. Now it will fail fast at the beginning if a particular dependency is missing. It will also list those missing dependencies. Change-Id: I39bb6f5d1b9d3eec4a76e77a6af9470f3a3d5244 Issue-ID: OOM-1945 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-07-04Merge "Make loading docker images from tars optional"Michal Ptacek1-16/+25
2019-07-04Merge "New packaging script"Michal Zegan2-0/+261