Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I732dcd92144f9a8489a351047ab88b53ca36759e
Issue-ID: OOM-2564
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
|
|
|
|
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
|
|
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in package-repository role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I85d4e6857536fa06c7eb4f4042c1ed64fcbf903e
|
|
In package-repository-check was changed command module to service module due to lint failing.
Failing was caused by errors:
[301] Commands should not change things if nothing needs doing
[303] service used in place of service module
Added molecule test.
Issue-ID: OOM-2395
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I6cfdfe920eabfb9a0c43cc9ba4ffcd81df1d6852
|
|
This fixes a regression from b6455ee: 'packages' variable
is injected in 'firewall' role by package_facts module with
a higher priority than variable of same name defined in 'docker'
roles' defaults.
Change-Id: I41e0f992ceaab871ae38fb1b8211fd71c042c9b2
Issue-ID: INT-1578
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
|
|
Change-Id: Ic074cbabfee614daf7862466a1bbafc9ff0fb6be
Issue-ID: INT-1576
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 package-repository-check role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I9dcdbab00169ccfc13a10c1d9b6ec9cf10572688
|
|
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in helm role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: If28ee7674c4f9eebc4420f4dbbb1385a408d3802
|
|
|
|
|
|
|
|
Extending ansible playbooks of ubuntu support.
Change the order in role calls.
Chrony role was moved due to its absence in Ubuntu distribution.
Firstly is necessary to initialize package repository and after that install Chrony.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: Icadf8e106fba4a369148db0959dcac07a79257c2
|
|
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in certificates role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I82f0f8590812c277f2969d71f95fb6475c72f7c8
|
|
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in docker role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I4786dcd4b2de3f8d189db3b619c3d75315302506
|
|
|
|
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in resource-data role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I7b6852cb235a2983f5cc6eb6a3bfa122d6a1fd2e
|
|
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in nginx role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I5f6a5aedfd9a2e17d3b1bb711d3e85a242b5e2d5
|
|
|
|
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>
|
|
|
|
|
|
|
|
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in dns role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I414df46093fd300891b9df44e12a0225495cc906
|
|
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in nfs role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: Ib1c85e4df7ec2ba547a20684ed5e23e097351df2
|
|
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in nexus role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: If2750997057126405987a0362d915456ffe77fff
|
|
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in kubectl role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I707ff9f609ece2b227dd84f32fdf519019f76e80
|