summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-09-04Add inventory for cicdansible playbookMichal Zegan5-0/+113
This change adds the basic inventory file and group_vars used when running cicdansible playbook to deploy onap on openstack. This inventory contains only instances that must be present, other inventory entries are dynamically registered during install. Also, it delegates to group_vars for things like floating ip addresses. group_vars contains default settings for the playbook, and especially the all.yml must be modified for the environment to be deployed. Change-Id: Ia93e6b98841d7edc45699b44b2479af6daff6c4f Issue-ID: OOM-2042 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-09-04Add heat template to deploy onap infrastructureMichal Zegan5-0/+411
This change adds a heat template that deploys empty onap infrastructure on open stack. Infrastructure consists of an installer instance + infra instance + specified number of kubernetes nodes. All instances are empty after creation, and live in the internal network with cidr 10.1.0.0/24. They are isolated by security groups in order not to have external network access except possibly the intranet, but it is possible to enable internet access if required. Change-Id: I70024e1e2344ed75f443f03b2239b460a71d0151 Issue-ID: OOM-2042 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-08-22Add the .gitignore for cicdansibleMichal Zegan1-0/+2
Adds the .gitignore file for the ansible playbook. Change-Id: If6e52f55e045ccccd164992108d1977c2a46a413 Issue-ID: OOM-2042 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-08-22Merge "Add helm redeploy tool"Michal Ptacek1-0/+537
2019-08-16Add helm redeploy toolPetr Ospalý1-0/+537
Simple script to try to redeploy failed charts or explicitly desired chart(s). It supports override files for helm - but please, beware that helm or more specifically the onap helm plugin (deploy.sh) is not capable of handling whitespace in filenames so I don't support that in the script either (I made a version which does but it is no use if helm will break anyway). Change-Id: I69bf0672a64c45e30d4e4239da561647d00637a7 Issue-ID: OOM-1984 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-08-16Merge "Removing deprecated packaging script"Michal Ptacek4-360/+5
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-15Add .gitreviewCédric Ollivier1-0/+4
It eases configuring remote via git-review -s Issue-ID: DOC-505 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I2f82f8797669d1bf9e0bbefcbb345ce4e463a60a
2019-07-15Merge "Remove kubectl install from prepare-rke"Michal Ptacek2-6/+3
2019-07-15Merge "Fix build guide/script regarding python versioning"Michal Ptacek3-3/+3
2019-07-15Merge "Update INFO.yaml file"Michal Ptacek1-0/+72
2019-07-12Remove kubectl install from prepare-rkeMichal Zegan2-6/+3
This is needed because prepare-kubectl role can do just the same. Also fixed rke tests to match. Change-Id: I808df650a5f755e09c26d13db62ecfc1504a317c Issue-ID: OOM-1907 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-07-12Removing deprecated packaging scriptTomáš Levora4-360/+5
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-12Update INFO.yaml fileJessica Wagantall1-0/+72
Update missing information blocks and indentation to pass verify job. Change-Id: I41c96af4109df516fea771d1b0681bc2bff156d6 Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
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 "Adding generating of docker images list"Michal Ptacek1-0/+22
2019-07-10Merge "Final doc tuning for Dublin branch"Michal Ptacek3-24/+31
2019-07-10Merge "Removing duplicates from onap list"Michal Ptacek1-22/+0
2019-07-10Final doc tuning for Dublin branchMichal Ptacek3-24/+31
This commit is doing just some small polishing of documentation before creating Dublin branch for the offline installer. Issue-ID: OOM-1870 Change-Id: I969b15400eb8064d6d097caa0f712fbf7ec5277a Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-07-10Merge "Verify dependencies for build_nexus_blob.sh are installed"Michal Ptacek1-2/+19
2019-07-10Merge changes Iee382756,I473f022cMichal Ptacek5-3/+6
* changes: Allow overriding docker version in prepare-docker-dind Specify source ip for rancher agent
2019-07-10Merge "Use cluster_ip for rancher server url"Michal Ptacek2-2/+1
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-09Adding generating of docker images listTomáš Levora1-0/+22
Adding a note to BuildGuide with the possibility to generate docker images list based on actual OOM repository Issue-ID: OOM-1965 Change-Id: I93c9f754f6bd135396eedefeba22c8be6f77388d Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-07-09Merge "Changing doc section related to packaging"Michal Ptacek2-83/+23
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-09Merge "Modify the way override works"Tomáš Levora3-7/+22
2019-07-08Changing doc section related to packagingMateusz Pilat2-83/+23
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-08Modify the way override worksMichal Zegan3-7/+22
Now the generated app_helm_override_file and the list of helm overrides is separate. The former is to contain things like user provided overrides, the latter is the list of absolute paths to preexisting helm value files. The playbook joins all that into a final list of override files that is then passed to helm. Change-Id: I8b8ded38b39aa9a75e55fc63fa0e11b986556cb8 Issue-ID: OOM-1951 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-07-08Merge "Add docker local registry cleaning script"Michal Ptacek2-2/+73
2019-07-08Merge "Adding notes from vFWCL in Dublin"Michal Ptacek2-0/+337
2019-07-05Allow overriding docker version in prepare-docker-dindMichal Zegan3-3/+3
This change allows overriding of docker version to be installed when calling prepare-docker-dind role. It also enables downgrading, allowing the given version to be taken into account. Previously the specified version was completely ignored. Change-Id: Iee3827564f130498e9fad69ddea55278346b7cfe Issue-ID: OOM-1906 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-07-05Specify source ip for rancher agentMichal Zegan2-0/+3
This change explicitly sets cluster_ip as rancher agent source ip. This avoids eventual problems with ip autodetection, especially that we know the correct ip. Change-Id: I473f022c56301cefeb98ccb5bb94d78e7ac491a7 Issue-ID: OOM-1906 Signed-off-by: Michal Zegan <m.zegan@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-07-05Adding notes from vFWCL in DublinMichal Ptacek2-0/+337
This is just to share notes from the vFWCL exercise in Dublin. Issue-ID: OOM-1900 Change-Id: I76cc577342a8e25a900b119462ff6c7768189382 Signed-off-by: Michal Ptacek <m.ptacek@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 Ptacek20-986/+1336
* 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 Ptacek2-2227/+5
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-26Merge "Streamline nexus role tests by using smaller test images"Samuli Silvius2-7/+6