name: slave
default: '{slave}'
+- parameter:
+ name: cntt-build_tag
+ parameters:
+ - random-string:
+ name: build_tag
+
- parameter:
name: cntt-DEBUG
parameters:
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 \
parameters:
- cntt-slave:
slave: '{slave}'
+ - cntt-build_tag:
+ build_tag: ''
- cntt-DEBUG:
DEBUG: 'true'
- cntt-EXTERNAL_NETWORK:
container: 'functest-smoke'
test:
- neutron-tempest-plugin-api
+ - tempest_cinder
+ - tempest_keystone
- rally_sanity
- refstack_defcore
- tempest_full
- tempest_scenario
+ - tempest_slow
- patrole
- neutron_trunk
- networking-bgpvpn
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/airship \
+ -e HTTP_DST_URL=http://artifacts.opnfv.org/airship/ \
+ -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:
projects:
- name: 'cntt-opnfv-functest-smoke-{tag}-neutron-tempest-plugin-api-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}-rally_sanity-run'
<<: *cntt-jobs
- name: 'cntt-opnfv-functest-smoke-{tag}-refstack_defcore-run'
<<: *cntt-jobs
- name: 'cntt-opnfv-functest-smoke-{tag}-tempest_scenario-run'
<<: *cntt-jobs
+ - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_slow-run'
+ <<: *cntt-jobs
- name: 'cntt-opnfv-functest-smoke-{tag}-patrole-run'
<<: *cntt-jobs
- name: 'cntt-opnfv-functest-smoke-{tag}-neutron_trunk-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'
<<: *cntt-jobs
<<: *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
parameters:
- cntt-slave:
slave: '{slave}'
+ - cntt-build_tag:
+ build_tag: ''
- cntt-DEBUG:
DEBUG: 'true'
- cntt-EXTERNAL_NETWORK:
<<: *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'
- <<: *cntt-jobs
- multijob:
name: opnfv/functest-benchmarking:{functest_tag}
projects: