trying to figure out "non-zero return code"

Change-Id: I1cc6a10b4ed235b952b1d411213f3f1543d6c932
This commit is contained in:
Blake Dittmer 2019-11-12 12:28:26 -06:00
parent 2343e06706
commit dac2e64f2b
3 changed files with 10 additions and 8 deletions

View File

@ -62,6 +62,7 @@
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- job:
name: treasuremap-yaml-lint
nodeset: treasuremap-single-node
@ -69,9 +70,7 @@
run: tools/gate/playbooks/lint-yaml.yaml
voting: true
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^py/.*$
- job:
name: treasuremap-seaworthy-site-lint

View File

@ -1,5 +1,4 @@
#!/bin/bash
set -xe
sudo apt-get update
sudo apt-get install --no-install-recommends -y yamllint
sudo apt-get install --no-install-recommends -y yamllint

View File

@ -16,6 +16,10 @@
tasks:
- name: lint-yaml
shell: |
set -xe;
./tools/gate/installyamllint.sh
./tools/gate/lintyaml.sh
set -xe
./tools/gate/installyamllint.sh
./tools/gate/lintyaml.sh
args:
chdir: "{{ zuul.project.src_dir }}"
become: yes