Age | Commit message (Collapse) | Author | Files | Lines |
|
No longer required since change Ia221da6666d558e086cd24155f5bd81237d82388
Change-Id: I7ec15d63daaa3e3cdb6dbed2a4e2643bfcb99370
Issue-ID: OOM-2722
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: Iad65f9dbd057544b77c419c9eb947142bcc062d2
Issue-ID: OOM-2722
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
All roles that play-infrastructure encompasses have been fixed
for idempotency.
Change-Id: I6dd6655a6a79ed667699287d089cd9829ca2eed9
Issue-ID: OOM-2722
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I621bd2ed4452c10a6747392a709d1c17282a11ef
Issue-ID: OOM-2722
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I96504d94eb4322857979a6ec37b2d63d4fe074df
Issue-ID: OOM-2722
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
[MOLECULE] Add verifier test for SubjectAlternativeName validation
Issue-ID: OOM-2722
Change-Id: I8ff9fb88d5166f3d5eba5f364f9110b3b12cd47e
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Install ansible 3.2.0 and leverage newest alpine base layer
Change-Id: Id30a7d2f31109ac61022d7f85861546417d1f38c
Issue-ID: OOM-2722
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: Ibeaea4b3b627c356521b4c847d56eeb922a8cca1
Issue-ID: OOM-2722
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Using 'import_tasks' for multiple step handler is no longer supported,
while 'include_tasks' has some side effects.
Change-Id: I61c14c937f80dfcd1780cdc2885ac781be613978
Issue-ID: OOM-2722
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: Ie721fac402c3cd5725c770313194a9ad98a07f2d
Issue-ID: OOM-2722
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: Ieba3f13a29240e0f8ed8ff6acb5472559a9134a5
Issue-ID: OOM-2722
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I6984396d15d0592313978c751fd109ee06d8febf
Issue-ID: OOM-2722
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Published ports are discarded by docker engine when using
host network mode so no need to define them.
Change-Id: I71537b4191e8f05d77991d08444144031747c0b7
Issue-ID: OOM-2722
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: Id1d8da0a1dabdbe79cdb24179ddeff5564b00f17
Issue-ID: OOM-2722
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I13d4774f6860f6c3e396f58f1c60ae589beea9b1
Issue-ID: OOM-2722
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
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>
|
|
Currently used 2.0.0-beta4 supported k8s 1.15 at max
Change-Id: I9565eaa78ebbca48377d65d87c77bc0893b29487
Issue-ID: OOM-2715
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
This rolls back alpine base layer to previous version and
pins 'cryptography' pip package to the last known working
version. Using alpine 3.13 has side efects as it upgrades
python from 3.6 to 3.8 which breaks offline-installer playbooks.
Change-Id: I3356e40943ffe75fe0febea31d71a51eb8a6f7bd
Issue-ID: INT-1898
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
In 3.8 the 'cryptography' package no longer builds successfully
Change-Id: I683e6553a9d1aa57069595dfdd56146c9cb45dc7
Issue-ID: INT-1898
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>
|
|
Manual system_images assignment in rke's cluster config
is dropped as for any particular kubernetes release Rancher
project holds a predefined, static map connecting Rancher's
Kubernetes version with particular system images, so it's
enough to define k8s version.
Ref.: https://rancher.com/docs/rke/latest/en/config-options/system-images/
Change-Id: I027589c86500bbc5260caaa4aef7065d23d2241c
Issue-ID: OOM-2686
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
It's not in use since the time 'rancher' role got
obsoleted by 'rke' one
Change-Id: Ibdc26103d9f7e87c9bb29a60c9276210e88d2628
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>
|
|
Contrary to helm v2, helm v3 prints regular output to stderr hence
stderr output presence can no longer be used as failure criteria.
Since 'deploy' plugin (for any helm release) prints a list of charts
that failed to deploy at the end of it's run, it's output is used to
detect deployment failure.
Change-Id: I340e4e1a5be0949d866ddedfb49c0d23a48e67cf
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Kubeconfig file should not be world readable. Helm v3 prints relevant
warning to stderr if it's (kubeconfig) mode is incorrect.
Change-Id: I9d2b8618cd3e43a49345e96f6ed5169438a29cef
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Helm v3 does not automatically create namespace when either of
"install" or "upgrade" subcommand is called even with "--namespace"
option.
Change-Id: I8595d8d9cdcb904b6c032695bae4d945fd07176c
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>
|
|
Chartmuseum logs to it's stdout/stderr during it's normal operations
and since the shell pipe opened by ansible is gone once playbook finishes
this resulted in chartmuseum process crashing with "broken pipe" message.
Change-Id: I0e2a5471df23f5881248ecb529a0193505f56cfe
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>
|
|
Test setup variable inclusion reworked for better sanity.
General Molecule docker image is used instead of pre-built one.
Change-Id: I013b9d7b92ded86220e6f2092ce75ee47b094d89
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Verifier test is also added to ensure correct plugin deployment.
Change-Id: I2e43d942f39fc7ecfe34c22d84ba0f59978ec225
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I959184624f93753ff7217728c3c6011e82f91ef6
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: Ica4bc217178ccbaa5574036d693fa40476fb0814
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>
|
|
Change-Id: Ic3f78a9fd46bef8e3e2138d9c04850db00651b63
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>
|
|
Logically splitting the application playbook to put
Helm v2 and v3 specific setup actions into separate
tasks file.
Change-Id: I20446a196bb2687e27fdeb6a45a83565b676fc42
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>
|
|
Change-Id: I3999dd64dd87f163a3306b74cec88019d821759e
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: Icc767450da832d8792b7bdf33f85e5ffc97ee435
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|