Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Functest: Introduce building image job for euphrates"
[releng.git]
/
jjb
/
xci
/
xci-verify-jobs.yml
diff --git
a/jjb/xci/xci-verify-jobs.yml
b/jjb/xci/xci-verify-jobs.yml
index
8d1ee55
..
324bfd1
100644
(file)
--- a/
jjb/xci/xci-verify-jobs.yml
+++ b/
jjb/xci/xci-verify-jobs.yml
@@
-75,7
+75,7
@@
- patchset-created-event:
exclude-drafts: 'false'
exclude-trivial-rebase: 'false'
- patchset-created-event:
exclude-drafts: 'false'
exclude-trivial-rebase: 'false'
- exclude-no-code-change: '
fals
e'
+ exclude-no-code-change: '
tru
e'
- draft-published-event
- comment-added-contains-event:
comment-contains-value: 'recheck'
- draft-published-event
- comment-added-contains-event:
comment-contains-value: 'recheck'
@@
-87,19
+87,21
@@
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
+ disable-strict-forbidden-file-verification: 'true'
file-paths:
file-paths:
+ - compare-type: ANT
+ pattern: 'bifrost/**'
- compare-type: ANT
pattern: 'xci/**'
- compare-type: ANT
pattern: 'xci/**'
- disable-strict-forbidden-file-verification: 'true'
forbidden-file-paths:
- compare-type: ANT
forbidden-file-paths:
- compare-type: ANT
- pattern: '
bifrost
/**'
+ pattern: '
prototypes
/**'
- compare-type: ANT
- compare-type: ANT
- pattern: '
openstack-ansible
/**'
+ pattern: '
upstream
/**'
- compare-type: ANT
- compare-type: ANT
- pattern: '
puppet-infracloud/**
'
+ pattern: '
**/README.rst
'
- compare-type: ANT
- compare-type: ANT
- pattern: '
README.rst
'
+ pattern: '
docs/**
'
readable-message: true
parameters:
readable-message: true
parameters:
@@
-109,6
+111,9
@@
- label:
name: SLAVE_LABEL
default: 'xci-virtual-{distro}'
- 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
- string:
name: GIT_BASE
default: https://gerrit.opnfv.org/gerrit/$PROJECT
@@
-126,6
+131,7
@@
predefined-parameters: |
DISTRO={distro}
DEPLOY_SCENARIO=os-nosdn-nofeature-noha
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
node-parameters: true
kill-phase-on: FAILURE
abort-all-job: true
@@
-138,6
+144,7
@@
predefined-parameters: |
DISTRO={distro}
DEPLOY_SCENARIO=os-nosdn-nofeature-noha
predefined-parameters: |
DISTRO={distro}
DEPLOY_SCENARIO=os-nosdn-nofeature-noha
+ CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
FUNCTEST_SUITE_NAME=healthcheck
node-parameters: true
kill-phase-on: NEVER
FUNCTEST_SUITE_NAME=healthcheck
node-parameters: true
kill-phase-on: NEVER
@@
-176,12
+183,15
@@
- string:
name: XCI_FLAVOR
default: 'mini'
- string:
name: XCI_FLAVOR
default: 'mini'
+ - string:
+ name: CLEAN_DIB_IMAGES
+ default: 'true'
- string:
name: OPNFV_RELENG_DEV_PATH
default: $WORKSPACE/
- string:
- string:
name: OPNFV_RELENG_DEV_PATH
default: $WORKSPACE/
- string:
- name:
ANSIBLE_VERBOSITY
- default: '
-vvvv
'
+ name:
INSTALLER_TYPE
+ default: '
osa
'
- string:
name: GIT_BASE
default: https://gerrit.opnfv.org/gerrit/$PROJECT
- string:
name: GIT_BASE
default: https://gerrit.opnfv.org/gerrit/$PROJECT
@@
-210,6
+220,12
@@
- shell: |
#!/bin/bash
- 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
# for some reason, the PATH is not set correctly
# setting PATH for ansible stuff
export PATH=/home/jenkins/.local/bin:$PATH
@@
-217,10
+233,26
@@
cd $WORKSPACE/xci
./xci-deploy.sh
cd $WORKSPACE/xci
./xci-deploy.sh
+
- builder:
name: 'xci-verify-healthcheck-macro'
builders:
- shell: |
#!/bin/bash
- builder:
name: 'xci-verify-healthcheck-macro'
builders:
- 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!"
echo "Hello World!"
+
+# this will be enabled once the xci is prepared
+#- builder:
+# name: 'xci-verify-healthcheck-macro'
+# builders:
+# - shell:
+# !include-raw: ../../utils/fetch_os_creds.sh
+# - shell:
+# !include-raw: ../functest/functest-alpine.sh