summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2019-06-26Merge "Remove artifacts left by 'dns' role tests"Samuli Silvius3-0/+13
2019-06-26Merge changes from topic "bin_utils"Samuli Silvius9-37/+21
* changes: Fix tests for binaries preparation in installation steps Add binaries preparation to installation steps
2019-06-26Fix tests for binaries preparation in installation stepsBartek Grzybowski5-6/+7
Change-Id: Ib28bda24b711111c13bbaf9bd2628abd2001a1a9 Issue-ID: OOM-1925 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-06-25Merge "Updated inventory template in install guide"Tomáš Levora1-40/+55
2019-06-25Updated inventory template in install guideMichal Zegan1-40/+55
Updated the inventory file template in install guide to cover new group structure. Just copy-paste of current inventory/hosts.yml same as before. Change-Id: Iade5f8120b06bccebf8f156b2637998722ecfa07 Issue-ID: OOM-1778 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-25Streamline nexus role tests by using smaller test imagesBartek Grzybowski2-7/+6
A 140mb haproxy image was substituted with tiny alpine image to make CI tests faster. Change-Id: Ic1a234df8f293e12a6e864817a19bf5445f10fe9 Issue-ID: OOM-1942 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-06-25Remove artifacts left by 'dns' role testsBartek Grzybowski3-0/+13
'dnsmasq.tar' docker image file will be removed after test invocation. Change-Id: I29668ece8c745794ad9462e527ca144bea6f4fc2 Issue-ID: OOM-1943 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-06-24Merge "Add cleanup stage to 'nexus' role test"Samuli Silvius6-47/+42
2019-06-24Merge changes from topic "kubernetes-inventory-groups"Samuli Silvius8-28/+50
* changes: Add etcd group support to rke role Add kubernetes-etcd group Make rke to use new group structure Add kubernetes-node group for workers
2019-06-24Add cleanup stage to 'nexus' role testBartek Grzybowski6-47/+42
List of docker images to download/cleanup by the prepare and cleanup stages is now defined in one place (prepare-nexus role defaults) for clarity and ease of management. Change-Id: I4c18912fd8c5eadc4d68e1bc10f5c2251d58634e Issue-ID: OOM-1915 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-06-24Merge "Add tests for custom ntp authority mode in 'chrony' role"Samuli Silvius3-0/+109
2019-06-24Merge "Add role level tests for 'vncserver' role"Samuli Silvius8-0/+79
2019-06-20Refactor download.py and remove not used filesMilan Verespej10-986/+134
Final commit in download refactoring series. Issue-ID: OOM-1803 Change-Id: I5b71908903ef131b8c16d08225c4d2e2de655130 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-18Refactor of rpm downloadingMilan Verespej1-0/+130
Issue-ID: OOM-1803 Change-Id: Ic1efb371409daddd5910e067ad1f0a85cc7db4ab Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-18Refactor pypi packages downloadMilan Verespej1-0/+101
Issue-ID: OOM-1803 Change-Id: I65056208ed3e89777c3511650f8a5aab7396043b Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-18Refactor and improve git repository cloningMilan Verespej2-0/+196
Issue-ID: OOM-1803 Change-Id: Ia8e222c2b70b58ed1f7dbc4254ea2f5cb5a9ef7b Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-18Refactor and improve docker image downloadingMilan Verespej2-1/+246
Issue-ID: OOM-1803 Change-Id: I4e648d49835faa60165725d1ca4ec22ba1e3e12b Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-18Refactor npm packages downloadMilan Verespej2-2/+136
Series of commits to improve python download scripts. Issue-ID: OOM-1803 Change-Id: I199660ab121038780c34065f78538bb4e7b07eb5 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-18Refactor http files downloadMilan Verespej4-0/+396
Original download scripts got out of hand. This series of commits improves style of code (code duplicates, etc.) Issue-ID: OOM-1803 Change-Id: I7b82c1711d27fe450430fbe6d962a450301b0be0 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-14Add binaries preparation to installation stepsTomáš Levora6-32/+15
Adding binaries preparation into installation steps as rke binary need to be renamed and helm binary need to be unarchived. Removing those previously manual steps from BuilGuide Issue-ID: OOM-1925 Change-Id: I504320fb82e1c8f6db2f99c5dfd4518192eae895 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-06-14Merge "Fix missing import in helm_deployment_status.py"Petr Ospalý1-5/+3
2019-06-14Merge changes from topic "OOM-1810"Petr Ospalý3-0/+49
* changes: Add verification tests for 'chrony' role Setup 'cluster_ip' fact for infra host in 'chrony' role tests
2019-06-14Merge changes from topic "OOM-1910"Petr Ospalý9-12/+92
* changes: Clean application role mocked artifacts directories Add custom patch role scenario to 'application' role
2019-06-14Merge changes from topic "OOM-1915"Petr Ospalý9-8/+69
* changes: Update 'busybox' and 'haproxy' docker images path in tests Add role level tests for 'nexus' role Improve 'nexus' role testability
2019-06-14Merge "Fix issue with yaml.load in docker collector"Petr Ospalý1-1/+1
2019-06-14Merge "Add directory remove on failed cloning"Petr Ospalý1-2/+5
2019-06-14Add data list for bin utilsMilan Verespej3-65/+16
Since bin utils can be downloaded as simple http file this script remove previous shell script and changes documentation to add necessary steps. Issue-ID: OOM-1803 Change-Id: I4ced011ce47302349f9e7db74d0ef7f0fe9c4fa0 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-13Fix missing import in helm_deployment_status.pyBartek Grzybowski1-5/+3
After recent changes a regression emerged due to not properly imported 'subprocess' module 'check_output' function. Predefined list of available healthcheck modes is also removed to allow passing any mode that will be supported in future by healthcheck script. Change-Id: I2dc681da079f75449f9f2456249d51b3c859f434 Issue-ID: OOM-1806 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-06-13Update 'busybox' and 'haproxy' docker images path in testsBartek Grzybowski2-6/+6
At some point names of busybox and haproxy images have changed in nexus3.onap.org registry. This patch updates those names in testing framework. Change-Id: Iaad4976118bfcd708f2b8fccb8df61f6059ac1f4 Issue-ID: OOM-1915 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-06-13Add role level tests for 'vncserver' roleBartek Grzybowski8-0/+79
A cleanup stage is also added to clean testing artifacts. Change-Id: I2255a0e90a0f609bd927d3d44dd05b5847fbdfb0 Issue-ID: OOM-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-06-12Add pypi packages downloading python scriptMilan Verespej4-63/+115
Issue-ID: OOM-1803 Change-Id: I5470bad5ad862362976b56350c931929ee4b69d6 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-12Merge "Fixing mso-simulator patching"Michal Ptacek2-12/+21
2019-06-12Add verification tests for 'chrony' roleBartek Grzybowski2-0/+45
Testinfra tests are added for Molecule verifier. Change-Id: Id044cdc5535af97ce3ac48da034a9a6a1ca8cbd3 Issue-ID: OOM-1810 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-06-12Add tests for custom ntp authority mode in 'chrony' roleBartek Grzybowski3-0/+109
By default 'infra' node is set up as a time authority for nodes. This patch adds tests for alternative supported scenario where external time authority service is given. Change-Id: I114418e79fa90b3af1c62a148ca91af3acf2bb2b Issue-ID: OOM-1810 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
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-10Setup 'cluster_ip' fact for infra host in 'chrony' role testsBartek Grzybowski1-0/+4
This patch sets up a missing 'cluster_ip' fact for infrastructure host without which 'server' directive was set up improperly in chrony.conf on 'node' host. Change-Id: I3d98788b7eb54bf984d165a50072f51fd85c08fb Issue-ID: OOM-1810 Signed-off-by: Bartek Grzybowski <b.grzybowski@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-07Add role level tests for 'nexus' roleBartek Grzybowski4-0/+60
Change-Id: If8decc241614e4fe802352cc783b59f8d7ec70b4 Issue-ID: OOM-1915 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>