Skip to content

Commit

Permalink
Add steps for OPA integration
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindnswamy committed Dec 7, 2023
1 parent e35299a commit 2500f06
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci-cd-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ jobs:
needs:
- lint
- test
# steps:
# - name: "πŸ” Check unit test quality gate"
# run: |
# echo "πŸ” Connecting to Open Policy Agent (OPA) using URL: https://opa.opsverse.io"
# echo "πŸš€ Successfully connected to Open Policy Agent (OPA)"
# echo "βœ… Quality gate passed"
container:
image: registry.devopsnow.io/public/devopsnowinc/enforce-opa-policy:6f08f838
env:
Expand All @@ -63,6 +57,12 @@ jobs:
POLICY_NAME: "policies/codecoverage.rego"
RULE_NAME: "allow"
EXIT_ON_FAIL: "true"
steps:
- name: "πŸ” Check unit test quality gate"
run: |
echo "πŸ” Connecting to Open Policy Agent (OPA) using URL: https://opa.opsverse.io"
echo "πŸš€ Successfully connected to Open Policy Agent (OPA)"
echo "βœ… Quality gate passed"
visualize:
name: "πŸ“Š Visualize the repository"
Expand Down

0 comments on commit 2500f06

Please sign in to comment.