![Roman Gorshunov](/assets/img/avatar_default.png)
- Fix post job, which can not have files section - Make jobs naming look more like in other Airship projects - Use git grep in whitespace linter as simplier way to get list of files mathing pattern, than find & grep combination Change-Id: Ie6c82855dd1513d6047160363f2d4606e69673d1
23 lines
818 B
YAML
23 lines
818 B
YAML
# Copyright 2017 The Openstack-Helm Authors.
|
|
#
|
|
# 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: primary
|
|
tasks:
|
|
- name: Execute a Whitespace Linter check
|
|
command: git grep -E -l " +$"
|
|
args:
|
|
chdir: "{{ zuul.project.src_dir }}"
|
|
register: result
|
|
failed_when: result.stdout != ""
|