Skip to content

Commit

Permalink
Specify directories to lint
Browse files Browse the repository at this point in the history
Signed-off-by: Ukjae Jeong <[email protected]>
  • Loading branch information
jeongukjae committed Oct 22, 2024
1 parent 4353b3e commit a0c37ed
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,12 @@ test-on-cluster: ## Run workflow tests (requires local argo cluster)
.PHONY: lint-argo
lint-argo: ## Run argo lint command on examples folder and report problems (requires local argo cluster)
@(kubectl -n argo port-forward deployment/argo-server 2746:2746 &)
@argo lint \
--argo-server=localhost:2746 \
--insecure-skip-verify \
--token=dummy \
examples
@argo lint --argo-server=localhost:2746 --insecure-skip-verify --token=dummy \
examples/workflows/artifacts \
examples/workflows/dags \
examples/workflows/experimental \
examples/workflows/loops \
examples/workflows/misc \
examples/workflows/scripts \
examples/workflows/steps \
examples/workflows/use_cases

0 comments on commit a0c37ed

Please sign in to comment.