summaryrefslogtreecommitdiffstats
path: root/ansible/test/bin
AgeCommit message (Collapse)AuthorFilesLines
2022-03-16[MOLECULE] Pin the ansible-lint pip packageBartek Grzybowski1-1/+1
Pinned to 5.4.0 due to an issue when version is resolved automatically Change-Id: Idbeb12b472c4e4122da980d762b3703abd8084cc Issue-ID: OOM-2927 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-02-23[MOLECULE] Pin the markupsafe pip package in virtualenvBartek Grzybowski1-1/+1
Pinning to an older version is required by a backward incompatible change introduced in the library, details in the bug report at https://github.com/pallets/markupsafe/issues/284 Change-Id: Ia291d70e0ca734a2149ee81c6168d82e1d7d7ebe Issue-ID: OOM-2927 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-02-09[MOLECULE] Unpin the ansible-lint pip packageBartek Grzybowski1-1/+1
Unpinned due to molecule failing on 'lint' command Change-Id: Ib8fddf2edd0c8b81176f6ebfd5346478d6b53e52 Issue-ID: OOM-2924 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-01[MOLECULE] Pin ansible-base and Jinja pip packages versionsBartek Grzybowski1-1/+1
Issue-ID: OOM-2722 Change-Id: I75ce885df78ef953ab8a214c7ddd483bf4393823 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-19[MOLECULE 3.3.0] Update dependencies for Molecule environmentBartek Grzybowski2-2/+2
Change-Id: Iad65f9dbd057544b77c419c9eb947142bcc062d2 Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-08[MOLECULE 3.3.0] Upgrade Molecule CI setupBartek Grzybowski2-5/+5
This upgrades following packages to specified versions: - Molecule => 3.3.0 - Ansible => 3.2.0 - Python => 3.8 Change-Id: I1bba9b2691d0b9650a08ebf4ca749798080dd441 Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
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>