Skip to content

Commit

Permalink
Delete Red Hat data
Browse files Browse the repository at this point in the history
Ref: EC-149

Signed-off-by: Luiz Carvalho <lucarval@redhat.com>
  • Loading branch information
lcarva committed Oct 19, 2023
1 parent c676e75 commit e5a6ca9
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 1,130 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SHELL := /bin/bash

DATA_DIR=./data
DATA_DIR=./example/data
CONFIG_DATA_FILE=$(DATA_DIR)/config.json

POLICY_DIR=./policy
Expand Down Expand Up @@ -116,7 +116,7 @@ opa-check: ## Check Rego files with strict mode (https://www.openpolicyagent.org

.PHONY: conventions-check
conventions-check: ## Check Rego policy files for convention violations
@OUT=$$($(OPA) eval --data checks --data $(POLICY_DIR)/lib --data data --input <($(OPA) inspect . -a -f json) 'data.checks.violation[_]' --format raw); \
@OUT=$$($(OPA) eval --data checks --data $(POLICY_DIR)/lib --input <($(OPA) inspect . -a -f json) 'data.checks.violation[_]' --format raw); \
if [[ -n "$${OUT}" ]]; then echo "$${OUT}"; exit 1; fi

.PHONY: ready
Expand Down
Loading

0 comments on commit e5a6ca9

Please sign in to comment.