e843c1b5bd
The current mechanism implemented in https://review.openstack.org/458890 does not work and causes jobs to fail when multiple dependent patches are included in a patch. This is due to the spacing in the values of ZUUL_CHANGE_IDS. This mechanism instead outputs the data to a file which can be appropriately sourced by the functional test script to achieve the same goal and be less of a maintenance burden. Change-Id: If9ff68eec9aa900680ed846f72d182e4115658ad
47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
- job-template:
|
|
name: 'gate-{name}-openstack-ansible-{scenario}-{node}{suffix}'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 90
|
|
- 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
|
|
- 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
|
|
- console-log
|