name: 'doctor-verify-sample'
execution-type: PARALLEL
projects:
- - name: 'doctor-verify-fault_management-apex-sample-x86_64-{stream}'
- predefined-parameters: |
- PROJECT=$PROJECT
- GERRIT_BRANCH=$GERRIT_BRANCH
- GERRIT_REFSPEC=$GERRIT_REFSPEC
- GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
- GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
- kill-phase-on: FAILURE
- git-revision: true
- name: 'doctor-verify-fault_management-daisy-sample-x86_64-{stream}'
predefined-parameters: |
PROJECT=$PROJECT
GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
kill-phase-on: FAILURE
git-revision: true
+ - name: 'doctor-verify-sample-all'
+ execution-type: PARALLEL
+ projects:
+ - name: 'doctor-verify-all-apex-sample-x86_64-{stream}'
+ predefined-parameters: |
+ PROJECT=$PROJECT
+ GERRIT_BRANCH=$GERRIT_BRANCH
+ GERRIT_REFSPEC=$GERRIT_REFSPEC
+ GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
+ GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
+ kill-phase-on: FAILURE
+ git-revision: true
- multijob:
name: 'doctor-verify-congress'
execution-type: PARALLEL
GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
kill-phase-on: FAILURE
git-revision: true
- - multijob:
- name: 'doctor-verify-sample-all'
- execution-type: PARALLEL
- projects:
- - name: 'doctor-verify-all-apex-sample-x86_64-{stream}'
- predefined-parameters: |
- PROJECT=$PROJECT
- GERRIT_BRANCH=$GERRIT_BRANCH
- GERRIT_REFSPEC=$GERRIT_REFSPEC
- GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
- GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
- kill-phase-on: FAILURE
- git-revision: true
- - multijob:
- name: 'doctor-verify-congress-all'
- execution-type: PARALLEL
- # This would be for running all test cases with congress inspector
- job-template:
name: 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
- job-template:
name: 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
disabled: '{obj:disabled}'
- node: 'nokia-pod1'
+ node: 'doctor-{installer}-{arch}'
wrappers:
- ssh-agent-wrapper
- build-timeout:
--- /dev/null
+---
+- functest-defaultparameters: &functest-defaultparameters
+ name: 'functest-defaultparameters'
+ repo: opnfv
+ tag:
+ - gambia
+ - hunter
+ - latest
+
+- functest-buildparameters: &functest-buildparameters
+ name: 'functest-buildparameters'
+ parameters:
+ - functest-virtual-defaults
+ - string:
+ name: branch
+ default: master
+
+- job-template:
+ name: '{repo}-functest-{container}-{test}-{tag}-run'
+ parameters:
+ - functest-virtual-defaults
+ builders:
+ - shell: |
+ sudo docker run \
+ -e EXTERNAL_NETWORK=public1 \
+ -v /home/opnfv/functest/results/$JOB_NAME-$BUILD_ID:\
+ /home/opnfv/functest/results \
+ -v /home/opnfv/functest/openstack.creds:\
+ /home/opnfv/functest/conf/env_file \
+ -v /home/opnfv/functest/images:/home/opnfv/functest/images \
+ {repo}/functest-{container}:{tag} run_tests -t {test}
+
+- project:
+ name: repo-functest-healthcheck-test-tag-run
+ <<: *functest-defaultparameters
+ container: healthcheck
+ test:
+ - connection_check
+ - tenantnetwork1
+ - tenantnetwork2
+ - vmready1
+ - vmready2
+ - singlevm1
+ - singlevm2
+ - vping_ssh
+ - vping_userdata
+ - cinder_test
+ - odl
+ - api_check
+ - snaps_health_check
+ jobs:
+ - '{repo}-functest-{container}-{test}-{tag}-run'
+
+- functest-healthcheckjobs: &functest-healthcheckjobs
+ name: 'functest-healthcheckjobs'
+ projects:
+ - name: '{repo}-functest-healthcheck-connection_check-{tag}-run'
+ - name: '{repo}-functest-healthcheck-tenantnetwork1-{tag}-run'
+ - name: '{repo}-functest-healthcheck-tenantnetwork2-{tag}-run'
+ - name: '{repo}-functest-healthcheck-vmready1-{tag}-run'
+ - name: '{repo}-functest-healthcheck-vmready2-{tag}-run'
+ - name: '{repo}-functest-healthcheck-singlevm1-{tag}-run'
+ - name: '{repo}-functest-healthcheck-singlevm2-{tag}-run'
+ - name: '{repo}-functest-healthcheck-vping_ssh-{tag}-run'
+ - name: '{repo}-functest-healthcheck-vping_userdata-{tag}-run'
+ - name: '{repo}-functest-healthcheck-cinder_test-{tag}-run'
+ - name: '{repo}-functest-healthcheck-odl-{tag}-run'
+ - name: '{repo}-functest-healthcheck-api_check-{tag}-run'
+ - name: '{repo}-functest-healthcheck-snaps_health_check-{tag}-run'
+
+- project:
+ name: repo-functest-smoke-test-tag-run
+ <<: *functest-defaultparameters
+ container: smoke
+ test:
+ - tempest_smoke
+ - neutron-tempest-plugin-api
+ - rally_jobs
+ - refstack_defcore
+ - patrole
+ - snaps_smoke
+ - neutron_trunk
+ - networking-bgpvpn
+ - networking-sfc
+ - barbican
+ jobs:
+ - '{repo}-functest-{container}-{test}-{tag}-run'
+
+- functest-smokejobs: &functest-smokejobs
+ name: 'functest-smokejobs'
+ projects:
+ - name: '{repo}-functest-smoke-tempest_smoke-{tag}-run'
+ - name: '{repo}-functest-smoke-neutron-tempest-plugin-api-{tag}-run'
+ - name: '{repo}-functest-smoke-rally_jobs-{tag}-run'
+ - name: '{repo}-functest-smoke-refstack_defcore-{tag}-run'
+ - name: '{repo}-functest-smoke-patrole-{tag}-run'
+ - name: '{repo}-functest-smoke-snaps_smoke-{tag}-run'
+ - name: '{repo}-functest-smoke-neutron_trunk-{tag}-run'
+ - name: '{repo}-functest-smoke-networking-bgpvpn-{tag}-run'
+ - name: '{repo}-functest-smoke-networking-sfc-{tag}-run'
+ - name: '{repo}-functest-smoke-barbican-{tag}-run'
+
+- project:
+ name: repo-functest-benchmarking-test-tag-run'
+ <<: *functest-defaultparameters
+ container: benchmarking
+ test:
+ - vmtp
+ - shaker
+ jobs:
+ - '{repo}-functest-{container}-{test}-{tag}-run'
+
+- functest-benchmarkingjobs: &functest-benchmarkingjobs
+ name: 'functest-benchmarkingjobs'
+ projects:
+ - name: '{repo}-functest-benchmarking-vmtp-{tag}-run'
+ - name: '{repo}-functest-benchmarking-shaker-{tag}-run'
+
+- project:
+ name: repo-functest-components-test-tag-run
+ <<: *functest-defaultparameters
+ container: components
+ test:
+ - tempest_full
+ - tempest_scenario
+ - rally_full
+ jobs:
+ - '{repo}-functest-{container}-{test}-{tag}-run'
+
+- functest-componentsjobs: &functest-componentsjobs
+ name: 'functest-componentsjobs'
+ projects:
+ - name: '{repo}-functest-components-tempest_full-{tag}-run'
+ - name: '{repo}-functest-components-tempest_scenario-{tag}-run'
+ - name: '{repo}-functest-components-rally_full-{tag}-run'
+
+- project:
+ name: repo-functest-vnf-{test}-{tag}-run
+ <<: *functest-defaultparameters
+ container: vnf
+ test:
+ - cloudify
+ - cloudify_ims
+ - heat_ims
+ - vyos_vrouter
+ - juju_epc
+ jobs:
+ - '{repo}-functest-{container}-{test}-{tag}-run'
+
+- functest-vnfjobs: &functest-vnfjobs
+ name: 'functest-vnfjobs'
+ projects:
+ - name: '{repo}-functest-vnf-cloudify-{tag}-run'
+ - name: '{repo}-functest-vnf-cloudify_ims-{tag}-run'
+ - name: '{repo}-functest-vnf-heat_ims-{tag}-run'
+ - name: '{repo}-functest-vnf-vyos_vrouter-{tag}-run'
+ - name: '{repo}-functest-vnf-juju_epc-{tag}-run'
+
+- project:
+ name: repo-functest-features-test-tag-run
+ <<: *functest-defaultparameters
+ container: features
+ test:
+ - doctor-notification
+ - bgpvpn
+ - functest-odl-sfc
+ - barometercollectd
+ - vgpu
+ - stor4nfv_os
+ jobs:
+ - '{repo}-functest-{container}-{test}-{tag}-run'
+
+- functest-featuresjobs: &functest-featuresjobs
+ name: 'functest-featuresjobs'
+ projects:
+ - name: '{repo}-functest-features-doctor-notification-{tag}-run'
+ - name: '{repo}-functest-features-bgpvpn-{tag}-run'
+ - name: '{repo}-functest-features-functest-odl-sfc-{tag}-run'
+ - name: '{repo}-functest-features-barometercollectd-{tag}-run'
+ - name: '{repo}-functest-features-vgpu-{tag}-run'
+ - name: '{repo}-functest-features-stor4nfv_os-{tag}-run'
+
+- job-template:
+ name: '{repo}-functest-{tag}-daily'
+ <<: *functest-defaultparameters
+ project-type: multijob
+ parameters:
+ - functest-virtual-defaults
+ builders:
+ - multijob:
+ name: healthcheck
+ <<: *functest-healthcheckjobs
+ - multijob:
+ name: smoke
+ <<: *functest-smokejobs
+ - multijob:
+ name: benchmarking
+ <<: *functest-benchmarkingjobs
+ - multijob:
+ name: features
+ <<: *functest-featuresjobs
+
+- project:
+ name: repo-functest-tag-daily
+ <<: *functest-defaultparameters
+ jobs:
+ - '{repo}-functest-{tag}-daily'
+
+- scm:
+ name: functest-gerrit
+ scm:
+ - git:
+ url: https://gerrit.opnfv.org/gerrit/functest
+ refspec: '+refs/changes/*:refs/changes/*'
+ branches:
+ - ${branch}
+
+- job-template:
+ name: '{repo}-functest-{container}-{tag}-build'
+ <<: *functest-buildparameters
+ scm:
+ - functest-gerrit
+ builders:
+ - shell: |
+ case "{container}" in
+ "components")
+ args="" ;;
+ *)
+ args="--build-arg BRANCH=${{branch}}" ;;
+ esac
+ cd docker/$(echo {container} |cut -d\- -f 2)
+ sudo docker build \
+ ${{args}} --pull=false --no-cache --force-rm=true \
+ -t {repo}/functest-{container}:{tag} .
+
+- project:
+ name: repo-functest-container-tag-build
+ <<: *functest-defaultparameters
+ container:
+ - core
+ - tempest
+ - healthcheck
+ - smoke
+ - benchmarking
+ - components
+ - vnf
+ - features
+ jobs:
+ - '{repo}-functest-{container}-{tag}-build'
+
+- functest-projectparameters: &functest-projectparameters
+ name: 'functest-projectparameters'
+ current-parameters: true
+
+- job-template:
+ name: '{repo}-functest-{tag}-gate'
+ project-type: multijob
+ <<: *functest-buildparameters
+ builders:
+ - multijob:
+ name: build functest-core
+ projects:
+ - name: '{repo}-functest-core-{tag}-build'
+ <<: *functest-projectparameters
+ - multijob:
+ name: build functest-tempest
+ projects:
+ - name: '{repo}-functest-tempest-{tag}-build'
+ <<: *functest-projectparameters
+ - multijob:
+ name: build all remaining contrainers
+ projects:
+ - name: '{repo}-functest-healthcheck-{tag}-build'
+ <<: *functest-projectparameters
+ - name: '{repo}-functest-smoke-{tag}-build'
+ <<: *functest-projectparameters
+ - name: '{repo}-functest-benchmarking-{tag}-build'
+ <<: *functest-projectparameters
+ - name: '{repo}-functest-components-{tag}-build'
+ <<: *functest-projectparameters
+ - name: '{repo}-functest-vnf-{tag}-build'
+ <<: *functest-projectparameters
+ - name: '{repo}-functest-features-{tag}-build'
+ <<: *functest-projectparameters
+ - multijob:
+ name: healthcheck
+ <<: *functest-healthcheckjobs
+ - multijob:
+ name: smoke
+ <<: *functest-smokejobs
+ - multijob:
+ name: benchmarking
+ <<: *functest-benchmarkingjobs
+ - multijob:
+ name: features
+ <<: *functest-featuresjobs
+
+- project:
+ name: repo-functest-tag-gate
+ <<: *functest-defaultparameters
+ jobs:
+ - '{repo}-functest-{tag}-gate'