Age | Commit message (Collapse) | Author | Files | Lines |
|
This adds 'creates' arg to 'command' module used in
the role scope.
Change-Id: Ib500680114fb267cc08ab52f09fa691738ea4a1a
Issue-ID: OOM-1850
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Issue-ID: OOM-1813
Change-Id: I5c070f1ed20bf29b432c91e9de5d861267802b6d
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
|
|
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>
|
|
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>
|
|
|
|
|
|
-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>
|
|
Docker-ce version should be aligned with Docker release
installed on target platform
(see build/creating_data/create-rhel-repo.sh)
This patch also optimizes package installation process
in Molecule tests.
Change-Id: I3f0cb7cd36a3f91027b2be43a925e54167d9c6d0
Issue-ID: OOM-1815
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
ansible/test/images/docker/build-all.sh works only if executed under folder where script is located.
Change-Id: Ic91656656788a48bdd12cb8003e875011a71cbe3
Issue-ID: OOM-1829
Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
|
|
Rancher role test do remove rancher/agent and rancher/server
containers at 'cleanup' stage but Rancher Agent spawned
containers are left orphaned. This patch adds tasks to
remove them.
This patch also adds custom ansible module for listing
docker containers (as of ansible 2.7.10 no upstream module
provides that feature, even new docker_container_info info
module in ansible's devel branch doesn't have it)
Change-Id: I6325dc81063b55b70136280273f8f6138c7a0375
Issue-ID: OOM-1811
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
|
|
Moved 'file' package installation from Molecule's
'prepare' stage to Dockerfile to shorten the test
invocation.
Change-Id: Icbb805c54a4fd42003d0cde037fa56208bd6008a
Issue-ID: OOM-1809
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Molecule Docker was not running when built by the root user
Issue-ID: OOM-1808
Change-Id: I27c3ecb6d5670ac1c447acba688b25e10d5a5a4d
Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
|
|
|
|
This commit improves the nfs role by
using cluster_ip variable instead of ansible_host for getting
nfs client/server address, and
using /etc/exports.d instead of /etc/exports for
exporting nfs filesystem.
Also, this commit fixes other
issues in molecule found along the way.
Change-Id: Ibd4ea5d4fd937116e2dc9e1b6f85c3e019f62e17
Issue-ID: OOM-1770
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
Issue-ID: OOM-1775
Change-Id: I6ea11db932cd77e03909e4c72acc4b92a544eb4b
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
|
|
Change-Id: I2cfee4ef44b1aa0ddff0b5d93712390988846c90
Issue-ID: OOM-1710
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
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>
|
|
On Centos7.6 /dev/loop* device nodes are
created dynamically upon alocation (by default
there is no /dev/loop<N> device nodes) - this
has effect of failing to allocate those in
Docker container, even when run in privileged
mode.
Change-Id: If2c852de3a74ea7fe1df9f5c863f184b9bc13acb
Issue-ID: OOM-1774
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
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>
|
|
Issue-ID: OOM-1759
Change-Id: I9e1ee7f248147b3f7229625c7a20fa84e8e67aac
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
|
|
|
|
Issue-ID: OOM-1757
Change-Id: I48639bd0fb67383a58f736aa1c12c38e3ddc9ab0
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
|
|
Initial molecule tests. Tests now ssh transfer but
test files fully supports also testing nfs transfer.
Creating nfs transfer as separate scenario later when
find out better ways to share common code.
Issue-ID: OOM-1754
Change-Id: Ia728ecfed4378c01f7e305d5a4446b0172fe42d9
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
|
|
|
|
All packages are upgraded and '/run' volume is
being created.
Change-Id: I9a7056cf4615932b322c1c5b073ab60787ac54e0
Issue-ID: OOM-1774
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Base the Centos image for molecule on official
CentOS systemd docker container.
Align the tagging policy with Centos images
on docker hub.
Change-Id: Ia2743ab78faed858dc5a7f3611cffb779b23d463
Issue-ID: OOM-1774
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Dockerfile that allows building a Systemd
compliant Ubuntu image (for Ubuntu releases
that support it).
A build script for building the image.
Change-Id: I3456e40e7ac96e611e957b2912405f9030dc0f04
Issue-ID: OOM-1774
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Add initial Dockerfile for centos7 for molecule testing.
Issue-ID: OOM-1750
Change-Id: Ie4da3d80c713d1da56465c598774b370b4c01b36
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
|