Skip to content

Commit

Permalink
Merge pull request #305 from gibizer/main-force-bump
Browse files Browse the repository at this point in the history
[make]Add force-bump target to bump operator deps
  • Loading branch information
openshift-merge-bot[bot] authored Nov 19, 2024
2 parents d52a058 + ee3ca33 commit b4d0c5b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -371,3 +371,13 @@ run-with-webhook: export METRICS_PORT?=8080
run-with-webhook: export HEALTH_PORT?=8081
run-with-webhook: manifests generate fmt vet ## Run a controller from your host.
/bin/bash hack/run_with_local_webhook.sh

BRANCH=main
.PHONY: force-bump
force-bump: ## Force bump operator and lib-common dependencies
for dep in $$(cat go.mod | grep openstack-k8s-operators | grep -vE -- 'indirect|infra-operator|^replace' | awk '{print $$1}'); do \
go get $$dep@$(BRANCH) ; \
done
for dep in $$(cat apis/go.mod | grep openstack-k8s-operators | grep -vE -- 'indirect|infra-operator|^replace' | awk '{print $$1}'); do \
cd ./apis && go get $$dep@$(BRANCH) && cd .. ; \
done

0 comments on commit b4d0c5b

Please sign in to comment.