diff options
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/vpp/include-raw-vpp-csit-functional.sh | 21 | ||||
-rw-r--r-- | jjb/vpp/vpp.yaml | 40 |
2 files changed, 61 insertions, 0 deletions
diff --git a/jjb/vpp/include-raw-vpp-csit-functional.sh b/jjb/vpp/include-raw-vpp-csit-functional.sh new file mode 100644 index 000000000..e0767c644 --- /dev/null +++ b/jjb/vpp/include-raw-vpp-csit-functional.sh @@ -0,0 +1,21 @@ +#!/bin/bash +set -xeu -o pipefail + +# Clone csit and start tests +git clone https://gerrit.fd.io/r/csit + +cp build-root/*.deb csit/ +cd csit +# execute csit bootstrap script if it exists +if [ -e bootstrap.sh ] +then + # make sure that bootstrap.sh is executable + chmod +x bootstrap.sh + # run the script + ./bootstrap.sh *.deb +else + echo 'ERROR: No bootstrap.sh found' + exit 1 +fi + +# vim: ts=4 ts=4 sts=4 et : diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml index caafe1a58..3283832a2 100644 --- a/jjb/vpp/vpp.yaml +++ b/jjb/vpp/vpp.yaml @@ -3,6 +3,7 @@ jobs: - 'vpp-verify' - 'vpp-merge' + - 'vpp-csit-verify-virl' project: 'vpp' branch: 'master' @@ -97,3 +98,42 @@ - shell: !include-raw-escape include-raw-vpp-maven-push.sh +- job-template: + name: 'vpp-csit-verify-virl' + + project-type: freestyle + node: verify-merge + concurrent: false + + logrotate: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + scm: + - zuul-trigger-scm: + credentials-id: '{ssh-credentials}' + refspec: '$ZUUL_REF' + commit: '$ZUUL_COMMIT' + + wrappers: + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + builders: + - shell: + !include-raw-escape include-raw-vpp-build.sh + - shell: + !include-raw-escape include-raw-vpp-csit-functional.sh + + + publishers: + - archive-artifacts: + artifacts: 'csit/report.html, csit/log.html, csit/output.xml' + latest-only: false + + - robot-report: + output-path: 'csit' + |