diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-11-17 17:32:57 +0100 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-11-17 16:58:51 +0000 |
commit | 530e630b89a4101d05c81960cda1db4da6fa0d42 (patch) | |
tree | de7b53eb0e9b61008a69a759f8c36e132dffb90a | |
parent | 9e626d69b71d27daee985ba140730b367b0f71c7 (diff) |
[INFRA] Add a test to check the status of one chart
This new test, which is triggered only when we're on a component (such
as SO, CLAMP, ...) gating, retrieves all the states of deployment,
stafulsets, PVCs, ...
If all these objects are OK, it's set as successful.
Issue-ID: SO-3391
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I1bda3f135b3964665e7a1ff02bb617f5205d7b9c
-rw-r--r-- | infra-healthcheck/docker/testcases.yaml | 13 | ||||
-rw-r--r-- | infra-healthcheck/requirements.txt | 1 | ||||
-rw-r--r-- | infra-healthcheck/setup.cfg | 1 | ||||
-rw-r--r-- | infra-healthcheck/upper-constraints.txt | 2 |
4 files changed, 16 insertions, 1 deletions
diff --git a/infra-healthcheck/docker/testcases.yaml b/infra-healthcheck/docker/testcases.yaml index ba035c2..3710901 100644 --- a/infra-healthcheck/docker/testcases.yaml +++ b/infra-healthcheck/docker/testcases.yaml @@ -48,3 +48,16 @@ tiers: Check certificates associated with node ports run: name: 'nodeport_check_certs' + - + case_name: onap-chart + project_name: integration + criteria: 100 + blocking: false + description: >- + This test case verifies that the ONAP pods are all Running + and shows the pods, deployments, svc and events for a + particular chart (SO, CLAMP, ...) + dependencies: + - DEPLOY_ENVIRONMENT: 'gating_component' + run: + name: 'onap_chart' diff --git a/infra-healthcheck/requirements.txt b/infra-healthcheck/requirements.txt index cacbc00..1918e10 100644 --- a/infra-healthcheck/requirements.txt +++ b/infra-healthcheck/requirements.txt @@ -13,3 +13,4 @@ kubernetes # Apache-2.0 colorama # BSD kubernetes_status helm_onap_status +chart_status
\ No newline at end of file diff --git a/infra-healthcheck/setup.cfg b/infra-healthcheck/setup.cfg index f06fd45..7730106 100644 --- a/infra-healthcheck/setup.cfg +++ b/infra-healthcheck/setup.cfg @@ -9,6 +9,7 @@ packages = infra_healthcheck xtesting.testcase = onap_k8s = kubernetes_status.status:Status onap_helm = helm_onap_status.status:Status + onap_chart = chart_status.status:Status nodeport_ingress = infra_healthcheck.k8stest:OnapSecurityNodePortsIngress nodeport_check_certs = infra_healthcheck.k8stest:OnapSecurityNodePortsCerts diff --git a/infra-healthcheck/upper-constraints.txt b/infra-healthcheck/upper-constraints.txt index 527e677..62176f9 100644 --- a/infra-healthcheck/upper-constraints.txt +++ b/infra-healthcheck/upper-constraints.txt @@ -1,3 +1,3 @@ git+https://gitlab.com/Orange-OpenSource/lfn/tools/kubernetes-status.git#egg=kubernetes_status git+https://gitlab.com/Orange-OpenSource/lfn/tools/helm-onap-status.git#egg=helm_onap_status - +git+https://gitlab.com/Orange-OpenSource/lfn/tools/chart-status.git#egg=chart_status |