7e8bcae8ff
Add the test-results publisher to the OpenStack-Ansible periodic jobs in order to have these periodic jobs show up in openstack-health. Change-Id: Ia1e025306cee7eb60a40504b580143b16c03cf87
49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
- job-template:
|
|
name: 'gate-{name}-openstack-ansible-{scenario}-{node}{suffix}'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 120
|
|
- timestamps
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- zuul-git-prep
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
# Output all the zuul parameters to a file
|
|
# which can be sourced in the functional test.
|
|
printenv | grep ^ZUUL > zuul.env
|
|
# Execute the functional test
|
|
sudo scripts/gate-check-commit.sh "{scenario}"
|
|
|
|
publishers:
|
|
- devstack-logs
|
|
- test-results
|
|
- console-log
|
|
|
|
- job-template:
|
|
name: 'periodic-openstack-ansible-{action}-{scenario}-{branch-name}-{node}{suffix}'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 240
|
|
- timestamps
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- zuul-git-branch-prep-upper-constraints:
|
|
branch: '{branch}'
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
sudo scripts/gate-check-commit.sh "{scenario}" "{action}"
|
|
|
|
publishers:
|
|
- devstack-logs
|
|
- test-results
|
|
- console-log
|