summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-03-07Ignore checksum from existence check of resourcesSamuli Silvius2-1/+1
To speed up resource packages existency check, ignore checsum. This change was accidentally left out from previous commit as merging was not communicated. Issue-ID: OOM-1654 Change-Id: I567eaba49e6a5244d51187d42af719bf360b41f0 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-03-07Refine application_pre_install_role variable usageBartek Grzybowski5-16/+20
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-07Adding postinstall section in InstallGuideMichal Ptacek1-0/+30
Describing common issues with onap deployments into InstallGuide. Change-Id: I7b039fbc357901c8bfa1d57db69f9344eea07077 Issue-ID: OOM-1701 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-03-07Fix wrong detection of uploaded resourcesMilan Verespej3-21/+31
Issue-ID: OOM-1596 Change-Id: I091cd558f7574f49dddf4380df24e11141a4b78d Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-03-07Re-factored resources upload into roleSamuli Silvius11-164/+175
Whole functionality of resource files upload is implemented in resource-data role instead of playbook level tasks. This will make roles easier to test and make it easier to implement other OS support later. Issue-ID: OOM-1654 Change-Id: I3d3da9381b0e804f511ee854c41554b924d18883 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-03-07Merge "Replaced casablanca by tag 3.0.1-ONAP"Michal Ptacek1-6/+6
2019-03-06Disable all default repositoriesBartek Grzybowski2-8/+42
This patch allows configuring multiple repositories via 'package_repositories' dict. It also disables all default repositories not to break 'yum' operation in environment without route to Internet. Issue-ID: OOM-1632 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Change-Id: Id5e81e9d60d15393d5d2e12aef3da476a3b0d4c3
2019-03-06Remove useless deploy_package_repository flagBartek Grzybowski1-3/+0
Support for deploy_package_repository is only partial, setting it to 'false' would crash ansible on package installation from offline repository which wouldn't be configured then. Issue-ID: OOM-1632 Change-Id: I26d748505906703d1ee41ef3d310c1a14ff5066a Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-03-06Merge "Improve nginx role testability"Michal Ptacek2-12/+28
2019-03-05Merge "Add more files to .gitignore"Michal Ptacek2-0/+3
2019-03-05Merge "Re-factor nexus role to streamline playbook"Michal Ptacek10-49/+46
2019-03-05Add more files to .gitignoreBartek Grzybowski2-0/+3
Added additional files generated at packaging time to .gitignore not to mess up working tree Issue-ID: OOM-1697 Change-Id: I6c6194a7109aa1862cff0448566eff1db01c13f9 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-03-04Re-factor nexus role to streamline playbookSamuli Silvius10-49/+46
Move nexus functionality into nexus role from infrastructure playbook. This will make role easier to test and make it easier to implement other OS support later. Issue-ID: OOM-1653 Change-Id: I1af2bfef5aa4d6c7b819f5fc40f95c6e8303598c Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-03-04Merge "Use 'package_facts' module in firewall role"Michal Ptacek4-11/+13
2019-03-04Merge "Download of infra related docker images"Michal Ptacek4-5/+9
2019-03-04Merge "package-repository role to streamline playbook"Michal Ptacek4-24/+24
2019-03-04Merge "Dont crash patching on missing chart file"Michal Ptacek1-11/+25
2019-03-04Merge "Rename casablanca patch file"Petr Ospalý3-2/+2
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-04Merge changes from topic 'infra'Petr Ospalý3-9/+8
* changes: Save docker images based on list Fixed path to list for git repos download
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-03-04Merge "Create setup role"Michal Ptacek3-24/+37
2019-03-03package-repository role to streamline playbookSamuli Silvius4-24/+24
Create own role for repository handling to move functionality to roles from playbooks. This will make roles easier to test and make it easier to implement other OS support later. Issue-ID: OOM-1649 Change-Id: Ie8d25f83c54ec9f5a50fc6376a1ba7e166f07132 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-03-03Improve nginx role testabilitySamuli Silvius2-12/+28
Moving ports and volumes to defaults to make them easier customiced. Change-Id: I8b5418443f0b55ef61890a08c530040c07617122 Issue-ID: OOM-1693 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-02-28Dont crash patching on missing chart fileMichal Ptacek1-11/+25
In some deployments not all chart files might be present. We should not fail if some components are not deployed. Issue-ID: OOM-1691 Change-Id: I6a0ae05e753a2de6301ee0188022a958868776ad Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-02-28Use 'package_facts' module in firewall roleBartek Grzybowski4-11/+13
Centos iso image doesn't have 'yum-utils' package with 'repoquery' binary which causes 'yum' module to crash. Using more generic 'package_facts' fixes that. This patch also introduces more general compatibility with RedHat/Debian based distros. Issue-ID: OOM-1632 Change-Id: Ica026c0f9a9ffa9e307f7cba589900962b0db4e7 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-02-28Rename casablanca patch fileMilan Verespej3-2/+2
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-26Create setup roleSamuli Silvius3-24/+37
Creating setup role and moving functionality from setup playbook into new role. This will make roles easier to test and make it easier to implement other OS support later. Issue-ID: OOM-1663 Change-Id: If8b93066997c2442c0b94cb2a95fb535d9560b2b Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-02-26Add support for ONAP documentation projectPetr Ospalý5-0/+14
Provided the mandatory doc structure: docs/ index.rst ... Added a couple of .gitignore for better testing and development. Change-Id: I722806681e4844e0ea915006bc7de6018d3073d7 Issue-ID: OOM-1672 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-02-21Fixed an issue in RST formatTomáš Levora1-7/+12
Fixed errors in tables mainly with blocks arround lines 321 and 324 causing troubles with correct interpretation Issue-ID: OOM-1613 Change-Id: Ia265a5d5f85412ac237c790fec32fb62f0dfba07 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-20Merge "Adding updated list files for ONAP 3.0.1"Petr Ospalý10-25/+2551
2019-02-19Add Installation guide for the offline-installerPetr Ospalý1-0/+421
Change-Id: I033755e0c9b2d5305b360e15b608a68f6f99d6ca Issue-ID: OOM-1630 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-02-18Merge "Fix site.yml playbook by removing the setup.yml"Samuli Silvius1-2/+10
2019-02-15Merge "Fix for malformed certificate issue"Michal Ptacek1-1/+1
2019-02-15Fix for malformed certificate issueMichal Ptacek1-1/+1
Without this patch certificate is distributed in malformed shape and leads to policy-drools pod not working Issue-ID: OOM-1662 Change-Id: I1e5f51c6aa7857a9347d2d8ef8d523508d094df0 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-02-15Fix site.yml playbook by removing the setup.ymlPetr Ospalý1-2/+10
setup.yml is an optional playbook which may be replaced by other means of securing the passwordless login Change-Id: Ia64eee6351e9cabc638149b5ed668885058aef89 Issue-ID: OOM-1661 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
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-14Conditional login update after aux_data_path setMichal Ptacek2-0/+2
After setting-up of default value for aux_data_path some of the conditional logic must be updated. Issue-ID: OOM-1659 Change-Id: I0472c2e848f9215186b8aa11557165f606cac9d4 Signed-off-by: Michal Ptacek <m.ptacek@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-14Merge "Fix typo in helm plugins path"Michal Ptacek1-1/+1
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 wrong value for booleanMilan Verespej1-1/+1
Issue-ID: OOM-1629 Change-Id: I80ea6e72c9e5dbe3fdc63db0d177f541c749c58e Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-02-14Fix typo in helm plugins pathMilan Verespej1-1/+1
Issue-ID: OOM-1638 Change-Id: I00607f4861d153dc73f9ce516d9bd3b9c490a9cc Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-02-14Fix nfs on nodes does not install nfs packagesMilan Verespej3-2/+11
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 Ptacek7-290/+237
* 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 "Master playbook for installation"Michal Ptacek1-0/+12
2019-02-13Merge "Updated list of http files for Casablanca"Petr Ospalý2-5/+5