summaryrefslogtreecommitdiffstats
path: root/ansible/test/bin
AgeCommit message (Collapse)AuthorFilesLines
2021-02-09Customize helm "--timeout" option format if running helm v3Bartek Grzybowski1-1/+2
Helm v3 requires unit definition for 'timeout' option which is not supported by Helm v2. Change-Id: Ia5839e5c412be1700459c70d43d2e6cc0400633d Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-12-17Fix Molecule framework runner setup scriptsBartek Grzybowski1-1/+1
Ansible-lint release has to be set explicitly as the one installed by default breaks the linter execution. Change-Id: Id824fb3f4ae94cf8608736bbebb1809568193050 Issue-ID: OOM-2650 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-05-20Fix: Fix docker cli version mismatchMateusz Pilat2-2/+2
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-01-16Decrease tests resource footprint on CI minionBartek Grzybowski1-5/+4
Due to constrained CI minion resources docker volumes need to be pruned after each test invocation to prevent false negative which occurs in case when multiple playbook level tests are run. Heavy VNC Server image (1GB) needs to be mocked with lightweight alpine image in play-infrastructure test for same reasons. Change-Id: I1026593a375853575cf210aefe29bc320d4e5c64 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-1907
2019-05-09Extending molecule test to playbooksMateusz Pilat2-2/+2
Review should also execute molecule tests for ansible/test/play-xxx when anything in /ansible/test has been changed Change-Id: I9a106a1c141b1053db6ac892e2dcecd4e646fd5b Issue-ID: OOM-1801 Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
2019-05-06Add script to start review for offline installer in community JenkinsMateusz Pilat1-2/+4
script to detect what tests are supposed to be executed for a given change Change-Id: I8e392e5d67bb56ab7653d4a5176a3b8df1dc72c9 Issue-ID: OOM-1801 Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
2019-04-30Fix docker run in ansible/test/bin/molecule.sh.Mateusz Pilat1-1/+1
-it in docker run does not work well with jenkins Change-Id: Ic1bfedfb64e0a862aa9d49b5615048b9eccf9670 Issue-ID: OOM-1833 Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
2019-04-16Molecule test run wrappers against CISamuli Silvius2-0/+97
Add ci-molecule.sh script to work as an interface towards CI pipe for running Molecule tests. Issue-ID: OOM-1749 Change-Id: Ib6e74d9b03b569a172a606f4db41b707602bf279 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-04-16Molecule container for running MoleculeSamuli Silvius3-0/+91
Add own Dockerfile and build script for creating customized molecule runner image from Molecule image provided by https://quay.io/repository/ansible/molecule. Customization enables running of molecule container with current host's user to avoid root owned files bloating to developer's machine. Add wrapper script molecule.sh to utilize custom image and suitable for testing offline-installer roles. Issue-ID: OOM-1768 Change-Id: I14ed75decb8fa637c044675543de56f1c0796271 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>