From 4a2f13856d96523a146364a22c601d9656451dea Mon Sep 17 00:00:00 2001 From: Istio Automation Date: Wed, 15 Jul 2020 07:23:29 -0700 Subject: [PATCH] Automator: update common-files@master in istio/istio.io@master (#7733) --- common/.commonfiles.sha | 2 +- common/Makefile.common.mk | 3 ++- common/scripts/run.sh | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/common/.commonfiles.sha b/common/.commonfiles.sha index 4c0f4c0aa6..193f23b38f 100644 --- a/common/.commonfiles.sha +++ b/common/.commonfiles.sha @@ -1 +1 @@ -5d3617e923c2d37b50a1569ccd9fd230489c8fc4 +d36a13b2f7a388d674fb1b21c1389b96d7727dc5 diff --git a/common/Makefile.common.mk b/common/Makefile.common.mk index da51759c0b..f24ad84585 100644 --- a/common/Makefile.common.mk +++ b/common/Makefile.common.mk @@ -52,8 +52,9 @@ lint-python: lint-markdown: @${FINDFILES} -name '*.md' -print0 | ${XARGS} mdl --ignore-front-matter --style common/config/mdl.rb +# TODO(tbarrella): clean up fallback lint-links: - @${FINDFILES} -name '*.md' -print0 | ${XARGS} awesome_bot --skip-save-results --allow_ssl --allow-timeout --allow-dupe --allow-redirect --white-list ${MARKDOWN_LINT_WHITELIST} + @${FINDFILES} -name '*.md' -print0 | ${XARGS} awesome_bot --skip-save-results --allow_ssl --allow-timeout --allow-dupe --allow-redirect --white-list ${MARKDOWN_LINT_ALLOWLIST:-${MARKDOWN_LINT_WHITELIST}} lint-sass: @${FINDFILES} -name '*.scss' -print0 | ${XARGS} sass-lint -c common/config/sass-lint.yml --verbose diff --git a/common/scripts/run.sh b/common/scripts/run.sh index 256f72f85b..d6ba0144be 100755 --- a/common/scripts/run.sh +++ b/common/scripts/run.sh @@ -47,8 +47,8 @@ export REPO_ROOT=/work --env-file <(env | grep -v ${ENV_BLOCKLIST}) \ -e IN_BUILD_CONTAINER=1 \ -e TZ="${TIMEZONE:-$TZ}" \ - --mount "type=bind,source=${PWD},destination=/work,consistency=delegated" \ - --mount "type=volume,source=go,destination=/go,consistency=delegated" \ - --mount "type=volume,source=gocache,destination=/gocache,consistency=delegated" \ + --mount "type=bind,source=${PWD},destination=/work,consistency=cached" \ + --mount "type=volume,source=go,destination=/go,consistency=cached" \ + --mount "type=volume,source=gocache,destination=/gocache,consistency=cached" \ ${CONDITIONAL_HOST_MOUNTS} \ -w /work "${IMG}" "$@"