summaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2019-05-17Update of docker for RHELTomáš Levora1-7/+5
Updating docker to 18.09 and its dependencies accordingly Issue-ID: OOM-1857 Change-Id: Ifa3ee7091e2ceeecf8c56d48c31a20a33d273f43 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-05-16Adding rke binary downloadTomáš Levora1-1/+5
Adding rke binary to download script to ensure it will be in place in the offline-installer package Issue-ID: OOM-1778 Change-Id: Ie3249511ab0e49a657608076c38f4d3b67e28f74 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-05-16Update kubectl and helm binariesTomáš Levora1-6/+6
kubectl and helm binaries need to be updated for proper usage with Dublin release kubectl: v1.13.5 helm: v2.12.3 Issue-ID: OOM-1858 Change-Id: I824362c8321317cbf0601ae2bd15ff39ef5c807e Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-05-15Merge "Adding script for autocollection of docker images"Michal Ptacek1-0/+118
2019-05-09Updating offline platform with latest 3.0.2Michal Ptacek4-1515/+2082
- Adding missing artifacts into onap_3.0.x-http_files.list - Some fine-tuning of examples in DOCs Issue-ID: OOM-1805 Change-Id: Ic5a55590a9fa9a244c43aff6a63554aefaea6cc5 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-05-09Merge "Make simplified version of build_nexus_blob.sh"Tomáš Levora1-167/+167
2019-05-09Fix download scripts to handle empty linesTomáš Levora7-57/+52
Fixing download and saving scripts to be able to ignore empty or 00D ending lines in lists Issue-ID: OOM-1818 Change-Id: I55ef1dfbea628f8c1d4b19745536e629a2dbe0c9 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
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-05-03Updating docker image list for 3.0.2Tomáš Levora1-8/+7
Updated docker image list based on Casablanca MR 3.0.2-ONAP Issue-ID: OOM-1802 Change-Id: I748d5c2d69c0158b89beecb8d3a5ac49262196d4 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-05-03Adding script for autocollection of docker imagesTomáš Levora1-0/+118
This script is collecting docker images from oom based on enabled subsystems to specified list There are missing images downloaded in run time based on blueprints and images necessary for rancher Issue-ID: OOM-1678 Change-Id: I4367a8a7c755bbf6045ad192bbfc4dd68daa92f8 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-04-25Merge "Replace VNC server docker image"Michal Ptacek1-1/+1
2019-04-24Merge "Adding docker image list for 3.0.2"Michal Ptacek1-0/+220
2019-04-23Replace VNC server docker imageTomáš Levora1-1/+1
Replace VNC server docker image based on CentOS (consol/centos-icewm-vnc:1.4.0) by the one based on Ubuntu (consol/centos-icewm-vnc:1.4.0) - Ubuntu based image is smaller and the VNC server does not work in the current CentOS based image. Solves OOM-1819 Issue-ID: OOM-1821 Change-Id: I9e06ab8bfccb11ae8950717db5339062704a31f9 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-04-18Adding docker image list for 3.0.2Tomáš Levora1-0/+220
New docker image list based on Casablanca MR 3.0.2-ONAP Issue-ID: OOM-1802 Change-Id: Ic521cae2003299e1431c71750de9c603f07f9675 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-04-17Reducing number of NPMs in listTomáš Levora1-717/+319
Reducing list of NPMs needed for offline deployment based on download stats from Nexus repository from running environment Issue-ID: OOM-1709 Change-Id: I402c4802210a63ed90ab97f7bcbfe79852b7e92e 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-04-05Adding versions for infra related docker imagesTomáš Levora4-3/+8
1. latest tag replaced by version number for vnc server 2. added specific version for own_nginx image 3. version control improved in ansible roles accordingly Solves OOM-1766 Issue-ID: OOM-1767 Change-Id: I147c56b46a419188099d8ed3e78fed68810893e2 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-04-05Our bare repos need to have casablanca branchMichal Ptacek12-2489/+21
This is required to align with OOM charts, otherwise some components like DMAAP might be not initialized properly. Furthmore removing duplicated files, most of our data_lists are same for Casablanca MR and Casablanca base releases. Change-Id: I376410c7915d8f2682287c31392e2f3796adc990 Issue-ID: OOM-1771 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-03-28Update Maven artifact dependency list againkaihlavi2-0/+186
Updated additional Maven artifact dependencies for offline Nexus Issue-ID: OOM-1706 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com> Change-Id: I3c744be33447fc5816bc547c0ae3cce6428dc57c
2019-03-26Add python-jsonpointer as a new dependencyPetr Ospalý1-1/+1
Our custom ansible module requires python-jsonpointer module to deal with jsons. Change-Id: Idd7bfcf8fcf75e4397fba51d8219b73c57df5f0e Issue-ID: OOM-1758 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-03-26Merge "Sanitize input arguments validation"Michal Ptacek1-4/+18
2019-03-26Merge "Fix issue with proxy for deb download behind proxy"Michal Ptacek1-5/+5
2019-03-26Merge "Fix git repos not using tag 3.0.1-ONAP"Michal Ptacek1-3/+3
2019-03-20update for missing nginx tarfileeronkeo2-3/+7
This update adds an entry to the docker_images lists file to ensure it is saved as a tar file and available for processing in the "Prepare infra related images to infra folder" section. Change-Id: I293144daa96b3c579443a2e76a407ea04821dce7 Issue-ID: OOM-1738 Signed-off-by: eronkeo <ronan.keogh@est.tech>
2019-03-20Fix issue with proxy for deb download behind proxyTomáš Levora1-5/+5
As curl tries to use ftp transfer for some of the packages in the list, what causes an issue behind some corporate proxies, this commit unifies the sources to prevent ftp Issue-ID: OOM-1746 Change-Id: Ia7cac5a1c3d508749c3bea830c3df1137128e709 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-03-20Fix git repos not using tag 3.0.1-ONAPTomáš Levora1-3/+3
Tag 3.0.1-ONAP is not created for projects not included in the Casablanca Maintenance release, so casablanca branch is used instead Issue-ID: OOM-1745 Change-Id: I652ab0a87ddcdda0d72088609fdd1ce678159ff0 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-03-20Merge "Update Maven artifact dependency list"Michal Ptacek2-496/+638
2019-03-20Update Maven artifact dependency listkaihlavi2-496/+638
Update required Maven artifact dependencies for offline Nexus to Casablanca level Change-Id: I2c0eb230e05bb691911497eff4439b121b2a01d5 Issue-ID: OOM-1706 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-03-18Sanitize input arguments validationBartek Grzybowski1-4/+18
This patch ensures non-positional parameters are given past positional args. So far mixing them led to malicious script behaviour. Change-Id: Idf2b6a57d0cd8561e74e467f68ddc5d086e7a0c0 Issue-ID: OOM-1621 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-03-14Don't remove target dir by defaultBartek Grzybowski1-6/+23
If target dir given as an argument is not empty script exits and gives verbose reasoning. Introduced '--force' flag to allow overwriting non empty target dir. Improved usage synopsis. Change-Id: Ic03c926011a41e9620c941f28dbc580b5b9933ac Issue-ID: OOM-1621 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-03-08Merge "Refine application_pre_install_role variable usage"Michal Ptacek1-5/+5
2019-03-07Refine application_pre_install_role variable usageBartek Grzybowski1-5/+5
As 'application_pre_install_role' variable set in config/application_configuration.yml must stay in sync with patch role directory name defined in package.conf under APP_CONFIGURATION variable, it's name shall stay under complete user control without any variable as part of it's name. App_helm_build_targets list and app_helm_chart_name should default to 'onap' in application_configuration.yml as customizing them isn't supported at the moment. Also fixed some wording in comments/docs in relevant files. Change-Id: I82b6dd519fbc3426739a11fac1e02eb495a668c0 Issue-ID: OOM-1697 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-03-07Merge "Replaced casablanca by tag 3.0.1-ONAP"Michal Ptacek1-6/+6
2019-03-04Merge "Download of infra related docker images"Michal Ptacek4-5/+9
2019-03-04Merge "Rename casablanca patch file"Petr Ospalý1-1/+1
2019-03-04Replaced casablanca by tag 3.0.1-ONAPTomáš Levora1-6/+6
As the tag 3.0.1-ONAP already exists, need to replace the branch in the related git repo list Issue-ID: OOM-1696 Change-Id: I8ebc40ee78c49caee4a42efe3b62fd791b75a149 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-03-04Download of infra related docker imagesTomáš Levora4-5/+9
Fixing download and save of docker images needed for infra and loaded in runtime. Removed infra related image from regular list to not push it unnecessarily to nexus repository. Solves OOM-1669 and OOM-1682 Issue-ID: OOM-1682 Change-Id: I6f4fc0a46cdfb820eb70707f533b5ca5e977cccc Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-28Rename casablanca patch fileMilan Verespej1-1/+1
Since there is no difference in patching between 3.0.0 and 3.0.1 release there name of patchfile that includes this tag is unnecessary and confusing. Issue-ID: OOM-1687 Change-Id: I751398f15c38dab83e36ed0b8f555533497291f8 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-02-28Save docker images based on listTomáš Levora2-7/+6
Save all docker images to tarballs based on list instead of saving all local registry to prevent not necessary images in the package Issue-ID: OOM-1683 Change-Id: Iaf4e092ff124f753d50be876d6ab564c7f349ddc Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-28Fixed path to list for git repos downloadTomáš Levora2-2/+2
Added missing part of file name for correct dowload of git repositories Issue-ID: OOM-1684 Change-Id: Ic8235a04ea12e13ca7e4165734bd15a81f7c8578 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-27Merge "Add download of missing dependency python-docker"Tomáš Levora1-0/+4
2019-02-15Adding updated list files for ONAP 3.0.1Tomáš Levora10-25/+2551
This change is adding updated resources lists for offline-installer for the tag onap_3.0.1 It's fixing some issues messed by wrongly done rebase in a previous patch and sets some default values Issue-ID: OOM-1615 Change-Id: I58001860d4accdf89cacd315d1af81240aee1303 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-14package script do not fail on errorSamuli Silvius1-2/+3
Make build/package.sh script to fail on all errors. Issue-ID: OOM-1660 Change-Id: I3537c719740d4476c07dce284922e352460ae52e Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-02-14Add download of missing dependency python-dockerTomáš Levora1-0/+4
Fixing a bug with missing python-docker package in local RHEL repository for offline-installer Issue-ID: OOM-1657 Change-Id: I42152f8acf81afcd825bd79378c5a8a8a803d047 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-14Fix nfs on nodes does not install nfs packagesMilan Verespej1-1/+1
Issue-ID: OOM-1640 Change-Id: Ieb8d736e543d58facb9a84c3366c5b15418e17d2 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-02-13Merge changes Idcc4c510,I81261f51,Ica9fc768,I7b5d135aMichal Ptacek2-128/+133
* changes: More default values and simplify onap config Clarify packaging variables documentation Helm install optional and default values Helm charts dir commenting causes / dir copying
2019-02-13Merge "Updated list of http files for Casablanca"Petr Ospalý2-5/+5
2019-02-13More default values and simplify onap configSamuli Silvius1-1/+9
Populate more default values for ansible all.yml configuration to make it simpler by default for user. Removed project_configuration variable as it caused just confusion. Replaced that mostly by using app_name variable. According to above changed simplified actual configuration config/application_configuration.yml used to install onap. Mostly removed repeation of comments. Also updated ansible/application/README.md that was not updated for a while. Issue-ID: OOM-1633 Change-Id: Idcc4c510b64bb61edd874d0e0616cdb41938f2d3 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-02-12Clarify packaging variables documentationSamuli Silvius2-121/+102
For the user package.sh/package.conf is a bit confusing and variables are not well named nor documented. Binary definition can be also simplified by providing just single directory to take binaries from. Corresponding variable documentation on installer side (ansible code) is also confusing and missing relation to packaging variables This commit aims on improving that documentation. Issue-ID: OOM-1633 Change-Id: I81261f51d393f434eac26c4a46624388671bd36b Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-02-12Helm install optional and default valuesSamuli Silvius2-9/+23
Make Helm applicaton installation optional by allowing user not to provide Helm charts. Then only empty Kubernetes cluster will be installed. Provide some reasonable default values for Helm charts configuration variables both in package script and ansible installer itself. User provided Helm charts configuration must be in sync with packaging and installer, provided some clarifying comments for that. Issue-ID: OOM-1629 Change-Id: Ica9fc76856cb50c9d636bea99a326736736c7a56 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>