summaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2020-09-02Adding missing rpm packagesTomáš Levora1-0/+2
If target OS is installed from RHEL 7.6 DVD ISO, there are missing additional packages added by to the list by this patch. Issue-ID: OOM-2549 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> Change-Id: I00c8fb3e8e6fb0f1a3879bd66a5c5e2542d321d3
2020-07-30Add automatic virtualenv provisioner for download and package scriptBartek Grzybowski2-0/+14
Change-Id: I072d514c7c2f03991caf6714dbdc0d2d7e5c8bb9 Issue-ID: INT-1670 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-07-29Fix linting issues in Python scriptsBartek Grzybowski4-4/+2
Change-Id: I198340670f808d42aa6fb16de573db4a65005985 Issue-ID: INT-1667 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-05-28Updating RKE version to Frankfurt6.0.0-ONAPTomáš Levora2-5/+6
Updating RKE to v1.0.4 for Kubernetes 1.15.9 Issue-ID: OOM-2403 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> Change-Id: I87c3f9f4800aa40f62d7569b4ecf3fa373a16796
2020-05-21Updating helm for FrankfurtTomáš Levora2-2/+2
Updaing helm to v2.16.6 as required by OOM Frankfurt Issue-ID: OOM-2363 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> Change-Id: Ibcf47c26dadc359cb86e039d802ff6afbef7efbd
2020-05-21Merge "Updating kubectl for Frankurt"Tomáš Levora1-1/+1
2020-05-14Fix: docker-images-collector.sh collect empty image name in output list. ↵Mateusz Pilat1-1/+1
Adding also masterPassword param for helm templating The root cause is that not all parameters are present in aaf chart. It is an issue not only for image params, however other cases are not impacting us. Issue-ID: OOM-2405 Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com> Change-Id: I1ad1d33717488a82a2ce1eebe524ee41e1264d40
2020-05-14Updating kubectl for FrankurtTomáš Levora1-1/+1
Updating kubectl to v1.15.11 as required for Frankfurt Issue-ID: OOM-2404 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> Change-Id: I4165271fea9b8024e68f9d395f257e858bd605d7
2020-05-04Adding docker images collector requirementTomáš Levora1-0/+1
Adding pyyaml to requirements as it's required by docker-images-collector.sh Issue-ID: OOM-2393 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> Change-Id: I52036a8f905fa50eecaddee062d73a38ad2ed9ca
2020-04-30Adding git package as additional oneOndřej Šmalec1-0/+1
Adding git package into additional_packages.list It is needed to download additional stuff using git on infra server. Issue-ID: OOM-2338 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: Ibc7708de697bfd5d2318d9ef30d4d556e20b0798
2020-04-30Adding support for another packages listsJan Benedikt2-29/+109
Adding support for another packages lists in create_repo script. Additional package lists is for packages which are for example helpful tools for debugging. Issue-ID: OOM-2340 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: If0bcb437809b60d83ed92436adade086314ccfac
2020-04-29Merge "Adding support for Ubuntu in create_repo and docker_entrypoint scripts"Tomáš Levora3-35/+204
2020-04-21Adding support for Ubuntu in create_repo and docker_entrypoint scriptsJan Benedikt3-35/+204
Extend script for creating repository with adding Ubuntu platform support. Issue-ID: OOM-1671 Change-Id: I6b1c63cda18e53277fc2aad6dfa3eceefc9a0023 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
2020-04-09Remove python 2 dependencyTomáš Levora1-4/+2
Removing python 2 dependency from docker-image-collector.sh Issue-ID: OOM-2359 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> Change-Id: I6aa4d27cdb10e93981e3dacfb16b2d02a0bf0762
2020-03-31Upgrading package.py requirementsTomáš Levora1-1/+1
Upgrading gitpython from 2.11.1 to 3.1.0 because of incompatiblity with actual version of gitdb2 (4.0.2) Issue-ID: OOM-2344 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> Change-Id: Ibde20ee7f842858cb26f3ed4b45cb0339093a59f
2020-02-14Fix packaging script - Memory error in md5 calculationsMateusz Pilat1-3/+5
During package preparation whole file is read and stashed in to RAM. when the file is large, like ONAP package it will result in an error Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com> Issue-ID: OOM-2308 Change-Id: Ic2dbea4018162bd4cfb380f6fb34078062c38a09
2020-02-13Adding checksum of packages into package.infoOndřej Šmalec1-5/+42
Function to add checksum of created packges to package.info Modified --add-metadata parameter to handle more parameters in format key=value Issue-ID: OOM-2288 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: I29114c4566fdfd9643ab5c60951ee65f5680d2fe
2020-01-30Removed version from package nameOndřej Šmalec1-6/+3
Version is kept in package.info file. No need to have it as well in package name. package.info file is present in each tar package. Issue-ID: OOM-2277 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: I19fd80cb18e5eac614ac743af954f049536deb3b
2020-01-22Option for additional metadata in package.pyOndřej Šmalec1-4/+13
Issue-ID: OOM-2269 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: I6b23512746171fdeaac3883fb61695db2c48c3ab
2019-12-16Merge "Add screen and jq to onap_rpm.list"Tomáš Levora1-0/+2
2019-12-16Add screen and jq to onap_rpm.listJan Benedikt1-0/+2
Added screen and jq packages to RPM repository list. These packages was added as helpful tools for debugging. Oniguruma package is dependency for jq package. Issue-ID: OOM-2200 Change-Id: I2bbd8bf75569156e845341a9766214b03401ec35 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
2019-11-28Merge "docker-images-collector.sh to use override values.yaml"Samuli Silvius1-2/+2
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>