Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,15 @@ jobs:
run: |
OIDC_HOST="${{ steps.kind.outputs.oidc_host }}"
sed -i "s#https://your-oidc-issuer-url#http://${OIDC_HOST}/realms/trusted-artifact-signer#" \
config/samples/rhtas_v1alpha1_securesign.yaml
config/samples/rhtas_v1_securesign.yaml
kubectl create ns ${{ env.TEST_NAMESPACE }}
echo "Waiting for conversion webhook to be ready..."
for i in $(seq 1 60); do
kubectl create --dry-run=server -f config/samples/rhtas_v1alpha1_securesign.yaml 2>/dev/null && break
kubectl create --dry-run=server -f config/samples/rhtas_v1_securesign.yaml 2>/dev/null && break
echo "Waiting for conversion webhook... ($i/60)"
sleep 5
done
kubectl create -f config/samples/rhtas_v1alpha1_securesign.yaml -n ${{ env.TEST_NAMESPACE }}
kubectl create -f config/samples/rhtas_v1_securesign.yaml -n ${{ env.TEST_NAMESPACE }}
sleep 1
kubectl wait --for=condition=Ready securesign/securesign-sample \
--timeout=5m -n ${{ env.TEST_NAMESPACE }}
Expand All @@ -148,7 +148,8 @@ jobs:
source ./tas-env-variables.sh

go run github.com/mxschmitt/playwright-go/cmd/playwright install --with-deps
go test -v ./test/...
# Rekor Search UI is not available yet on this operator version, so skip those tests for now.
go test -v $(go list ./test/... | grep -v /test/rekorsearchui)

- name: Dump operator logs
if: failure()
Expand Down
Loading