summaryrefslogtreecommitdiffstats
path: root/ansible/test/roles
AgeCommit message (Collapse)AuthorFilesLines
2022-04-19[MOLECULE] Setup Molecule for strimzi-kafka-operator roleBartek Grzybowski1-0/+11
Change-Id: I71161ec250190babecd092241e586f97fd7bcbca Issue-ID: OOM-2948 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-04-19[ANSIBLE][BUILD] Update RKE to 1.3.8Bartek Grzybowski2-2/+2
RKE upgrades to 1.3.8 Kubernetes upgrades to v1.22.7-rancher1-1 Kubectl upgrades to 1.22.7 Change-Id: Id17ffa1ce9aef08a6b0a8aa771e7f763d5cb9f02 Issue-ID: OOM-2948 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-03-16[MOLECULE] Configure and write tests for application-overrides roleOstap Batih2-0/+18
* configured molecule for application-override role for centos and ubuntu * wrote testinfra test for role Issue-ID: OOM-2889 Signed-off-by: Ostap Batih <o.batih@samsung.com> Change-Id: Iff17b0b9439f3fcb52eb6c4f3829f0c65b55c1a3
2021-11-25[MOLECULE] Download helm-push unconditionally in 'prepare-helm' roleBartek Grzybowski1-2/+1
Change-Id: I12035d5f22d947a54ce56404924ad74561c29546 Issue-ID: OOM-2883 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-11-15[ANSIBLE] Install cmctl utilityBartek Grzybowski1-0/+5
Cert-manager role will also install cmctl utility for cert-manager resources management. Change-Id: I4c4d9ecb243c951a190733230f310f4899c9bc23 Issue-ID: OOM-2871 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-11-10[MOLECULE] Add prepare-cert-manager roleBartek Grzybowski1-0/+11
Its purpose is to setup container for cert-manager role testing. Change-Id: Iae7db9d46f9aff02c388c93f02dd0d59bbcac46d Issue-ID: OOM-2871 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-02[MOLECULE] Upgrade RKE and kubectl versions in Molecule setupBartek Grzybowski2-2/+2
RKE upgrades to 1.3.0 kubectl upgrades to 1.19.14 Change-Id: I2fb9acae6bdc8d9bb39d0b9996f2a561fb8d2d73 Issue-ID: OOM-2818 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-02[MOLECULE] Add prepare-kube-prometheus-stack roleBartek Grzybowski1-0/+11
Change-Id: I03d96d7ee3a36883deb9939c2dcfec9d8bdf6db3 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-15[ANSIBLE 3.2.0] Upgrade 'chartmuseum' role's tasks to ansible 3.2.0Bartek Grzybowski1-0/+1
Change-Id: I96504d94eb4322857979a6ec37b2d63d4fe074df Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-15[ANSIBLE 3.2.0] Upgrade 'nexus' role's tasks to ansible 3.2.0Bartek Grzybowski1-0/+1
Change-Id: Ibeaea4b3b627c356521b4c847d56eeb922a8cca1 Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-13[ANSIBLE 3.2.0] Upgrade 'vncserver' role's tasks to ansible 3.2.0Bartek Grzybowski1-0/+1
Change-Id: Ie721fac402c3cd5725c770313194a9ad98a07f2d Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-13[ANSIBLE 3.2.0] Upgrade 'nginx' role's tasks to ansible 3.2.0Bartek Grzybowski1-1/+4
Change-Id: Ieba3f13a29240e0f8ed8ff6acb5472559a9134a5 Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-13[ANSIBLE 3.2.0] Upgrade 'dns' role's tasks to ansible 3.2.0Bartek Grzybowski1-0/+1
Change-Id: I6984396d15d0592313978c751fd109ee06d8febf Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-09[MOLECULE] Add cleanup task for 'certificates' roleBartek Grzybowski1-0/+8
Change-Id: Ifb9c9627d840158d8a4be3a1d1a1ea75dc4038c3 Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-03Upgrade rke version to 1.2.4 in Molecule setupBartek Grzybowski1-3/+1
Kubectl dependency is removed as it's no longer needed for rke tests. Change-Id: I0191b105e2a4cce1fe6e66678f4ce57fd2ce19ee Issue-ID: OOM-2686 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-03Upgrade kubectl version and download link in it's Molecule test setupBartek Grzybowski2-2/+2
Kubectl upgraded to 1.19.6 Change-Id: I331926c81b595c17700f76c4568bc76f5d1ae8c1 Issue-ID: OOM-2686 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-24Upgrade docker version in molecule rolesBartek Grzybowski2-2/+2
Docker release is upgraded to 19.03.15 Change-Id: I04099e32f312fe2e316ab9bac0ca3b75b7b29662 Issue-ID: OOM-2686 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-12Run chartmuseum as a docker containerBartek Grzybowski1-8/+14
A docker container for chartmuseum is run with chart storage volume mounted from hosts' resource dir for chart repo persistence across container/infra restarts. Change-Id: I692ff7a3d95414b439b15b5414bc8b959eb79414 Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-04Drop DIND specific test env settings for 'rke' role/playbookBartek Grzybowski1-6/+1
DIND usage was already dropped so those settings are no longer required. Change-Id: Ifd2b5f26196f84ff0167558c1d5cd4c8218124d7 Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-04Add test scenario for Helm v3Bartek Grzybowski1-1/+10
Change-Id: Iad5478f70533719e1076f3961613fddffb14eebd Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-03Change 'rke' role testing strategyBartek Grzybowski3-1/+29
So far Molecule framework setup allowed full rke cluster deployment in testing env but since rke cluster often fails to deploy in resource constrained CI environment this change switches testing strategy to only simulate 'rke up' operation. Change-Id: Ia221da6666d558e086cd24155f5bd81237d82388 Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-02Workaround RKE binary download issueBartek Grzybowski1-3/+7
RKE binary download was _randomly_ failing (in ONAP's CI minion only) with a message '_ssl.c:602: The handshake operation timed out' without any easily trackable reason. Hence switching from get_url ansible module to direct 'curl' command invocation which allows better timeout handling at connection phase. Change-Id: I70d734dfd8c04ba8b092350933c97c56f74d6208 Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-01-26Add 'chartmuseum' roleBartek Grzybowski1-0/+12
Added 'chartmuseum' role which runs Helm repository server using chartmuseum. Change-Id: I8745cd7e602e147fb656297e0afb8e82a5d058ff Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-01-26Improve 'application' role test coverageBartek Grzybowski1-0/+9
Helm plugin installation task is now also covered Change-Id: Ib0a724de5dc1b300ea6cd27fe363b99b071d787b Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-05-28Updating RKE version to Frankfurt6.0.0-ONAPTomáš Levora1-1/+1
Updating RKE to v1.0.4 for Kubernetes 1.15.9 Issue-ID: OOM-2403 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> Change-Id: I87c3f9f4800aa40f62d7569b4ecf3fa373a16796
2020-05-27Merge "Fix: Fix docker cli version mismatch"Tomáš Levora1-1/+4
2020-05-21Merge "Updating kubectl for Frankurt"Tomáš Levora2-2/+2
2020-05-20Fix: Fix docker cli version mismatchMateusz Pilat1-1/+4
Docker cli version is different than docker engine version & Improve output of verification job Issue-ID: OOM-2415 Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com> Change-Id: Iebf8946c4a8b3eb3abd45402d6d573e403ac9ef2
2020-05-18Adding Ubuntu support in Ansible - vncserver roleJan Benedikt1-0/+1
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in vncserver role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: Ie57885d30166f319629e160c38a9053c18837515
2020-05-14Updating kubectl for FrankurtTomáš Levora2-2/+2
Updating kubectl to v1.15.11 as required for Frankfurt Issue-ID: OOM-2404 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> Change-Id: I4165271fea9b8024e68f9d395f257e858bd605d7
2020-03-17Adding Ubuntu support in Ansible - docker-dind roleJan Benedikt3-22/+61
Extending ansible playbooks of ubuntu support. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I6028736b54ce825d3eae257ca61cb6efab19a913
2019-11-05Chaging name of rhel resource directory to rpmJan Benedikt2-6/+6
Changing name of rhel resource directory in "resources/pkg" from rhel to rpm due to platfrom independent repository for all distributions supporting RPM packages. Issue-ID: OOM-2150 Change-Id: Ie5425df8b8550c618440586b495907f86c4cc509 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
2019-10-17Update rke, kubectl and helmTomáš Levora2-3/+3
This commit updates rke (implementing K8S 1.15.4), kubectl binary and helm binary with tiller image: rke 0.3.0 kubernetes 1.15.4 kubectl 1.15.4 helm 2.14.2 dashboard 2.0.0-beta4 Kubernetes dashboard is also updated to be compliant with the 1.15 K8S. Note 1: There is a new datalist to split rke only images from other K8S related images. Note 2: El Alto recommendation cannot be fullfilled to the letter, because rke does not have any release supporting 1.15.2 version of kubernetes (only experimental). Issue-ID: OOM-2122 Change-Id: I02cf0955158eca622bcac40ceed42588dbdd3499 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com> Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-07-12Remove kubectl install from prepare-rkeMichal Zegan1-6/+0
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-10Merge changes Iee382756,I473f022cMichal Ptacek3-3/+3
* changes: Allow overriding docker version in prepare-docker-dind Specify source ip for rancher agent
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-06-26Merge "Streamline nexus role tests by using smaller test images"Samuli Silvius1-4/+3
2019-06-26Merge "Remove artifacts left by 'dns' role tests"Samuli Silvius1-0/+6
2019-06-26Merge changes from topic "bin_utils"Samuli Silvius3-14/+5
* 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 Grzybowski2-4/+1
Change-Id: Ib28bda24b711111c13bbaf9bd2628abd2001a1a9 Issue-ID: OOM-1925 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-06-25Streamline nexus role tests by using smaller test imagesBartek Grzybowski1-4/+3
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 Grzybowski1-0/+6
'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-24Add cleanup stage to 'nexus' role testBartek Grzybowski4-46/+30
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 role level tests for 'vncserver' role"Samuli Silvius1-0/+6
2019-06-14Add binaries preparation to installation stepsTomáš Levora2-11/+5
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 changes from topic "OOM-1910"Petr Ospalý3-9/+29
* 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ý1-4/+4
* changes: Update 'busybox' and 'haproxy' docker images path in tests Add role level tests for 'nexus' role Improve 'nexus' role testability
2019-06-13Update 'busybox' and 'haproxy' docker images path in testsBartek Grzybowski1-4/+4
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 Grzybowski1-0/+6
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-07Merge "Add cleanup stage to 'nginx' role test"Samuli Silvius1-0/+6