tag:
- latest:
branch: master
- slave: intel-pod10
+ slave: intel-pod15
functest_tag: hunter
- parameter:
name: slave
default: '{slave}'
+- parameter:
+ name: cntt-build_tag
+ parameters:
+ - random-string:
+ name: build_tag
+
- parameter:
name: cntt-DEBUG
parameters:
- string:
name: DEBUG
- default: 'true'
+ default: 'false'
- parameter:
name: cntt-EXTERNAL_NETWORK
fi
sudo docker run --rm \
-e S3_ENDPOINT_URL=https://storage.googleapis.com \
- -e S3_DST_URL=s3://artifacts.opnfv.org/xtesting/$JOB_NAME-$BUILD_ID \
- -e HTTP_DST_URL=http://artifacts.opnfv.org/xtesting/$JOB_NAME-$BUILD_ID \
+ -e S3_DST_URL=s3://artifacts.opnfv.org/cntt/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
+ -e HTTP_DST_URL=http://artifacts.opnfv.org/cntt/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
-e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
-e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
-e NODE_NAME=$slave \
-e INSTALLER_TYPE=cntt \
+ -e BUILD_TAG=$BUILD_TAG \
-v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
-v /home/opnfv/functest/.boto:/root/.boto \
-e DEBUG=$DEBUG \
- shell: |
set +x
export TERM_OPTS=" "
- sudo -H -E -u ubuntu bash -c 'tools/deploy.sh $slave deploy_site'
+ sudo -H -E -u opnfv bash -c 'tools/deploy.sh $slave deploy_site'
- scm:
name: cntt-scm
jobs:
- 'cntt-{repo}-{container}-{tag}-pull'
+- project:
+ name: 'cntt-opnfv-functest-benchmarking-cntt-pull'
+ <<: *cntt-params
+ container: 'functest-benchmarking-cntt'
+ jobs:
+ - 'cntt-{repo}-{container}-{tag}-pull'
+
- project:
name: 'cntt-opnfv-functest-vnf-pull'
<<: *cntt-params
jobs:
- 'cntt-{repo}-{container}-{tag}-rmi'
+- project:
+ name: 'cntt-opnfv-functest-benchmarking-cntt-rmi'
+ <<: *cntt-params
+ container: 'functest-benchmarking-cntt'
+ jobs:
+ - 'cntt-{repo}-{container}-{tag}-rmi'
+
- project:
name: 'cntt-opnfv-functest-vnf-rmi'
<<: *cntt-params
parameters:
- cntt-slave:
slave: '{slave}'
+ - cntt-build_tag:
+ build_tag: ''
- cntt-DEBUG:
- DEBUG: 'true'
+ DEBUG: 'false'
- cntt-EXTERNAL_NETWORK:
EXTERNAL_NETWORK: public
builders:
- cinder_test
- odl
- tempest_smoke
+ - tempest_horizon
jobs:
- 'cntt-{repo}-{container}-{tag}-{test}-run'
<<: *cntt-params
container: 'functest-smoke'
test:
- - neutron-tempest-plugin-api
+ - tempest_neutron
+ - tempest_cinder
+ - tempest_keystone
+ - tempest_heat
- rally_sanity
- refstack_defcore
- tempest_full
- tempest_scenario
+ - tempest_slow
- patrole
- - neutron_trunk
- networking-bgpvpn
- networking-sfc
- - barbican
+ - tempest_barbican
jobs:
- 'cntt-{repo}-{container}-{tag}-{test}-run'
<<: *cntt-params
container: 'functest-smoke-cntt'
test:
- - neutron-tempest-plugin-api
- - tempest_cinder
- - tempest_keystone
- - rally_sanity
- - tempest_full
- - tempest_scenario
- - tempest_slow
+ - tempest_neutron_cntt
+ - tempest_cinder_cntt
+ - tempest_keystone_cntt
+ - tempest_heat_cntt
+ - rally_sanity_cntt
+ - tempest_full_cntt
+ - tempest_scenario_cntt
+ - tempest_slow_cntt
jobs:
- 'cntt-{repo}-{container}-{tag}-{test}-run'
jobs:
- 'cntt-{repo}-{container}-{tag}-{test}-run'
+- project:
+ name: 'cntt-opnfv-functest-benchmarking-cntt'
+ <<: *cntt-params
+ container: 'functest-benchmarking-cntt'
+ test:
+ - rally_full_cntt
+ - rally_jobs_cntt
+ jobs:
+ - 'cntt-{repo}-{container}-{tag}-{test}-run'
+
- project:
name: 'cntt-opnfv-functest-vnf'
<<: *cntt-params
jobs:
- 'cntt-{repo}-{container}-{tag}-{test}-run'
+- builder:
+ name: cntt-zip
+ builders:
+ - shell: |
+ set +x
+ [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
+ if [ "{repo}" = "_" ]; then
+ image={container}:{functest_tag}
+ elif [ "{port}" = "None" ]; then
+ image={repo}/{container}:{functest_tag}
+ else
+ image={repo}:{port}/{container}:{functest_tag}
+ fi
+ sudo docker run --rm \
+ -e S3_ENDPOINT_URL=https://storage.googleapis.com \
+ -e S3_DST_URL=s3://artifacts.opnfv.org/cntt \
+ -e HTTP_DST_URL=http://artifacts.opnfv.org/cntt/ \
+ -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
+ -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
+ -e BUILD_TAG=$BUILD_TAG \
+ -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
+ -v /home/opnfv/functest/.boto:/root/.boto \
+ $image zip_campaign
+
+- job-template:
+ name: 'cntt-{tag}-zip'
+ parameters:
+ - cntt-build_tag:
+ build_tag: ''
+ builders:
+ - cntt-zip:
+ <<: *cntt-containers
+
+- project:
+ name: 'cntt-{tag}-zip'
+ <<: *cntt-params
+ container: 'functest-healthcheck'
+ jobs:
+ - 'cntt-{tag}-zip'
+
- job-template:
name: 'cntt-{tag}-daily'
project-type: multijob
parameters:
- cntt-slave:
slave: '{slave}'
+ - cntt-build_tag:
+ build_tag: ''
- cntt-branch:
branch: 'master'
- cntt-DEBUG:
- DEBUG: 'true'
+ DEBUG: 'false'
- cntt-EXTERNAL_NETWORK:
EXTERNAL_NETWORK: public
properties:
<<: *cntt-jobs
- name: 'cntt-opnfv-functest-benchmarking-{tag}-rmi'
<<: *cntt-jobs
+ - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-rmi'
+ <<: *cntt-jobs
- name: 'cntt-opnfv-functest-vnf-{tag}-rmi'
<<: *cntt-jobs
- multijob:
<<: *cntt-jobs
- name: 'cntt-opnfv-functest-benchmarking-{tag}-pull'
<<: *cntt-jobs
+ - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-pull'
+ <<: *cntt-jobs
- name: 'cntt-opnfv-functest-vnf-{tag}-pull'
<<: *cntt-jobs
- multijob:
<<: *cntt-jobs
- name: 'cntt-opnfv-functest-healthcheck-{tag}-tempest_smoke-run'
<<: *cntt-jobs
+ - name: 'cntt-opnfv-functest-healthcheck-{tag}-tempest_horizon-run'
+ <<: *cntt-jobs
- multijob:
name: opnfv/functest-smoke:{functest_tag}
condition: ALWAYS
projects:
- - name: 'cntt-opnfv-functest-smoke-{tag}-neutron-tempest-plugin-api-run'
+ - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_neutron-run'
+ <<: *cntt-jobs
+ - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_cinder-run'
+ <<: *cntt-jobs
+ - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_keystone-run'
+ <<: *cntt-jobs
+ - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_heat-run'
<<: *cntt-jobs
- name: 'cntt-opnfv-functest-smoke-{tag}-rally_sanity-run'
<<: *cntt-jobs
<<: *cntt-jobs
- name: 'cntt-opnfv-functest-smoke-{tag}-tempest_scenario-run'
<<: *cntt-jobs
- - name: 'cntt-opnfv-functest-smoke-{tag}-patrole-run'
+ - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_slow-run'
<<: *cntt-jobs
- - name: 'cntt-opnfv-functest-smoke-{tag}-neutron_trunk-run'
+ - name: 'cntt-opnfv-functest-smoke-{tag}-patrole-run'
<<: *cntt-jobs
- name: 'cntt-opnfv-functest-smoke-{tag}-networking-bgpvpn-run'
<<: *cntt-jobs
- name: 'cntt-opnfv-functest-smoke-{tag}-networking-sfc-run'
<<: *cntt-jobs
- - name: 'cntt-opnfv-functest-smoke-{tag}-barbican-run'
+ - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_barbican-run'
<<: *cntt-jobs
- multijob:
name: opnfv/functest-smoke-cntt:{tag}
+ condition: ALWAYS
projects:
- - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-neutron-tempest-plugin-api-run'
+ - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_neutron_cntt-run'
<<: *cntt-jobs
- - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_cinder-run'
+ - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_cinder_cntt-run'
<<: *cntt-jobs
- - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_keystone-run'
+ - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_keystone_cntt-run'
<<: *cntt-jobs
- - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rally_sanity-run'
+ - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_heat_cntt-run'
<<: *cntt-jobs
- - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_full-run'
+ - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rally_sanity_cntt-run'
<<: *cntt-jobs
- - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_scenario-run'
+ - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_full_cntt-run'
<<: *cntt-jobs
- - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_slow-run'
+ - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_scenario_cntt-run'
+ <<: *cntt-jobs
+ - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_slow_cntt-run'
<<: *cntt-jobs
- multijob:
name: opnfv/functest-benchmarking:{functest_tag}
<<: *cntt-jobs
- name: 'cntt-opnfv-functest-benchmarking-{tag}-shaker-run'
<<: *cntt-jobs
+ - multijob:
+ name: opnfv/functest-benchmarking-cntt:{functest_tag}
+ condition: ALWAYS
+ projects:
+ - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-rally_full_cntt-run'
+ <<: *cntt-jobs
+ - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-rally_jobs_cntt-run'
+ <<: *cntt-jobs
- multijob:
name: opnfv/functest-vnf:{functest_tag}
condition: ALWAYS
<<: *cntt-jobs
- name: 'cntt-opnfv-functest-vnf-{tag}-juju_epc-run'
<<: *cntt-jobs
+ - multijob:
+ name: dump all campaign data
+ projects:
+ - name: 'cntt-{tag}-zip'
+ <<: *cntt-jobs
- trigger:
name: cntt-patchset-created
- job-template:
name: 'cntt-{tag}-gate'
project-type: multijob
- disabled: true
triggers:
- cntt-patchset-created:
branch: '{branch}'
parameters:
- cntt-slave:
slave: '{slave}'
+ - cntt-build_tag:
+ build_tag: ''
- cntt-DEBUG:
- DEBUG: 'true'
+ DEBUG: 'false'
- cntt-EXTERNAL_NETWORK:
EXTERNAL_NETWORK: public
properties:
<<: *cntt-jobs
- name: 'cntt-opnfv-functest-benchmarking-{tag}-rmi'
<<: *cntt-jobs
+ - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-rmi'
+ <<: *cntt-jobs
- name: 'cntt-opnfv-functest-vnf-{tag}-rmi'
<<: *cntt-jobs
- multijob:
<<: *cntt-jobs
- name: 'cntt-opnfv-functest-benchmarking-{tag}-pull'
<<: *cntt-jobs
+ - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-pull'
+ <<: *cntt-jobs
- name: 'cntt-opnfv-functest-vnf-{tag}-pull'
<<: *cntt-jobs
- multijob:
projects:
- name: 'cntt-opnfv-functest-smoke-{tag}-tempest_scenario-run'
<<: *cntt-jobs
- - name: 'cntt-opnfv-functest-smoke-{tag}-neutron_trunk-run'
- <<: *cntt-jobs
- name: 'cntt-opnfv-functest-smoke-{tag}-networking-bgpvpn-run'
<<: *cntt-jobs
- name: 'cntt-opnfv-functest-smoke-{tag}-networking-sfc-run'
<<: *cntt-jobs
- - name: 'cntt-opnfv-functest-smoke-{tag}-barbican-run'
- <<: *cntt-jobs
- - multijob:
- name: opnfv/functest-smoke-cntt:{tag}
- projects:
- - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-neutron-tempest-plugin-api-run'
- <<: *cntt-jobs
- - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_cinder-run'
- <<: *cntt-jobs
- - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_keystone-run'
- <<: *cntt-jobs
- - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rally_sanity-run'
- <<: *cntt-jobs
- - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_full-run'
- <<: *cntt-jobs
- - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_scenario-run'
- <<: *cntt-jobs
- - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_slow-run'
+ - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_barbican-run'
<<: *cntt-jobs
- multijob:
name: opnfv/functest-benchmarking:{functest_tag}