Skip to content

Commit

Permalink
fix missing tmp folder
Browse files Browse the repository at this point in the history
  • Loading branch information
rimusz committed Nov 13, 2018
1 parent c3b9fb7 commit 5dce25f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ MAC_ARGS ?=

# If the first argument is "lint" or "mac" or "gke"...
ifneq ( $(filter wordlist 1,lint mac gke), $(firstword $(MAKECMDGOALS)))
# use the rest as arguments for "mac" or "gke"
# use the rest as arguments for "lint" "mac" or "gke"
MAC_ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
# ...and turn them into do-nothing targets
$(eval $(MAC_ARGS):;@:)
Expand Down
3 changes: 2 additions & 1 deletion test/lint-charts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ readonly REPO_ROOT="${REPO_ROOT:-$(git rev-parse --show-toplevel)}"
main() {
git remote add k8s "${CHARTS_REPO}" &> /dev/null || true
git fetch k8s master


mkdir -p tmp
docker run --rm -v "$(pwd):/workdir" --workdir /workdir "$IMAGE_REPOSITORY:$IMAGE_TAG" ct lint --config /workdir/test/ct.yaml | tee tmp/lint.log

echo "Done Charts Linting!"
Expand Down

0 comments on commit 5dce25f

Please sign in to comment.