summaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
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
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>