diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-09-14 11:12:15 +0200 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-09-15 05:58:36 +0000 |
commit | ed20e3771ad69381962b6bd8bfc2ae95bacf76ca (patch) | |
tree | 106fa85167475ed2b7e41a5bc15b25eee914cd23 /infra-healthcheck/README.md | |
parent | 26dab8f15662e0985a17568c9e81a249ac12b297 (diff) |
[INFRA] new helm test
Instead of parsing only helm status, this new test is also taking a look
at specific helm deploy plugin logs.
Also, main pages is now "html" based instead of raw based.
Issue-ID: INT-1718
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Ia851db5c8cfd866394ed22e3cd3b7ce183ef0fb9
Diffstat (limited to 'infra-healthcheck/README.md')
-rw-r--r-- | infra-healthcheck/README.md | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/infra-healthcheck/README.md b/infra-healthcheck/README.md index 0f7001b..36628a1 100644 --- a/infra-healthcheck/README.md +++ b/infra-healthcheck/README.md @@ -54,19 +54,25 @@ environment variables: - TEST_DB_URL: the url of the target Database with the env variable . - NODE_NAME: the name of your test environement. It must be declared in the test database (e.g. windriver-SB00) -- Optionnal +- Optional: - INSTALLER_TYPE: precise how your ONAP has been installed (e.g. kubespray-oom, rke-oom) - BUILD_TAG: a unique tag of your CI system. It can be usefull to get all the - tests of one CI run. It uses the regex (dai|week)ly-(.+?)-[0-9]\* to find the + tests of one CI run. It uses the regex (dai|week)ly-(.+?)-[0-9]\* to find the version (e.g. daily-elalto-123456789). - DEPLOY_SCENARIO: your scenario deployment. ingress test run only if the scenario includes 'ingress' + - ONAP_RELEASE: the name of the onap release in Helm. Default is "onap". + - ONAP_HELM_LOG_PATH: the path where to retrieve specific logs that helm + deploy has captured. you should add a volume if you want to retrieve them: + `-v <the user home dir>/.helm/plugins/deploy/cache/onap/logs:/onap_helm_logs`. + `/onap_helm_logs` is the default value. The command becomes: ``` docker run -v <the kube config>:/root/.kube/config -v +-v <the user home dir>/.helm/plugins/deploy/cache/onap/logs:/onap_helm_logs <result directory>:/var/lib/xtesting/results nexus3.onap.org:10001/onap/xtesting-infra-healthcheck:latest:latest /bin/bash -c "run_tests -r -t all" |