X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=jjb%2Fxci%2Fxci-verify-jobs.yml;h=440fac79fe00d42aab76151fd17f58cb0c5aacd3;hb=97ae2baff7af396ff2a90e7838fe0c50ef2dfce8;hp=2cdecb2084f424926b366f090e4c688585d67aab;hpb=f58cb46411aa9109c1f721fcf27650a92a1c8d4f;p=releng.git diff --git a/jjb/xci/xci-verify-jobs.yml b/jjb/xci/xci-verify-jobs.yml index 2cdecb208..440fac79f 100644 --- a/jjb/xci/xci-verify-jobs.yml +++ b/jjb/xci/xci-verify-jobs.yml @@ -87,16 +87,21 @@ branches: - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' - disable-strict-forbidden-file-verification: 'false' - forbidden-file-paths: + disable-strict-forbidden-file-verification: 'true' + file-paths: - compare-type: ANT pattern: 'bifrost/**' + - compare-type: ANT + pattern: 'xci/**' + forbidden-file-paths: - compare-type: ANT pattern: 'prototypes/**' - compare-type: ANT pattern: 'upstream/**' - compare-type: ANT pattern: '**/README.rst' + - compare-type: ANT + pattern: 'docs/**' readable-message: true parameters: @@ -106,6 +111,9 @@ - label: name: SLAVE_LABEL default: 'xci-virtual-{distro}' + - string: + name: CLEAN_DIB_IMAGES + default: 'true' - string: name: GIT_BASE default: https://gerrit.opnfv.org/gerrit/$PROJECT @@ -123,6 +131,7 @@ predefined-parameters: | DISTRO={distro} DEPLOY_SCENARIO=os-nosdn-nofeature-noha + CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES node-parameters: true kill-phase-on: FAILURE abort-all-job: true @@ -135,7 +144,9 @@ predefined-parameters: | DISTRO={distro} DEPLOY_SCENARIO=os-nosdn-nofeature-noha - FUNCTEST_SUITE_NAME=healthcheck + CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES + FUNCTEST_MODE=tier + FUNCTEST_TIER=healthcheck node-parameters: true kill-phase-on: NEVER abort-all-job: true @@ -167,18 +178,21 @@ - string: name: DEPLOY_SCENARIO default: 'os-nosdn-nofeature-noha' + - string: + name: FUNCTEST_MODE + default: 'tier' - string: name: FUNCTEST_SUITE_NAME default: 'healthcheck' - string: name: XCI_FLAVOR default: 'mini' + - string: + name: CLEAN_DIB_IMAGES + default: 'true' - string: name: OPNFV_RELENG_DEV_PATH default: $WORKSPACE/ - - string: - name: ANSIBLE_VERBOSITY - default: '-vvvv' - string: name: INSTALLER_TYPE default: 'osa' @@ -210,6 +224,12 @@ - shell: | #!/bin/bash + # skip the deployment if the patch doesn't impact the deployment + if [[ "$GERRIT_TOPIC" =~ 'skip-verify' ]]; then + echo "Skipping the deployment!" + exit 0 + fi + # for some reason, the PATH is not set correctly # setting PATH for ansible stuff export PATH=/home/jenkins/.local/bin:$PATH @@ -224,6 +244,12 @@ - shell: | #!/bin/bash + # skip the healthcheck if the patch doesn't impact the deployment + if [[ "$GERRIT_TOPIC" =~ 'skip-verify' ]]; then + echo "Skipping the healthcheck!" + exit 0 + fi + echo "Hello World!" # this will be enabled once the xci is prepared