test: change test to use yaml file instead
This commit is contained in:
@@ -1 +0,0 @@
|
||||
this isn't a rego policy
|
||||
1
pkg/policy/testdata/mock-tuf-no-rego/doi/policy.yaml
vendored
Normal file
1
pkg/policy/testdata/mock-tuf-no-rego/doi/policy.yaml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
policy: "this is not rego"
|
||||
@@ -5,7 +5,7 @@ policies:
|
||||
- id: docker-official-images
|
||||
description: Docker Official Images
|
||||
files:
|
||||
- path: doi/policy.not-rego
|
||||
- path: doi/policy.yaml
|
||||
rules:
|
||||
- pattern: "^docker[.]io/library/(.*)$"
|
||||
policy-id: docker-official-images
|
||||
|
||||
Reference in New Issue
Block a user