Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Helm using "make" package for building local helm repository.
In Ubuntu distribution is this package missing so is necessary to install it.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I808dcb57396caf82a60d17f50515bae59b5d85ca
|
|
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in application role.
Issue-ID: OOM-1671
Change-Id: I7662506263a143cb7193583d2058766ac7829d93
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
|
|
quoting helm lint parameter
Issue-ID: OOM-2339
Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com>
Change-Id: I56083798e4f26fb175b8d6f22c5d07de622e5b88
|
|
Because of new templates in ONAP,
make command takes a long time and our ansible role timeout
Adding SKIP_LINT parameter to this role.
Issue-ID: OOM-2339
Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com>
Change-Id: Ie7f0db95e51816ccc781b1253539b3a0dae9eb7b
|
|
Due to bug in ansible archive module empty files are not added into tar file.
Hence kibana-onborading.json missing in helm_charts on infra node.
Changing archive module into command module to tar helm_charts.
Issue-ID: OOM-2231
Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com>
Change-Id: I5527bd0f52976a93ac2861d9de010fbb79eb97fd
|
|
This replaces jinja for constructions used to add helm arguments
with jinja filter usage.
Change-Id: Ia47635466f4a9251d1f33a42080d3538fc52587d
Issue-ID: OOM-1911
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
Now the generated app_helm_override_file and the list of
helm overrides is separate.
The former is to contain things like user provided overrides,
the latter is the list of absolute paths to preexisting helm value files.
The playbook joins all that into a final list of override files that is then
passed to helm.
Change-Id: I8b8ded38b39aa9a75e55fc63fa0e11b986556cb8
Issue-ID: OOM-1951
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
* changes:
Clean application role mocked artifacts directories
Add custom patch role scenario to 'application' role
|
|
|
|
Directories created by Molecule tests were left in
files tree and not cleaned up. This patch adds a task
to shred them after test invocation.
Change-Id: If745cfc45de2f73db5be1696a16a185ff2a625bf
Issue-ID: OOM-1910
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
This adds test case for when application_pre_install_role
and application_post_install_role are set to custom role;
by default they are empty.
Code condition coverage is increased.
Change-Id: I14e59e15cf3ead0459374b5777f8ee03fe75d7bd
Issue-ID: OOM-1910
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
As of Ansible 2.5 'loop' keyword is a recommended way
for looping statements instead of 'with_dict'.
Change-Id: I19e00cc27e13955e2056840fd4ce99841bc824ad
Issue-ID: OOM-1887
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
In Dublin:
First project has taken ownership of own helm charts, oom repository must be obtained with subrepositories.
By default no applications are enabled, introducing a way to submit more override files in to installer
Issue-ID: OOM-1861
Signed-off-by: root <m.pilat@partner.samsung.com>
Change-Id: I1724de6b87bd0e9d17df4d0f55615a3f1c439d40
|
|
Change-Id: Ie0b4e812acf6fba4e4b8f082533ab2f998456095
Issue-ID: OOM-1877
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
Issue-ID: OOM-1812
Change-Id: Ifb6f5a10afb4014b20be77a4141371e561d346ce
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
|
|
Remove different phases for application role as
those are supposed to run after each other anyway
from playbook and pre/post steps can be disabled
by other means.
Enable Helm override file generation customization by
delegating it to separate role.
Separate Helm file transfer to own module.
NOTE: install.yml with all Helm commands (shell/command)
is not idempotent and should be fixed with separate
commit.
Issue-ID: OOM-1655
Change-Id: Ib29773c4d64a0529c71c3f93c2af7265ae94059f
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
|