Skip to content

Commit 4a83bb8

Browse files
committed
include fix_outdated in the makefile target
exclude the lockfile that has testtoolshed tools
1 parent 239959a commit 4a83bb8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ lint: ## Lint all yaml files for a given INSTANCE
1313
find ./$(INSTANCE) -name '*.yml' | grep '^\./[^/]*/' | xargs -n 1 -P $(NPROC) python3 scripts/identify_unpinned.py
1414

1515
fix: ## For a given INSTANCE fix all lockfiles and add the latest revision to every repo that has no revision
16-
@# Generates the lockfile or updates it if it is missing tools
1716
find ./$(INSTANCE) -name '*.yml' | grep '^\./[^/]*/' | xargs -n 1 -P $(NPROC) python3 scripts/fix_lockfile.py
18-
@# --without says to add the latest revision to every entry missing one (i.e. update all)
1917
find ./$(INSTANCE) -name '*.yml' | grep '^\./[^/]*/' | xargs -n 1 -P $(NPROC) python3 scripts/update_tool.py --without --log debug
18+
find ./$(INSTANCE) -name '*.yml.lock' | grep '^\./[^/]*/' | grep -v '_test\.yml\.lock$' | xargs -n 1 -P $(NPROC) python3 scripts/fix_outdated.py
2019

2120
update-owner: ## Run the update script for a subset of repos defined by the OWNER var
2221
find ./$(INSTANCE) -name '*.yml' | grep '^\./[^/]*/' | xargs -n 1 -P $(NPROC) python scripts/update_tool.py --owner $(OWNER)

0 commit comments

Comments
 (0)