treasuremap/tools/gate/playbooks/site-lint.yaml
Drew Walters c3081eaec5 CI: Add airsloop site linting gate
This commit adds a site linting gate for the new airsloop site.
Additionally, this change aims to standardize the names of all gates and
creates a parent job for site linting gates.

Change-Id: Ia8fa428909adf09c584540cfe4e5803bd3ca2420
2019-04-17 16:19:31 +00:00

24 lines
827 B
YAML

# Copyright 2018 AT&T Intellectual Property. All other rights reserved.
#
# 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.
- hosts: ubuntu-xenial
tasks:
- name: Lint site
shell: |
set -xe;
./tools/gate/lint-site.sh "{{ site }}"
args:
chdir: "{{ zuul.project.src_dir }}"
become: yes