summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-03-20Merge "Add default logging settings for docker"Michal Ptacek5-92/+345
2019-03-20Merge "Changing keystore to trustore in policy"Tomáš Levora1-20/+20
2019-03-19Merge "Change cert signing from command to module"Michal Ptacek2-29/+14
2019-03-18Add default logging settings for dockerPetr Ospalý5-92/+345
- Default configuration of logging for docker daemon. - New ansible module for generic handling of JSON files. - New setting in ansible.cfg: jinja2_native = True To preserve double-quotes in json values (OOM-1698). Issue-ID: OOM-1681 Change-Id: I8f8e19ebc290fd48a63146e96f418b98344e4433 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-03-18Merge "Don't remove target dir by default"Michal Ptacek1-6/+23
2019-03-15Changing keystore to trustore in policyMichal Ptacek1-20/+20
Casablanca policy is using different file as its keystore. We need to adjust our patch accordingly Issue-ID: OOM-1727 Change-Id: I67cb3f098a8e56467594832050dbc2c66dbe124c Signed-off-by: Michal Ptacek <m.ptacek@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-14Change cert signing from command to moduleMilan Verespej2-29/+14
With newer Ansible we are now able to sign nexus certificate with own CA using openssl_certificate module. Issue-ID: OOM-1700 Change-Id: Idc54955160caef4a57bd50fc86678923511b5bce Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-03-14Fix repo checkout cmd in build guideBartek Grzybowski1-1/+1
As there is no 'casablanca' branch 'master' should be checked out. Change-Id: I9fba8ef0b10d3de3891d0e7612571789dfdc9449 Issue-ID: OOM-1621 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-03-12Improve certificates role testabilitySamuli Silvius7-96/+106
Move certs source path to defaults and make other small re-factoring. Issue-ID: OOM-1694 Change-Id: Ie0a4b543b40314dc5a7772dd4667b1ad218d3543 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-03-08Merge "Refine application_pre_install_role variable usage"Michal Ptacek5-16/+20
2019-03-08Modify ansible version in docker/chrootPetr Ospalý1-1/+1
Updating to ansible version: 2.7.8 Current ansible version: 2.6.3 The current version breaks json values in playbooks. Change-Id: I9858339a08711ad921122b2e7b6ccf04d62454a3 Issue-ID: OOM-1698 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-03-08Merge "Adding postinstall section in InstallGuide"Michal Ptacek1-0/+30
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