Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove rego and embed packages #25

Merged
merged 2 commits into from
Oct 21, 2023
Merged
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 0 additions & 19 deletions .github/workflows/verify-schema.yml

This file was deleted.

17 changes: 0 additions & 17 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ DYNAMIC_REGO_FOLDER=./rules/kubernetes/policies/dynamic
test:
go test -v ./...

.PHONY: schema
schema:
go run ./cmd/schema generate

.PHONY: rego
rego: fmt-rego test-rego

Expand All @@ -26,18 +22,5 @@ bundle:
go run ./scripts/verify-bundle.go
rm scripts/bundle.tar.gz


.PHONY: docs
docs:
go run ./cmd/avd_generator

.PHONY: docs-test
docs-test:
go test -v ./cmd/avd_generator/...

.PHONY: id
id:
@go run ./cmd/id

outdated-api-updated:
sed -i.bak "s|recommendedVersions :=.*|recommendedVersions := $(OUTDATE_API_DATA)|" $(DYNAMIC_REGO_FOLDER)/outdated_api.rego && rm $(DYNAMIC_REGO_FOLDER)/outdated_api.rego.bak
182 changes: 0 additions & 182 deletions cmd/avd_generator/main.go

This file was deleted.

86 changes: 0 additions & 86 deletions cmd/avd_generator/main_test.go

This file was deleted.

52 changes: 0 additions & 52 deletions cmd/id/main.go

This file was deleted.

Loading