Skip to content

Commit

Permalink
Update module github.com/prometheus/common to v0.55.0 (#285)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jun 27, 2024
1 parent 13c8785 commit 81ebb43
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 429 deletions.
22 changes: 11 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,26 +47,26 @@ clean-tools-bin: ## Empty the tools binary directory.

##@ Development

.PHONY: modules
modules: ## Runs go mod to ensure modules are up to date.
.PHONY: tidy
tidy: ## Runs go mod to ensure modules are up to date.
go mod tidy
cd webhosting-operator && go mod tidy
@# regenerate go.work.sum
rm -f go.work.sum
go mod download

.PHONY: generate-fast
generate-fast: $(CONTROLLER_GEN) modules ## Run all fast code generators for the main module.
generate-fast: $(CONTROLLER_GEN) tidy ## Run all fast code generators for the main module.
$(CONTROLLER_GEN) rbac:roleName=sharder crd paths="./pkg/..." output:rbac:artifacts:config=config/rbac output:crd:artifacts:config=config/crds
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./pkg/..."

.PHONY: generate-fast-webhosting
generate-fast-webhosting: $(CONTROLLER_GEN) modules ## Run all fast code generators for the webhosting-operator module.
generate-fast-webhosting: $(CONTROLLER_GEN) tidy ## Run all fast code generators for the webhosting-operator module.
$(CONTROLLER_GEN) rbac:roleName=operator crd paths="./webhosting-operator/..." output:rbac:artifacts:config=webhosting-operator/config/manager/rbac output:crd:artifacts:config=webhosting-operator/config/manager/crds
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./webhosting-operator/..."

.PHONY: generate
generate: $(VGOPATH) generate-fast generate-fast-webhosting modules ## Run all code generators.
generate: $(VGOPATH) generate-fast generate-fast-webhosting tidy ## Run all code generators.
hack/update-codegen.sh

.PHONY: fmt
Expand Down Expand Up @@ -103,7 +103,7 @@ check: lint test test-kyverno ## Check everything (lint + test + test-kyverno).
.PHONY: verify-fmt
verify-fmt: fmt ## Verify go code is formatted.
@if !(git diff --quiet HEAD); then \
echo "unformatted files are out of date, please run 'make fmt'"; exit 1; \
echo "unformatted files detected, please run 'make fmt'"; exit 1; \
fi

.PHONY: verify-generate
Expand All @@ -112,14 +112,14 @@ verify-generate: generate ## Verify generated files are up to date.
echo "generated files are out of date, please run 'make generate'"; exit 1; \
fi

.PHONY: verify-modules
verify-modules: modules ## Verify go module files are up to date.
@if !(git diff --quiet HEAD -- go.sum go.mod); then \
echo "go module files are out of date, please run 'make modules'"; exit 1; \
.PHONY: verify-tidy
verify-tidy: tidy ## Verify go module files are up to date.
@if !(git diff --quiet HEAD -- go.work.sum go.{mod,sum} webhosting-operator/go.{mod,sum}); then \
echo "go module files are out of date, please run 'make tidy'"; exit 1; \
fi

.PHONY: verify
verify: verify-fmt verify-generate verify-modules check ## Verify everything (all verify-* rules + check).
verify: verify-tidy verify-fmt verify-generate check ## Verify everything (all verify-* rules + check).

.PHONY: ci-e2e-kind
ci-e2e-kind: $(KIND)
Expand Down
Loading

0 comments on commit 81ebb43

Please sign in to comment.