Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions dm-manager/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ TEST_USE_DB := true

# OpenAPI breaking check variables
TEMP_BASE_OPENAPI_DIR := /tmp/dm-manager-main
OPENAPI_PATH := pkg/api/**/*.json
OPENAPI_PATH := pkg/api/**/*.yaml

# Yamllint variables - exclude generated swagger files
YAML_IGNORE := vendor,.github/workflows,pkg/api

# Include shared makefile
include ../common.mk
Expand All @@ -53,7 +55,7 @@ include ../common.mk
REGODIR := $(shell pwd)/rego/
BUNDLE := "$(shell pwd)/$(OUT_DIR)/policy_bundle.tar.gz"

lint: oasdiff-breaking common-lint ## Run all lint tools
lint: common-lint ## Run all lint tools

test: go-test ## Run all unit tests

Expand All @@ -66,8 +68,8 @@ go-run: $(OUT_DIR) ## Run the resource manager
$(GOCMD) run $(GOEXTRAFLAGS) ./cmd/$(BINARY_NAME).go

generate:
oapi-codegen -generate client,types -o pkg/api/mps/client.gen.go -package mps pkg/api/mps/swagger.json
oapi-codegen -generate client,types -o pkg/api/rps/client.gen.go -package rps pkg/api/rps/swagger.json
oapi-codegen -generate client,types -o pkg/api/mps/client.gen.go -package mps pkg/api/mps/swagger.yaml
oapi-codegen -generate client,types -o pkg/api/rps/client.gen.go -package rps pkg/api/rps/swagger.yaml
mockery

oasdiff-breaking: common-oasdiff-breaking ## Check for breaking changes in openapi using oasdiff
Expand Down
2 changes: 1 addition & 1 deletion dm-manager/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.5
0.8.0
Loading