Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: Ifb9c9627d840158d8a4be3a1d1a1ea75dc4038c3
Issue-ID: OOM-2722
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
In Molecule 3.x.x it's no longer needed, scenario name is assumed
from its directory name.
Ref.: https://github.com/ansible-community/molecule/issues/2560
Change-Id: I3b25dae499d4f40851ac3fe0183ee7ab913b7dd7
Issue-ID: OOM-2722
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
In 3.x.x version family of Molecule the 'playbook.yml' file
for 'converge' action has changed to 'converge.yml'.
Ref.: https://github.com/ansible-community/molecule/issues/2560
Change-Id: I8710ebd5710237be138f2aff8943d6c949058dbd
Issue-ID: OOM-2722
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
In 3.x.x version family of Molecule the syntax for linters
invocation has been changed.
Ref.: https://molecule.readthedocs.io/en/latest/configuration.html#lint
Change-Id: I82d1fd996eb5853953ea6bc74dcbb88a485a2084
Issue-ID: OOM-2722
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
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>
|
|
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>
|
|
Kubectl upgraded to 1.19.6
Change-Id: I331926c81b595c17700f76c4568bc76f5d1ae8c1
Issue-ID: OOM-2686
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: Iad5478f70533719e1076f3961613fddffb14eebd
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I2d6d650110fbdc84ce7e0922239c7b219e35d5ee
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
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>
|
|
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>
|
|
Change-Id: Ie95d8fcb49c61f75f644ea3d04414cd6f2285efd
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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
|
|
|
|
|
|
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
|
|
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
|
|
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
|
|
Added iproute2 and python3-docker to ubuntu docker file.
These packages is necessary for docker functionality in Molecule testing.
Is necessary to install them because there are not in ubuntu image by default.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I4e4f6bf342da3d5acba5b7b12c2dae9d64099426
|
|
Extending ansible playbooks of ubuntu support.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I6028736b54ce825d3eae257ca61cb6efab19a913
|
|
This adds tests for the rke playbook.
Change-Id: Idbb90bb9674d67c1877302877b60d3d60d44e36b
Issue-ID: OOM-1907
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
* changes:
Allow overriding docker version in prepare-docker-dind
Specify source ip for rancher agent
|
|
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>
|
|
|
|
|
|
* changes:
Fix tests for binaries preparation in installation steps
Add binaries preparation to installation steps
|
|
Change-Id: Ib28bda24b711111c13bbaf9bd2628abd2001a1a9
Issue-ID: OOM-1925
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
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>
|
|
'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>
|
|
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>
|
|
|
|
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>
|
|
* changes:
Clean application role mocked artifacts directories
Add custom patch role scenario to 'application' role
|
|
* changes:
Update 'busybox' and 'haproxy' docker images path in tests
Add role level tests for 'nexus' role
Improve 'nexus' role testability
|
|
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>
|
|
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>
|
|
|
|
|
|
|