From 488c558492201aacd359305a7afa3d5640a90b0e Mon Sep 17 00:00:00 2001 From: dongwenjuan Date: Mon, 17 Dec 2018 14:58:02 +0800 Subject: [PATCH] Add parameter of `DEPLOY_SCENARIO` for doctor Need to get the os_cacert file according to the scenario for MCP installer. You can see here: https://github.com/opnfv/releng/blob/master/utils/fetch_os_creds.sh#L116 Change-Id: I9216f2c810a93a25406a33e2f9c542c64f30e27e Signed-off-by: dongwenjuan --- jjb/doctor/doctor.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/jjb/doctor/doctor.yaml b/jjb/doctor/doctor.yaml index deccc32a4..71c519856 100644 --- a/jjb/doctor/doctor.yaml +++ b/jjb/doctor/doctor.yaml @@ -21,8 +21,10 @@ disabled: false installer: - - 'apex' - - 'fuel' + - 'apex': + scenario: 'os-nosdn-nofeature-noha' + - 'fuel': + scenario: 'os-nosdn-nofeature-noha' arch: - 'x86_64' @@ -117,6 +119,7 @@ - 'doctor-slave-parameter' - 'doctor-parameter': inspector: '{inspector}' + scenario: '{scenario}' test_case: 'fault_management' scm: - git-scm-gerrit @@ -141,6 +144,7 @@ - 'doctor-slave-parameter' - 'doctor-parameter': inspector: '{inspector}' + scenario: '{scenario}' test_case: 'maintenance' scm: - git-scm-gerrit @@ -165,6 +169,7 @@ - 'doctor-slave-parameter' - 'doctor-parameter': inspector: '{inspector}' + scenario: '{scenario}' test_case: 'all' scm: - git-scm-gerrit @@ -188,6 +193,10 @@ name: TEST_CASE default: '{test_case}' description: 'test case: all, fault_management or maintenance' + - string: + name: DEPLOY_SCENARIO + default: '{scenario}' + description: 'Scenario to deploy and test' # ------------------------------- -- 2.16.6