X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=jenkins%2Fci-pipelines%2Fci_stage_3.groovy;h=ddceef439c857b3c2686a6dbaae608c1d66b8870;hb=refs%2Fchanges%2F51%2F8251%2F1;hp=1ef8ce5d996373b4f8bb9b2010f9173c66ee1e9c;hpb=078f5985d9263bff393c73ee3ffdc29c14084511;p=osm%2Fdevops.git diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index 1ef8ce5d..ddceef43 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -50,6 +50,7 @@ properties([ booleanParam(defaultValue: false, description: '', name: 'SAVE_ARTIFACTS_OVERRIDE'), string(defaultValue: '/home/jenkins/hive/openstack-etsi.rc', description: '', name: 'HIVE_VIM_1'), booleanParam(defaultValue: false, description: '', name: 'DO_ROBOT'), + booleanParam(defaultValue: false, description: '', name: 'DO_RBAC'), string(defaultValue: 'sanity', description: 'smoke/vim/sanity/comprehensive are the options', name: 'TEST_NAME'), string(defaultValue: '/home/jenkins/hive/robot-systest.cfg', description: '', name: 'ROBOT_VIM'), ]) @@ -309,6 +310,10 @@ node("${params.NODE}") { stage_archive = false stage("System Integration Test") { if ( params.DO_ROBOT ) { + if (params.DO_RBAC) { + sh "docker service update ${container_name}_nbi --force --env-add OSMNBI_AUTHENTICATION_BACKEND=keystone --env-add OSMNBI_AUTHENTICATION_AUTH_URL=keystone --env-add OSMNBI_AUTHENTICATION_AUTH_PORT=5000 --env-add OSMNBI_AUTHENTICATION_USER_DOMAIN_NAME=default --env-add OSMNBI_AUTHENTICATION_PROJECT_DOMAIN_NAME=default --env-add OSMNBI_AUTHENTICATION_SERVICE_USERNAME=nbi --env-add OSMNBI_AUTHENTICATION_SERVICE_PROJECT=service" + sh "installers/osm_health.sh -w 30 -s ${container_name}" + } run_robot_systest(container_name,container_name,params.TEST_NAME,params.ROBOT_VIM) } //else { run_systest(container_name,container_name,"openstack_stage_4",params.HIVE_VIM_1)