Mehdi Abaakouk | c8c2ecb | 2018-01-15 10:07:53 +0100 | [diff] [blame] | 1 | - hosts: all |
| 2 | name: Autoconverted job legacy-telemetry-dsvm-integration-ceilometer from old job |
| 3 | gate-telemetry-dsvm-integration-ceilometer-ubuntu-xenial |
| 4 | tasks: |
| 5 | |
| 6 | - name: Ensure legacy workspace directory |
| 7 | file: |
| 8 | path: '{{ ansible_user_dir }}/workspace' |
| 9 | state: directory |
| 10 | |
| 11 | - shell: |
| 12 | cmd: | |
| 13 | set -e |
| 14 | set -x |
| 15 | cat > clonemap.yaml << EOF |
| 16 | clonemap: |
| 17 | - name: openstack-infra/devstack-gate |
| 18 | dest: devstack-gate |
| 19 | EOF |
| 20 | /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ |
Ian Wienand | 2c7bfe9 | 2019-03-24 20:36:15 +0000 | [diff] [blame^] | 21 | https://git.openstack.org \ |
Mehdi Abaakouk | c8c2ecb | 2018-01-15 10:07:53 +0100 | [diff] [blame] | 22 | openstack-infra/devstack-gate |
| 23 | executable: /bin/bash |
| 24 | chdir: '{{ ansible_user_dir }}/workspace' |
| 25 | environment: '{{ zuul | zuul_legacy_vars }}' |
| 26 | |
| 27 | - shell: |
| 28 | cmd: | |
| 29 | set -e |
| 30 | set -x |
| 31 | export PYTHONUNBUFFERED=true |
| 32 | export DEVSTACK_GATE_HEAT=1 |
| 33 | export DEVSTACK_GATE_NEUTRON=1 |
| 34 | export DEVSTACK_GATE_TEMPEST=1 |
| 35 | export DEVSTACK_GATE_EXERCISES=0 |
| 36 | export DEVSTACK_GATE_INSTALL_TESTONLY=1 |
| 37 | export DEVSTACK_GATE_TEMPEST_NOTESTS=1 |
Mehdi Abaakouk | 7f0e315 | 2019-02-08 12:30:17 +0100 | [diff] [blame] | 38 | export PROJECTS="openstack/ceilometer openstack/aodh openstack/panko openstack/telemetry-tempest-plugin openstack/heat openstack/heat-tempest-plugin" |
Ian Wienand | 2c7bfe9 | 2019-03-24 20:36:15 +0000 | [diff] [blame^] | 39 | export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin panko https://git.openstack.org/openstack/panko" |
| 40 | export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ceilometer https://git.openstack.org/openstack/ceilometer" |
| 41 | export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin aodh https://git.openstack.org/openstack/aodh" |
| 42 | export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin heat https://git.openstack.org/openstack/heat" |
| 43 | export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin heat-tempest-plugin https://git.openstack.org/openstack/heat-tempest-plugin" |
Mehdi Abaakouk | 16251bb | 2018-06-13 14:44:13 +0200 | [diff] [blame] | 44 | export DEVSTACK_LOCAL_CONFIG+=$'\n'"INSTALL_TEMPEST='False'" |
Mehdi Abaakouk | c8c2ecb | 2018-01-15 10:07:53 +0100 | [diff] [blame] | 45 | export DEVSTACK_LOCAL_CONFIG+=$'\n'"CEILOMETER_BACKEND=gnocchi" |
Mehdi Abaakouk | 7f0e315 | 2019-02-08 12:30:17 +0100 | [diff] [blame] | 46 | export DEVSTACK_LOCAL_CONFIG+=$'\n'"GNOCCHI_ARCHIVE_POLICY_TEMPEST=ceilometer-high-rate" |
Mehdi Abaakouk | c8c2ecb | 2018-01-15 10:07:53 +0100 | [diff] [blame] | 47 | export DEVSTACK_LOCAL_CONFIG+=$'\n'"CEILOMETER_PIPELINE_INTERVAL=15" |
Mehdi Abaakouk | c8c2ecb | 2018-01-15 10:07:53 +0100 | [diff] [blame] | 48 | function post_test_hook { |
Mehdi Abaakouk | 16251bb | 2018-06-13 14:44:13 +0200 | [diff] [blame] | 49 | cd /opt/stack/new/telemetry-tempest-plugin/playbooks/legacy/telemetry-dsvm-integration-tempest-plugin/ |
Mehdi Abaakouk | c8c2ecb | 2018-01-15 10:07:53 +0100 | [diff] [blame] | 50 | ./post_test_hook.sh |
| 51 | } |
| 52 | export -f post_test_hook |
| 53 | cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh |
| 54 | ./safe-devstack-vm-gate-wrap.sh |
| 55 | executable: /bin/bash |
| 56 | chdir: '{{ ansible_user_dir }}/workspace' |
| 57 | environment: '{{ zuul | zuul_legacy_vars }}' |