File tree 1 file changed +1
-6
lines changed
1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -29,15 +29,10 @@ kubectl set image deployment/${KUBERNETES_DEPLOYMENT_NAME} ${KUBERNETES_DEPLOYME
29
29
echo " ::warning::using ${AZURE_CONTAINER_REGISTRY} /${KUBERNETES_DEPLOYMENT_NAME} :test-${GITHUB_HEAD_REF} "
30
30
31
31
kubectl rollout status deployment ${KUBERNETES_DEPLOYMENT_NAME}
32
- kubectl wait --for jsonpath=' {.status.phase}' =Running pod --selector app=${KUBERNETES_DEPLOYMENT_NAME}
33
-
34
- KUBERNETES_POD_NAME=$( kubectl get pod --output json \
35
- --selector app=${KUBERNETES_DEPLOYMENT_NAME} \
36
- | jq -r ' .items[] | .metadata.name' )
37
32
38
33
set +e
39
34
exitcode=0
40
- kubectl exec -i $KUBERNETES_POD_NAME -c $KUBERNETES_DEPLOYMENT_NAME -- " $TEST_CMD "
35
+ kubectl exec -i deployment/ ${KUBERNETES_DEPLOYMENT_NAME} -c $KUBERNETES_DEPLOYMENT_NAME -- " $TEST_CMD "
41
36
exitcode=$?
42
37
set -e
43
38
You can’t perform that action at this time.
0 commit comments