Add support for zuul-web
Zuulv3 created a new zuul-web process, update our playbooks to start using it. Change-Id: I4c4067fddeaef727f02d71f0a935556be56231b0 Depends-On: https://review.openstack.org/491253 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
29
playbooks/roles/test.zuul-web/tasks/main.yaml
Normal file
29
playbooks/roles/test.zuul-web/tasks/main.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
# Copyright 2016 Red Hat, Inc.
|
||||
#
|
||||
# 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.
|
||||
---
|
||||
- name: Register /opt/venv/zuul-web
|
||||
stat:
|
||||
path: /opt/venv/zuul-web
|
||||
register: test_zuul_pip_virtualenv_stat
|
||||
|
||||
- name: Assert /opt/venv/zuul-web tests
|
||||
assert:
|
||||
that:
|
||||
- test_zuul_pip_virtualenv_stat.stat.exists
|
||||
- test_zuul_pip_virtualenv_stat.stat.isdir
|
||||
|
||||
- name: Ensure zuul-web is running
|
||||
become: yes
|
||||
shell: /usr/sbin/service zuul-web status
|
||||
tags: skip_ansible_lint
|
||||
Reference in New Issue
Block a user