summaryrefslogtreecommitdiffstats
path: root/jjb/xci
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/xci')
-rw-r--r--jjb/xci/bifrost-periodic-jobs.yml3
-rw-r--r--jjb/xci/bifrost-verify-jobs.yml9
-rw-r--r--jjb/xci/osa-periodic-jobs.yml3
-rw-r--r--jjb/xci/xci-daily-jobs.yml26
-rwxr-xr-xjjb/xci/xci-functest.sh3
-rw-r--r--jjb/xci/xci-verify-jobs.yml33
6 files changed, 53 insertions, 24 deletions
diff --git a/jjb/xci/bifrost-periodic-jobs.yml b/jjb/xci/bifrost-periodic-jobs.yml
index a1892fc5f..67151891f 100644
--- a/jjb/xci/bifrost-periodic-jobs.yml
+++ b/jjb/xci/bifrost-periodic-jobs.yml
@@ -120,9 +120,6 @@
name: SLAVE_LABEL
default: '{slave-label}'
- string:
- name: ANSIBLE_VERBOSITY
- default: ''
- - string:
name: XCI_LOOP
default: 'periodic'
diff --git a/jjb/xci/bifrost-verify-jobs.yml b/jjb/xci/bifrost-verify-jobs.yml
index af51c2b79..f9106831c 100644
--- a/jjb/xci/bifrost-verify-jobs.yml
+++ b/jjb/xci/bifrost-verify-jobs.yml
@@ -21,19 +21,19 @@
#--------------------------------
distro:
- 'xenial':
- disabled: false
+ disabled: true
dib-os-release: 'xenial'
dib-os-element: 'ubuntu-minimal'
dib-os-packages: 'vlan,vim,less,bridge-utils,language-pack-en,iputils-ping,rsyslog,curl'
extra-dib-elements: 'openssh-server'
- 'centos7':
- disabled: false
+ disabled: true
dib-os-release: '7'
dib-os-element: 'centos-minimal'
dib-os-packages: 'vim,less,bridge-utils,iputils,rsyslog,curl'
extra-dib-elements: 'openssh-server'
- 'suse':
- disabled: false
+ disabled: true
dib-os-release: '42.3'
dib-os-element: 'opensuse-minimal'
dib-os-packages: 'vim,less,bridge-utils,iputils,rsyslog,curl'
@@ -138,9 +138,6 @@
name: BIFROST_LOG_URL
default: 'http://artifacts.opnfv.org/cross-community-ci/openstack/bifrost/$GERRIT_NAME/$GERRIT_CHANGE_NUMBER/$GERRIT_PATCHSET_NUMBER/$JOB_NAME'
- string:
- name: ANSIBLE_VERBOSITY
- default: '-vvvv'
- - string:
name: XCI_LOOP
default: 'verify'
diff --git a/jjb/xci/osa-periodic-jobs.yml b/jjb/xci/osa-periodic-jobs.yml
index 7311baab4..86910ac4f 100644
--- a/jjb/xci/osa-periodic-jobs.yml
+++ b/jjb/xci/osa-periodic-jobs.yml
@@ -162,9 +162,6 @@
name: FUNCTEST_SUITE_NAME
default: 'healthcheck'
- string:
- name: ANSIBLE_VERBOSITY
- default: '-vvvv'
- - string:
name: FORCE_MASTER
default: 'true'
- string:
diff --git a/jjb/xci/xci-daily-jobs.yml b/jjb/xci/xci-daily-jobs.yml
index c39d07e39..64659da40 100644
--- a/jjb/xci/xci-daily-jobs.yml
+++ b/jjb/xci/xci-daily-jobs.yml
@@ -209,12 +209,15 @@
name: SLAVE_LABEL
default: '{slave-label}'
- string:
- name: ANSIBLE_VERBOSITY
- default: ''
- - string:
name: XCI_LOOP
default: 'daily'
-
+ - string:
+ name: INSTALLER_TYPE
+ default: 'osa'
+ - string:
+ name: FUNCTEST_SUITE_NAME
+ default: 'daily'
+ description: "Daily suite name to run"
builders:
- description-setter:
description: "Built on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
@@ -232,5 +235,16 @@
- builder:
name: xci-functest-builder
builders:
- - shell:
- !include-raw: ./xci-functest.sh
+ - shell: |
+ #!/bin/bash
+
+ echo "Hello World!"
+
+# this will be enabled once the xci is prepared
+#- builder:
+# name: xci-functest-builder
+# builders:
+# - shell:
+# !include-raw:
+# - ../../utils/fetch_os_creds.sh
+# - ../functest/functest-alpine.sh
diff --git a/jjb/xci/xci-functest.sh b/jjb/xci/xci-functest.sh
deleted file mode 100755
index 0f58dfefc..000000000
--- a/jjb/xci/xci-functest.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-echo "Functional testing with functest"
diff --git a/jjb/xci/xci-verify-jobs.yml b/jjb/xci/xci-verify-jobs.yml
index 61d25585c..f0a673bd8 100644
--- 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}'
- 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/**'
@@ -97,6 +100,8 @@
pattern: 'upstream/**'
- compare-type: ANT
pattern: '**/README.rst'
+ - compare-type: ANT
+ pattern: 'docs/**'
readable-message: true
parameters:
@@ -177,8 +182,8 @@
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
@@ -207,6 +212,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
@@ -214,10 +225,26 @@
cd $WORKSPACE/xci
./xci-deploy.sh
+
- 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!"
+
+# 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