summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-06-12Merge "Fixing mso-simulator patching"Michal Ptacek2-12/+21
2019-06-11Set version for MarkupSafe to 0.23Tomáš Levora1-1/+1
As MarkupSafe>=1.0 is not found in Nexus, fixing version to 0.23 which is the last version possible to use with Jinja 2.10.1 Jinja 2.10.1 is required by flask 1.0.3 installed in mso-simulator container in oof-oof-cmso-service Relates to OOM-1869 Issue-ID: OOM-1920 Change-Id: I02d5fb01db12aa2a3a55df4be65817e22b589c32 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-06-07Fixing mso-simulator patchingMichal Ptacek2-12/+21
Original patch did not work as /etc/hosts file is administrated by kubernetes. That msosimulator.sh is also sourced into configMap and wrongly transferred back to shell script. This patch is providing smarter way for patching /etc/hosts file which is still needed. Change-Id: I52595f7bd5231893621e08a2fd355bdb57057222 Issue-ID: OOM-1869 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-06-07Merge "Replace 'with_items' loop statements with 'loop' keyword"Samuli Silvius5-11/+14
2019-06-07Merge "Add cleanup stage to 'nginx' role test"Samuli Silvius3-0/+18
2019-06-07Merge "Add role level tests for 'nginx' role"Samuli Silvius5-1/+55
2019-06-07Merge "Use the original playbook in play-resources tests"Samuli Silvius7-20/+27
2019-06-06Merge "Fix docker search"Tomáš Levora1-0/+1
2019-06-05Fixing dns not working for other containers issueMichal Ptacek1-0/+1
If host networking is not used for dns container, dns wont work for other infra containers. This is unintentionally removed in https://gerrit.onap.org/r/#/c/oom/offline-installer/+/87422/ Change-Id: I07ce6874e7baedadbdbbcf0913f1d683e19f93cd Issue-ID: OOM-1866 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-06-05Merge changes I6421b55d,Icdb55918Samuli Silvius13-619/+159
* changes: Wrapping-up download refactorisation Adding rpm data list
2019-06-05Merge "Add molecule tests for kubectl role"Samuli Silvius5-0/+63
2019-06-05Merge "Add prepare-kubectl role"Samuli Silvius2-0/+21
2019-06-05Merge "Add tests for helm role"Samuli Silvius5-0/+64
2019-06-05Merge "Add prepare-helm role"Samuli Silvius2-0/+21
2019-06-05Merge "Remove the prepare-docker test role"Samuli Silvius6-84/+0
2019-06-05Use the original playbook in play-resources testsMichal Zegan7-20/+27
This commit includes the original resources.yml playbook by using import_playbook. Some modifications were needed mostly because of the way import_playbook works. Also moved the setup role call to prepare. Change-Id: I8745d5e43fd2050d47970c7d19bbbc4db8a5847f Issue-ID: OOM-1912 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-05Add cleanup stage to 'nginx' role testBartek Grzybowski3-0/+18
Change-Id: Idddc421d33698c08b19cc63f4e203d0964341462 Issue-ID: OOM-1913 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-06-05Add role level tests for 'nginx' roleBartek Grzybowski5-1/+55
Introduce full role level test coverage for 'nginx' role. Change-Id: I7c634775433a2336e43cdfc73d4698d5e2933f0e Issue-ID: OOM-1913 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-06-05Wrapping-up download refactorisationMichal Ptacek12-619/+138
This commit is making required adaptations mainly in BuildGuide and removing deprecated old version of download scripts. Change-Id: I6421b55d116831dc3b47c7630e91d361d56414c8 Issue-ID: OOM-1803 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-06-05Add molecule tests for kubectl roleMichal Zegan5-0/+63
This commit adds molecule tests for kubectl role. That includes verification for kubectl to be installed and runnable. Change-Id: I4cb0679ed6826555a6d1f6cff4542ae52869f404 Issue-ID: OOM-1908 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-05Add tests for helm roleMichal Zegan5-0/+64
This adds molecule tests for the helm role. Change-Id: I5be27992062ca9039c141318bc54ce85ce35526b Issue-ID: OOM-1909 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-05Add prepare-helm roleMichal Zegan2-0/+21
This role downloads helm and places it in resources dir. It is needed for testing helm role. Change-Id: Ic7357f96d654a51592c332e4b61b0fe46a39270a Issue-ID: OOM-1909 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-05Merge "Add base download script"Tomáš Levora7-36/+199
2019-06-05Merge "Remove cleanup-rancher test role"Samuli Silvius1-18/+0
2019-06-05Merge "Remove cleanup-containers test role"Samuli Silvius1-6/+0
2019-06-05Merge "Removing rancher simulations from nginx"Michal Ptacek1-2/+0
2019-06-05Merge "Adapting to Dublin realase"Michal Zegan3-2/+4
2019-06-04Add prepare-kubectl roleMichal Zegan2-0/+21
This role is used to prepare for kubectl role tests. It may also be used when any other test needs installed kubectl, for example when verifying kubernetes cluster setup. Both cases are a bit different. Change-Id: Ie7a065c571d94f40cfd64c3eba78af3e84b3f08a Issue-ID: OOM-1908 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-04Adding rpm data listMichal Ptacek1-0/+21
This list contains full record of all needed rpms. We decided to enlist full list including versions to have full control over what will be installed and what was verified. Goal is to avoid issues about different dependencies coming later. It is expected that major change will cause download to fail which will work as early detection of problems. Change-Id: Icdb55918dc20660c2c835d0e759b3eb5bad1f2fd Issue-ID: OOM-1803 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-06-04Remove the cleanup-directories test roleMichal Zegan1-7/+0
This role is no longer needed after removing it's usage from the nfs role. Issue-ID: OOM-1902 Change-Id: I3f4d27e769c9edc3caef1b0d85a61f071e3a3b2f Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-04Removing rancher simulations from nginxMichal Ptacek1-2/+0
For Dublin/RKE we don't need to simulate those 2 domains, they were needed in Casablanca for rancher git repos. Change-Id: I66a2615284150c4b466994b0906bbe3e215793d5 Issue-ID: OOM-1800 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-06-04Add base download scriptMilan Verespej7-36/+199
This script is supposed to be used for convenience when downloading data from multiple lists at once. Issue-ID: OOM-1803 Change-Id: I4031ed3650f7880883e299b43c79e6bfd08c886c Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-04Remove cleanup from play-resourcesMichal Zegan1-23/+0
When play-resources does not use bindmounting, there is no need to manually clean up resource files. That makes it possible to remove cleanup.yml all together. This is in preparation to remove the othervise unneeded cleanup-directories role. Change-Id: Id6c05700e8cd2e9c8f91a3cfdf46022b170e1e1e Issue-ID: OOM-1902 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-04Do not use bindmounts for nfs testsMichal Zegan2-2/+2
This commit removes bindmounting of host directories to containers in play-resources tests. It seems that it is unneeded, and it is enough to just create anonymous volumes instead of cluttering host filesystem. This is one part of a preparation for removing the cleanup-directories role that won't be needed anymore. Note: similar changes were made to the nfs role tests, for the same reasons, but cleanup-directories is not used there Change-Id: Ib33543427d72b4bc7ede532e5eb9a5023931f1fe Issue-ID: OOM-1902 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-04Remove cleanup-rancher test roleMichal Zegan1-18/+0
This role is not used by rancher tests anymore. Issue-ID: OOM-1902 Change-Id: I989c41dfbf6dec8054befad87ac367bbf1afbc02 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-04Remove the prepare-docker test roleMichal Zegan6-84/+0
This removed the unused prepare-docker role. The dind version is now the only one used. Change-Id: Ic7c1c46ae06d931de7abac1f225675c8d6bf7dbd Issue-ID: OOM-1902 Issue-ID: OOM-1862 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-04Remove cleanup-containers test roleMichal Zegan1-6/+0
This removes cleanup-containers test role, that is not used by any tests after dind changes. Change-Id: I2244257de1faa2b268e9d2f74d286c19de99fab0 Issue-ID: OOM-1902 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-04Merge "Add molecule tests for rke role"Michal Ptacek14-0/+290
2019-06-04Replace 'with_items' loop statements with 'loop' keywordBartek Grzybowski5-11/+14
As of Ansible 2.5 'loop' keyword is a recommended way for looping statements instead of 'with_dict'. Change-Id: I19e00cc27e13955e2056840fd4ce99841bc824ad Issue-ID: OOM-1887 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-06-04Adapting to Dublin realaseroot3-2/+4
In Dublin: First project has taken ownership of own helm charts, oom repository must be obtained with subrepositories. By default no applications are enabled, introducing a way to submit more override files in to installer Issue-ID: OOM-1861 Signed-off-by: root <m.pilat@partner.samsung.com> Change-Id: I1724de6b87bd0e9d17df4d0f55615a3f1c439d40
2019-06-04Merge changes from topic "tags"Michal Ptacek1-19/+7
* changes: Remove tag support from nexus blob build script Fixing some typos in usage in build_nexus_blob.sh
2019-06-04Merge "Updating list of docker images for ONAP"Michal Ptacek1-48/+48
2019-06-03Merge "Updating PIP packages list for Dublin"Michal Ptacek1-1/+0
2019-06-03Merge changes from topic "collector"Michal Ptacek1-15/+27
* changes: Fixing bug in docker-images-collector.sh Add comment to automatically generated docker list Remove tag parameter from docker-image-collector.sh
2019-06-03Add molecule tests for rke roleMichal Zegan14-0/+290
This change adds molecule tests for the rke role, and modifies the rke role itself to be more idempotent/to pass linter. Note that this molecule test case uses a separate role to install docker in containers, that runs docker daemon inside of them instead of using host docker. Issue-ID: OOM-1778 Change-Id: I875f3ff2ab961e5428acee5a02287a8d2d6e9969 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-03Fix docker searchPetr Ospalý1-0/+1
Change-Id: I4dec01c0a2369b22c50cc9198f2355cbd5f87f82 Issue-ID: OOM-1905 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-06-03Merge changes from topic "OOM-1806"Michal Ptacek2-59/+122
* changes: Add doc for new healthcheck feature in helm_deployment_status.py Make healthcheck script output unbuffered Support running healthcheck in any mode supported Always show healthcheck output if it was run Support SSL certificate based authentication to kube API Add Kubernetes class to track API connection settings
2019-05-31Fixing bug in docker-images-collector.shTomáš Levora1-1/+8
Some images from oom/kubernetes/common/ were not correctly collected by creating_data/docker-images-collector.sh script Issue-ID: OOM-1886 Change-Id: I044ca8a26353da44cd6f8e94fcb822570c954b49 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-05-31Add comment to automatically generated docker listTomáš Levora1-3/+8
Add comment to docker image list generated by docker-images-collector.sh to reffer to commit id in case of ONAP or to project in other cases Issue-ID: OOM-1884 Change-Id: I7ff32fae84db3476495eb2e560c3bf61e41e2ddb Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-05-31Remove tag parameter from docker-image-collector.shTomáš Levora1-11/+11
Removing tag parameter from docker-image-collector.sh as it's not necessary as described in OOM-1881 Issue-ID: OOM-1885 Change-Id: Id83b396c4b994cfa659c518e3f03e704a84d65f0 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>