summaryrefslogtreecommitdiffstats
path: root/build/build_nexus_blob.sh
AgeCommit message (Collapse)AuthorFilesLines
2021-06-21[BUILD] Add Kube Prometheus Stack docker image list to default image listBartek Grzybowski1-1/+2
Change-Id: I121c1df6d71640554cefea43141d5c3399c4b9df Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-10-26Use temporary Docker client configBartek Grzybowski1-14/+8
Change-Id: I2c864cbd553e377aa594badf4df58206e40e5794 Issue-ID: OOM-2605 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-10-26Support publishing exposed container ports on custom host portsBartek Grzybowski1-3/+13
Change-Id: I3dcd47932821a124906f8d125697ecbe21c259af Issue-ID: OOM-2605 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-10-26Drop registry hosts simulationBartek Grzybowski1-27/+7
Instead of simulating all images original registry hostnames locally running Nexus instance IP address is used to simplify the whole procedre. Change-Id: I42de7e2bc177a9b784090aece0b4ebe7d57912e7 Issue-ID: OOM-2605 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-10-26Drop exposing additional portsBartek Grzybowski1-17/+0
As the default registry is the only one being set it's no more required to publish ports for each registry listed in images list file. Change-Id: I55a5e1f527bbc98dd4c1e1835c4218dc0fad4c1a Issue-ID: OOM-2605 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-10-26Push all images to simulated Docker registry onlyBartek Grzybowski1-15/+15
In previous implementation all images were pushed to their original registries which were simulated locally. This change retags all images to locally simulated docker registry only and pushes them there accordingly. Created temporary tag is dropped at the end for order. Change-Id: If1b6633fdcc13d47c6e2b26792980320dce7f49a Issue-ID: OOM-2605 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-10-26Support setting custom Nexus container nameBartek Grzybowski1-5/+21
Change-Id: I41098413b96ac08fe479167aa0f5d0c4a699ef33 Issue-ID: OOM-2605 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
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-10-17Update rke, kubectl and helmTomáš Levora1-1/+2
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-15Remove NPMs and PYPIs from nexus blobTomáš Levora1-67/+76
Issue-ID: OOM-2015 Change-Id: Ie8bc1219291b52410ca7ec5a40ed3e70a11cd315 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-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-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-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-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-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-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-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-05-29Remove tag support from nexus blob build scriptTomáš Levora1-18/+6
Remove tag support from build script for Nexus blob to simplify the configuration and the be align with lists naming for Dublin as described in OOM-1881 Issue-ID: OOM-1882 Change-Id: I009fa35830b44454530a7b7e565d23d99af99df8 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-05-29Fixing some typos in usage in build_nexus_blob.shTomáš Levora1-2/+2
Issue-ID: OOM-1848 Change-Id: I7c1ccd75083274a262d65b0da0b184fcd1f0eeef Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-05-28Merge "Modify build_nexus_blob.sh to accept more input parameters"Michal Ptacek1-29/+48
2019-05-27Fix wrong path to backup filesTomáš Levora1-2/+2
In the Nexus build script were incomplete paths to backup files what is fixed by this patch Issue-ID: OOM-1875 Change-Id: I86e3f157d6f142f87013c18c79fb58e52cad42f9 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-05-27Modify build_nexus_blob.sh to accept more input parametersMateusz Pilat1-29/+48
In order to connect nexus build blob with dynamically generated input files Issue-ID: OOM-1848 Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com> Change-Id: Ifd1218b69e0b341fd929a5d4cda96cea17153f12
2019-05-09Make simplified version of build_nexus_blob.shTomáš Levora1-167/+167
Removed requirement for configuration file with a lot of necessary inputs from user Removed dependency resolution for RHEL systems Added interconnect with the whole offline-installer build process from list generating to packaging Removed creating of nexus_data tarball Small improvements of the process Issue-ID: OOM-1704 Change-Id: Idd34e1a6bf160ec40413db16138c849334d9ca44 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-04-09Fix patching registry in NPMTomáš Levora1-2/+1
Fix URL in patching of registry in NPM package tsscmp-1.0.5.tgz Issue-ID: OOM-1787 Change-Id: I937b851edf0b09a1f43b309310ce21bf66a09b8b Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-07Adding PyPI repository and packages to NexusTomáš Levora1-3/+21
This update for building of Nexus repository for offline installer adds autoconfiguration of pipy repository and uploading pypi packages to it based on related list Issue-ID: OOM-1619 Change-Id: Id49aad2936e7e56848500c47a43a16f1f58db8e3 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-07Create offline data lists to cover CasablancaTomáš Levora1-0/+307
Adding casablanca related data lists and changing the lists naming rule Modifying related download scripts accordingly Adding parameters for project version to download scripts to be able to use version specific lists Removing download-oom.sh as it should be done in helm charts preparation and patching steps Moving additional build related stuff to build directory Adding missing tags Issue-ID: OOM-1615 Change-Id: Ic5902f646a1f0f40ba615562f8d9b1a43cf8480b Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>