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 "fix doctor trigger files"
[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
2cdecb2
..
f0a673b
100644
(file)
--- a/
jjb/xci/xci-verify-jobs.yml
+++ b/
jjb/xci/xci-verify-jobs.yml
@@
-87,7
+87,10
@@
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
- disable-strict-forbidden-file-verification: 'false'
+ disable-strict-forbidden-file-verification: 'true'
+ file-paths:
+ - compare-type: ANT
+ pattern: 'xci/**'
forbidden-file-paths:
- compare-type: ANT
pattern: 'bifrost/**'
forbidden-file-paths:
- compare-type: ANT
pattern: 'bifrost/**'
@@
-97,6
+100,8
@@
pattern: 'upstream/**'
- compare-type: ANT
pattern: '**/README.rst'
pattern: 'upstream/**'
- compare-type: ANT
pattern: '**/README.rst'
+ - compare-type: ANT
+ pattern: 'docs/**'
readable-message: true
parameters:
readable-message: true
parameters:
@@
-176,9
+181,6
@@
- string:
name: OPNFV_RELENG_DEV_PATH
default: $WORKSPACE/
- string:
name: OPNFV_RELENG_DEV_PATH
default: $WORKSPACE/
- - string:
- name: ANSIBLE_VERBOSITY
- default: '-vvvv'
- string:
name: INSTALLER_TYPE
default: 'osa'
- string:
name: INSTALLER_TYPE
default: 'osa'
@@
-210,6
+212,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
@@
-224,6
+232,12
@@
- shell: |
#!/bin/bash
- 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
echo "Hello World!"
# this will be enabled once the xci is prepared