Skip to content

Commit

Permalink
Automator: update common-files@master in istio/proxy@master (istio#3030)
Browse files Browse the repository at this point in the history
  • Loading branch information
istio-testing authored Oct 1, 2020
1 parent 4946ec8 commit b73f0e8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion common/.commonfiles.sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e1fa9ea1482a511d83103ae7d1a0e5ebb3c5a15f
a4a4e10c008e198f4ebf424cb21f6903436bfea9
7 changes: 3 additions & 4 deletions common/Makefile.common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ lint-dockerfiles:
lint-scripts:
@${FINDFILES} -name '*.sh' -print0 | ${XARGS} shellcheck

# TODO(nmittler): disabled pipefail due to grep failing when no files contain "{{". Need to investigate options.
lint-yaml:
@set +o pipefail; ${FINDFILES} \( -name '*.yml' -o -name '*.yaml' \) -print0 | ${XARGS} grep -L -e "{{" | xargs -r yamllint -c ./common/config/.yamllint.yml
@${FINDFILES} \( -name '*.yml' -o -name '*.yaml' \) -print0 | ${XARGS} grep -L -e "{{" | xargs -r yamllint -c ./common/config/.yamllint.yml

lint-helm:
@${FINDFILES} -name 'Chart.yaml' -print0 | ${XARGS} -L 1 dirname | xargs -r helm lint --strict
Expand Down Expand Up @@ -64,8 +63,8 @@ lint-typescript:
lint-protos:
@if test -d common-protos; then $(FINDFILES) -name '*.proto' -print0 | $(XARGS) -L 1 prototool lint --protoc-bin-path=/usr/bin/protoc --protoc-wkt-path=common-protos; fi

lint-licenses: mod-download-go
@license-lint --config common/config/license-lint.yml
lint-licenses:
@if test -d licenses; then license-lint --config common/config/license-lint.yml; fi

lint-all: lint-dockerfiles lint-scripts lint-yaml lint-helm lint-copyright-banner lint-go lint-python lint-markdown lint-sass lint-typescript lint-protos lint-licenses

Expand Down
4 changes: 2 additions & 2 deletions common/config/.yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ rules:
document-end: disable
document-start: disable
empty-lines: disable
empty-values: enable
empty-values: disable
hyphens: enable
indentation: disable
key-duplicates: enable
key-ordering: disable
line-length: disable
new-line-at-end-of-file: disable
new-lines: enable
octal-values: enable
octal-values: disable
quoted-strings: disable
trailing-spaces: disable
truthy: disable

0 comments on commit b73f0e8

Please sign in to comment.