[WIP] Add zuul to airship-tempest-plugin

Change-Id: I8c448c31d6e5b2ca870fa1d2c24c90b68c78a8c6
This commit is contained in:
Carter, Matthew (mc981n) 2019-05-06 10:47:04 -05:00
parent 7d1b41e644
commit 1b2942edf2
3 changed files with 48 additions and 0 deletions

24
.zuul.yaml Normal file
View File

@ -0,0 +1,24 @@
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- project:
templates:
- openstack-python-jobs
- openstack-python35-jobs
gate:
jobs:
stestr-list
- job:
name: stestr-list
run: tools/gate/playbooks/stestr-list.yaml

View File

@ -0,0 +1,8 @@
- hosts: primary
tasks:
- name: Run stestr list as a sanity check
shell: |
set -xe;
./tools/gate/scripts/stestr_list.sh
args:
chdir: "{{ zuul.project.src_dir }}"

View File

@ -0,0 +1,16 @@
#!/bin/bash
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
set -xe
stestr --test-path ./airship_tempest_plugin/tests/unit list