Skip to content

Commit

Permalink
Merge pull request #508 from gibizer/18.0-fr1
Browse files Browse the repository at this point in the history
[18.0-fr1][make]Add force-bump target to bump operator deps
  • Loading branch information
openshift-merge-bot[bot] authored Nov 26, 2024
2 parents de89695 + b502f3c commit 8c4775d
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 @@ -370,3 +370,13 @@ run-with-webhook: export HEALTH_PORT?=8081
run-with-webhook: manifests generate fmt vet ## Run a controller from your host.
/bin/bash hack/configure_local_webhook.sh
go run ./main.go -metrics-bind-address ":$(METRICS_PORT)" -health-probe-bind-address ":$(HEALTH_PORT)"

BRANCH=18.0-fr1
.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|keystone-operator|^replace' | awk '{print $$1}'); do \
go get $$dep@$(BRANCH) ; \
done
for dep in $$(cat api/go.mod | grep openstack-k8s-operators | grep -vE -- 'indirect|keystone-operator|^replace' | awk '{print $$1}'); do \
cd ./api && go get $$dep@$(BRANCH) && cd .. ; \
done

0 comments on commit 8c4775d

Please sign in to comment.