From ed20e3771ad69381962b6bd8bfc2ae95bacf76ca Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Mon, 14 Sep 2020 11:12:15 +0200 Subject: [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 Change-Id: Ia851db5c8cfd866394ed22e3cd3b7ce183ef0fb9 --- infra-healthcheck/README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'infra-healthcheck/README.md') 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 /.helm/plugins/deploy/cache/onap/logs:/onap_helm_logs`. + `/onap_helm_logs` is the default value. The command becomes: ``` docker run -v :/root/.kube/config -v +-v /.helm/plugins/deploy/cache/onap/logs:/onap_helm_logs :/var/lib/xtesting/results nexus3.onap.org:10001/onap/xtesting-infra-healthcheck:latest:latest /bin/bash -c "run_tests -r -t all" -- cgit 1.2.3-korg