summaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
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-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
2019-07-04Add docker local registry cleaning scriptMilan Verespej2-2/+73
Since with changing data lists there are unused images left in local registry on build server this commit adds script that handles that. Issue-ID: OOM-1952 Change-Id: Ied7a8b09aacd33ef17f0676cfab333d1df8a1a81 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-07-04Removing duplicates from onap listTomáš Levora1-22/+0
Removing from onap list duplicatated images which belongs to RKE Issue-ID: OOM-1847 Change-Id: I5d8b2960c5225726401eefb95d1fe40e2c14f412 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-07-03New packaging scriptMateusz Pilat2-0/+261
Introducing new packaging script, converted to python with slightly modified logic Issue-ID: OOM-1932 Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com> Change-Id: I9eba27d9b6f48e825416c6729adad02aaade9685
2019-07-03Removing common functions libraryTomáš Levora1-98/+0
library of common functions is not used anywhere since the download process was rewritten to python Issue-ID: OOM-1803 Change-Id: Id648ea738c87e1630963d85184d475f940599f82 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-07-02Merge changes from topic "data-download-refactor"Michal Ptacek19-985/+1332
* changes: Refactor download.py and remove not used files Refactor of rpm downloading Refactor pypi packages download Refactor and improve git repository cloning Refactor and improve docker image downloading Refactor npm packages download Refactor http files download
2019-07-01Updating docker images list for onapTomáš Levora1-53/+75
Issue-ID: OOM-1847 Change-Id: I9ea6e9ae1c0b3d7fb24556c31c883ab509585598 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-06-27Make loading docker images from tars optionalTomáš Levora1-16/+25
As build server for building Nexus blob can be the same machine as for previous download, there's not necessary to load all docker images if they are already in local registry - therefore this patch makes the loading of the images from tarballs as an option and by default will use images directly from local registry Issue-ID: OOM-1889 Change-Id: Id8f850afdab1009d026aef97ac1b0eb3d742f38b Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-06-26Removing http data listMichal Ptacek1-2215/+0
New policy framework in Dublin is offline friendly and does not require collecting maven artifacts in runtime from internet. We can exclude this step from our offline platform and it was verified using vFWCL demo. Change-Id: I284b114d70fa73362eb603286bcb98ce1e2367c0 Issue-ID: OOM-1900 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-06-20Refactor download.py and remove not used filesMilan Verespej9-985/+130
Final commit in download refactoring series. Issue-ID: OOM-1803 Change-Id: I5b71908903ef131b8c16d08225c4d2e2de655130 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-18Refactor of rpm downloadingMilan Verespej1-0/+130
Issue-ID: OOM-1803 Change-Id: Ic1efb371409daddd5910e067ad1f0a85cc7db4ab Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-18Refactor pypi packages downloadMilan Verespej1-0/+101
Issue-ID: OOM-1803 Change-Id: I65056208ed3e89777c3511650f8a5aab7396043b Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-18Refactor and improve git repository cloningMilan Verespej2-0/+196
Issue-ID: OOM-1803 Change-Id: Ia8e222c2b70b58ed1f7dbc4254ea2f5cb5a9ef7b Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-18Refactor and improve docker image downloadingMilan Verespej2-1/+246
Issue-ID: OOM-1803 Change-Id: I4e648d49835faa60165725d1ca4ec22ba1e3e12b Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-18Refactor npm packages downloadMilan Verespej2-2/+136
Series of commits to improve python download scripts. Issue-ID: OOM-1803 Change-Id: I199660ab121038780c34065f78538bb4e7b07eb5 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-18Refactor http files downloadMilan Verespej4-0/+396
Original download scripts got out of hand. This series of commits improves style of code (code duplicates, etc.) Issue-ID: OOM-1803 Change-Id: I7b82c1711d27fe450430fbe6d962a450301b0be0 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-14Merge "Fix issue with yaml.load in docker collector"Petr Ospalý1-1/+1
2019-06-14Merge "Add directory remove on failed cloning"Petr Ospalý1-2/+5
2019-06-14Add data list for bin utilsMilan Verespej2-60/+3
Since bin utils can be downloaded as simple http file this script remove previous shell script and changes documentation to add necessary steps. Issue-ID: OOM-1803 Change-Id: I4ced011ce47302349f9e7db74d0ef7f0fe9c4fa0 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-12Add pypi packages downloading python scriptMilan Verespej3-49/+104
Issue-ID: OOM-1803 Change-Id: I5470bad5ad862362976b56350c931929ee4b69d6 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-11Set version for MarkupSafe to 0.23Tomáš Levora1-1/+1
As MarkupSafe>=1.0 is not found in Nexus, fixing version to 0.23 which is the last version possible to use with Jinja 2.10.1 Jinja 2.10.1 is required by flask 1.0.3 installed in mso-simulator container in oof-oof-cmso-service Relates to OOM-1869 Issue-ID: OOM-1920 Change-Id: I02d5fb01db12aa2a3a55df4be65817e22b589c32 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-06-05Merge changes I6421b55d,Icdb55918Samuli Silvius12-471/+21
* changes: Wrapping-up download refactorisation Adding rpm data list
2019-06-05Add directory remove on failed cloningMilan Verespej1-2/+5
While downloading git repositories there was no removing of created destination directory which could led to false detection of downloaded repository. This script adds directory remove in such case plus fixes some minor typos in logging and help strings. Issue-ID: OOM-1803 Change-Id: Iec672bc8248e7b2daee06717985e11f7e05aa5be Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-05Wrapping-up download refactorisationMichal Ptacek11-471/+0
This commit is making required adaptations mainly in BuildGuide and removing deprecated old version of download scripts. Change-Id: I6421b55d116831dc3b47c7630e91d361d56414c8 Issue-ID: OOM-1803 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-06-05Fix issue with yaml.load in docker collectorTomáš Levora1-1/+1
docker-images-collector.sh script uses yaml.load python function in deprecated way and it is a potential security risk https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation Issue-ID: OOM-1897 Change-Id: Ie30e60b4ede2c87a02b7bbe76e0695f91dc207c6 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-06-05Merge "Add base download script"Tomáš Levora7-36/+199
2019-06-05Merge "Adapting to Dublin realase"Michal Zegan1-1/+1
2019-06-04Adding rpm data listMichal Ptacek1-0/+21
This list contains full record of all needed rpms. We decided to enlist full list including versions to have full control over what will be installed and what was verified. Goal is to avoid issues about different dependencies coming later. It is expected that major change will cause download to fail which will work as early detection of problems. Change-Id: Icdb55918dc20660c2c835d0e759b3eb5bad1f2fd Issue-ID: OOM-1803 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-06-04Add base download scriptMilan Verespej7-36/+199
This script is supposed to be used for convenience when downloading data from multiple lists at once. Issue-ID: OOM-1803 Change-Id: I4031ed3650f7880883e299b43c79e6bfd08c886c Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-04Adapting to Dublin realaseroot1-1/+1
In Dublin: First project has taken ownership of own helm charts, oom repository must be obtained with subrepositories. By default no applications are enabled, introducing a way to submit more override files in to installer Issue-ID: OOM-1861 Signed-off-by: root <m.pilat@partner.samsung.com> Change-Id: I1724de6b87bd0e9d17df4d0f55615a3f1c439d40
2019-06-04Merge changes from topic "tags"Michal Ptacek1-19/+7
* changes: Remove tag support from nexus blob build script Fixing some typos in usage in build_nexus_blob.sh
2019-06-04Merge "Updating list of docker images for ONAP"Michal Ptacek1-48/+48
2019-06-03Merge "Updating PIP packages list for Dublin"Michal Ptacek1-1/+0
2019-05-31Fixing bug in docker-images-collector.shTomáš Levora1-1/+8
Some images from oom/kubernetes/common/ were not correctly collected by creating_data/docker-images-collector.sh script Issue-ID: OOM-1886 Change-Id: I044ca8a26353da44cd6f8e94fcb822570c954b49 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-05-31Add comment to automatically generated docker listTomáš Levora1-3/+8
Add comment to docker image list generated by docker-images-collector.sh to reffer to commit id in case of ONAP or to project in other cases Issue-ID: OOM-1884 Change-Id: I7ff32fae84db3476495eb2e560c3bf61e41e2ddb Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-05-31Remove tag parameter from docker-image-collector.shTomáš Levora1-11/+11
Removing tag parameter from docker-image-collector.sh as it's not necessary as described in OOM-1881 Issue-ID: OOM-1885 Change-Id: Id83b396c4b994cfa659c518e3f03e704a84d65f0 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-05-31Updating list of docker images for ONAPTomáš Levora1-48/+48
Updating list of docker images for Dublin ONAP deployment Issue-ID: OOM-1800 Change-Id: If8c1aa1e1bd058a0e0c84987d87bcbe676e14101 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-05-30Updating PIP packages list for DublinTomáš Levora1-1/+0
Removing some leftover Issue-ID: OOM-1800 Change-Id: I6e07b89a1fc2b0d8cfc29e7acc3a71204e9f0372 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-05-29Changing patchfile naming conventionMichal Ptacek2-2/+2
Its not needed to preserve onap release version in patch naming. Change-Id: I8dfaa56d3a74cd5227523c3acd5e31fa540a75a2 Issue-ID: OOM-1869 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>