- project:
name: functest
-
+
+ pod:
+ - 'opnfv-jump-1'
+ - 'opnfv-jump-2'
jobs:
- - 'functest-vim_bench-test'
+ - 'functest-{pod}'
+ - 'functest-openstack-bench-test'
+ - 'functest-openstack-tempest-smoke-test'
+ - 'functest-odl-test'
+ - 'functest-vims-test'
+ - 'functest-vping-test'
- 'functest-daily-{stream}'
- 'functest-merge'
- 'functest-verify'
- - 'functest-build-docs'
# stream: branch with - in place of / (eg. stable-helium)
# branch: branch (eg. stable/helium)
somevar: 'foo'
- job-template:
- name: functest-vim_bench-test
+ name: functest-openstack-bench-test
+
+ project-type: freestyle
+
+ node: opnfv-jump-2
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+
+ builders:
+ - shell: |
+ python $HOME/.functest/run_rally.py all
+
+- job-template:
+ name: functest-openstack-tempest-smoke-test
+
+ project-type: freestyle
+
+ node: opnfv-jump-2
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+
+ builders:
+ - shell: |
+ rally verify start smoke
+ rally verify list
+
+- job-template:
+ name: functest-odl-test
+
+ project-type: freestyle
+
+ node: opnfv-jump-2
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+
+ builders:
+ - shell: |
+ echo "put your CI scenario here"
+
+- job-template:
+ name: functest-vims-test
+
+ project-type: freestyle
+
+ node: opnfv-jump-2
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+
+ builders:
+ - shell: |
+ echo "put your CI scenario here"
+
+
+- job-template:
+ name: functest-vping-test
project-type: freestyle
-
- node: orange-build
+
+ node: opnfv-jump-2
logrotate:
daysToKeep: 30
builders:
- shell: |
- rally task start /home/ubuntu/rally/samples/tasks/scenario/opnfv/opnfv-keystone.json
+ python $HOME/.functest/vPing/vPing.py
+
+- job-template:
+ name: functest-{pod}
+
+ project-type: freestyle
+
+ node: '{pod}'
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+
+ builders:
+ - 'functest-all'
- job-template:
name: 'functest-daily-{stream}'
+ node: master
+
# Job template for daily builders
#
# Required Variables:
- test-macro
builders:
- - shell: |
- pwd
- find .
- echo "Hello world from functest {somevar} daily"
+ - shell:
+ !include-raw docu-build.sh
postbuilders:
- test-macro
- job-template:
name: 'functest-verify'
+ node: master
+
project-type: freestyle
logrotate:
branch-pattern: '**/master'
builders:
- - shell: |
- pwd
- find .
- echo "verify logic goes here"
+ - shell:
+ !include-raw docu-verify.sh
- job-template:
name: 'functest-merge'
+ node: master
+
# builder-merge job to run JJB update
#
# This job's purpose is to update all the JJB
branch-pattern: '**/master'
builders:
- - shell: |
- pwd
- find .
- echo "merge logic goes here"
-
-- job-template:
- name: 'functest-build-docs'
-
- project-type: freestyle
-
- logrotate:
- daysToKeep: 30
- numToKeep: 40
- artifactDaysToKeep: -1
- artifactNumToKeep: 5
-
- parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameter:
- branch: 'master'
-
- scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
-
- wrappers:
- - ssh-agent-credentials:
- user: '{ssh-credentials}'
-
- triggers:
- - gerrit:
- trigger-on:
- - change-merged-event
- - comment-added-contains-event:
- comment-contains-value: 'remerge'
- projects:
- - project-compare-type: 'ANT'
- project-pattern: 'functest'
- branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**/master'
+ - shell:
+ !include-raw docu-build.sh
+# macros
+- builder:
+ name: functest-all
builders:
- - shell:
- !include-raw build-docu.sh
-
+ - shell: |
+ echo "Functest: run Functest suites"
+ python $HOME/.functest/run_rally.py all
+ python $HOME/.functest/run_rally.py smoke
+ python $HOME/.functest/vPing/vPing.py
+ $HOME/.functest/ODL/start_tests.sh