mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
debugging
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
This commit is contained in:
parent
7fbed3718f
commit
d1a78e14f3
1 changed files with 7 additions and 3 deletions
10
.github/workflows/e2e.yaml
vendored
10
.github/workflows/e2e.yaml
vendored
|
@ -74,17 +74,21 @@ jobs:
|
|||
- name: e2e testing
|
||||
run: |
|
||||
echo ">>> Install Kyverno"
|
||||
sed 's/imagePullPolicy:.*$/imagePullPolicy: IfNotPresent/g' ${GITHUB_WORKSPACE}/definitions/install.yaml | kubectl apply -f -
|
||||
sed 's/imagePullPolicy:.*$/imagePullPolicy: IfNotPresent/g' ${GITHUB_WORKSPACE}/definitions/install.yaml | sed 's/v=2/v=9/g' | kubectl apply -f -
|
||||
kubectl apply -f ${GITHUB_WORKSPACE}/definitions/github/rbac.yaml
|
||||
chmod a+x ${GITHUB_WORKSPACE}/scripts/verify-deployment.sh
|
||||
sleep 50
|
||||
echo ">>> Check kyverno"
|
||||
kubectl get pods -n kyverno
|
||||
echo "----------------------------------------------"
|
||||
echo "Deployment file from kubernetes"
|
||||
kubectl get deployments/kyverno -n kyverno -o yaml
|
||||
echo "----------------------------------------------"
|
||||
${GITHUB_WORKSPACE}/scripts/verify-deployment.sh -n kyverno kyverno
|
||||
sleep 20
|
||||
|
||||
kubectl -n kyverno logs deployments/kyverno -f &
|
||||
echo ">>> Expose the Kyverno's service's metric server to the host"
|
||||
kubectl port-forward svc/kyverno-svc-metrics -n kyverno 8000:8000 &
|
||||
kubectl port-forward svc/kyverno-svc -n kyverno 8000:8000 &
|
||||
echo ">>> Run Kyverno e2e test"
|
||||
make test-e2e
|
||||
kubectl delete -f ${GITHUB_WORKSPACE}/definitions/install.yaml
|
||||
|
|
Loading…
Reference in a new issue