Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
susanshi committed Oct 17, 2023
1 parent c371bb6 commit d197ad5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ jobs:
contents: read
strategy:
matrix:
KUBERNETES_VERSION: ["1.25.8", "1.26.3"]
GATEKEEPER_VERSION: ["3.11.0", "3.12.0", "3.13.0"]
KUBERNETES_VERSION: ["1.26.3"]
GATEKEEPER_VERSION: ["3.13.0"]
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
Expand Down
4 changes: 3 additions & 1 deletion test/bats/base-test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RATIFY_NAMESPACE=gatekeeper-system
sed 's/default/gatekeeper-system/' certStore.yaml > certStoreNewNS.yaml
run kubectl apply -f certStoreNewNS.yaml
assert_success

# restore the original notation verifier for other tests
wait_for_process ${WAIT_TIME} ${SLEEP_TIME} 'kubectl apply -f ./config/samples/config_v1beta1_verifier_notation.yaml'
}
Expand All @@ -32,7 +32,9 @@ RATIFY_NAMESPACE=gatekeeper-system

# apply the certstore to default namespace
run kubectl get certificatestores.config.ratify.deislabs.io/ratify-notation-inline-cert -o yaml -n {RATIFY_NAMESPACE} > certStore.yaml
echo "$(<certStore.yaml)"
sed 's/gatekeeper-system/default/' certStore.yaml > certStoreNewNS.yaml
echo "$(<certStoreNewNS.yaml)"
run kubectl apply -f certStoreNewNS.yaml
assert_success
run kubectl delete certificatestores.config.ratify.deislabs.io/ratify-notation-inline-cert -n {RATIFY_NAMESPACE}
Expand Down

0 comments on commit d197ad5

Please sign in to comment.