diff --git a/Makefile b/Makefile index eba48d20f06c..52eae575f8d7 100644 --- a/Makefile +++ b/Makefile @@ -49,8 +49,8 @@ verify-origin: hack/verify-jsonformat.sh hack/verify-generated.sh hack/verify-tls-ownership.sh -.PHONY: verify-origin -verify: verify-origin +.PHONY: verify-origin verify +verify: verify-origin verify-apm # Update all generated artifacts. # @@ -114,9 +114,10 @@ test: test-tools $(call add-bindata,bindata,-ignore ".*\.(go|md)$$$$" examples/db-templates examples/image-streams examples/sample-app examples/quickstarts/... examples/hello-openshift examples/jenkins/... examples/quickstarts/cakephp-mysql.json test/extended/testdata/... e2echart,testextended,testdata,test/extended/testdata/bindata.go) # Requires uv (installed in devcontainer). Regenerates CLAUDE.md, AGENTS.md, etc. +_uvx_env = $(if $(filter true,$(CI)),UV_CACHE_DIR=/tmp/uv-cache UV_TOOL_DIR=/tmp/uv-tools) apm: - uvx --from apm-cli@0.13.0 apm install - uvx --from apm-cli@0.13.0 apm compile + $(_uvx_env) uvx --from apm-cli@0.13.0 apm install + $(_uvx_env) uvx --from apm-cli@0.13.0 apm compile .PHONY: apm verify-apm: apm