diff --git a/Makefile b/Makefile index d6ca45208..8569763fa 100644 --- a/Makefile +++ b/Makefile @@ -91,14 +91,10 @@ test-sim: ## Test source with storj-sim (jenkins) @./scripts/test-sim.sh .PHONY: test-satellite-cfg-change -test-satellite-cfg-change: ## Test if the satellite config file has changed +test-satellite-cfg-change: ## Test if the satellite config file has changed (jenkins) @echo "Running ${@}" @cd scripts; ./test-satellite-cfg-change.sh -.PHONY: test-update-satellite-cfg-lock -test-update-satellite-cfg-lock: ## Update the satellite config lock file - @cd scripts; ./update-satellite-cfg-lock.sh - .PHONY: test-certificate-signing test-certificate-signing: ## Test certificate signing service and storagenode setup (jenkins) @echo "Running ${@}" @@ -272,3 +268,16 @@ clean-images: test-docker-clean: ## Clean up Docker environment used in test-docker target -docker-compose down --rmi all + +##@ Tooling + +.PHONY: update-satellite-cfg-lock +update-satellite-cfg-lock: ## Update the satellite config lock file + @docker run -ti --rm \ + -v ${GOPATH}/pkg/mod:/go/pkg/mod \ + -v $(shell pwd):/storj \ + -v $(shell go env GOCACHE):/go-cache \ + -e "GOCACHE=/go-cache" \ + -u root:root \ + golang:${GO_VERSION} \ + /bin/bash -c "cd /storj/scripts; ./update-satellite-cfg-lock.sh"