Age | Commit message (Collapse) | Author | Files | Lines |
|
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:
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>
|
|
|
|
* changes:
Add etcd group support to rke role
Add kubernetes-etcd group
Make rke to use new group structure
Add kubernetes-node group for workers
|
|
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:
Add verification tests for 'chrony' role
Setup 'cluster_ip' fact for infra host in 'chrony' role tests
|
|
* 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>
|
|
Testinfra tests are added for Molecule verifier.
Change-Id: Id044cdc5535af97ce3ac48da034a9a6a1ca8cbd3
Issue-ID: OOM-1810
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
By default 'infra' node is set up as a time authority
for nodes. This patch adds tests for alternative supported
scenario where external time authority service is given.
Change-Id: I114418e79fa90b3af1c62a148ca91af3acf2bb2b
Issue-ID: OOM-1810
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
This patch sets up a missing 'cluster_ip' fact for
infrastructure host without which 'server' directive was
set up improperly in chrony.conf on 'node' host.
Change-Id: I3d98788b7eb54bf984d165a50072f51fd85c08fb
Issue-ID: OOM-1810
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
|
|
|
|
|
|
|
|
Change-Id: If8decc241614e4fe802352cc783b59f8d7ec70b4
Issue-ID: OOM-1915
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
A change needed by related commit to allow building
a custom nexus url.
Change-Id: Iaa7e1d10d9621871e71863c77722cd635b7e1e4d
Issue-ID: OOM-1915
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
|
|
If host networking is not used for dns container,
dns wont work for other infra containers. This is
unintentionally removed in
https://gerrit.onap.org/r/#/c/oom/offline-installer/+/87422/
Change-Id: I07ce6874e7baedadbdbbcf0913f1d683e19f93cd
Issue-ID: OOM-1866
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
|
|
|
|
|
|
|
|
|
|
|
|
This commit includes the original resources.yml playbook
by using import_playbook.
Some modifications were needed mostly because of the way
import_playbook works.
Also moved the setup role call to prepare.
Change-Id: I8745d5e43fd2050d47970c7d19bbbc4db8a5847f
Issue-ID: OOM-1912
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
Change-Id: Idddc421d33698c08b19cc63f4e203d0964341462
Issue-ID: OOM-1913
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Introduce full role level test coverage for
'nginx' role.
Change-Id: I7c634775433a2336e43cdfc73d4698d5e2933f0e
Issue-ID: OOM-1913
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
This commit adds molecule tests for kubectl role.
That includes verification for kubectl to be installed and runnable.
Change-Id: I4cb0679ed6826555a6d1f6cff4542ae52869f404
Issue-ID: OOM-1908
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
This adds molecule tests for the helm role.
Change-Id: I5be27992062ca9039c141318bc54ce85ce35526b
Issue-ID: OOM-1909
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
This role downloads helm and places it in resources dir.
It is needed for testing helm role.
Change-Id: Ic7357f96d654a51592c332e4b61b0fe46a39270a
Issue-ID: OOM-1909
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
|
|
|
|
|
|
|
|
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>
|
|
This role is used to prepare for kubectl role tests.
It may also be used when any other test needs installed
kubectl, for example when verifying kubernetes cluster
setup.
Both cases are a bit different.
Change-Id: Ie7a065c571d94f40cfd64c3eba78af3e84b3f08a
Issue-ID: OOM-1908
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
This role is no longer needed after
removing it's usage from the nfs role.
Issue-ID: OOM-1902
Change-Id: I3f4d27e769c9edc3caef1b0d85a61f071e3a3b2f
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
For Dublin/RKE we don't need to simulate those 2 domains,
they were needed in Casablanca for rancher git repos.
Change-Id: I66a2615284150c4b466994b0906bbe3e215793d5
Issue-ID: OOM-1800
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
|
|
When play-resources does not use
bindmounting, there is no need to manually clean up resource files.
That makes it possible to remove cleanup.yml all together.
This is in preparation to remove the othervise unneeded
cleanup-directories role.
Change-Id: Id6c05700e8cd2e9c8f91a3cfdf46022b170e1e1e
Issue-ID: OOM-1902
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|