File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
- name : ' K8: Deploy'
1
+ name : ' K8: Cluster Deploy'
2
2
3
3
on :
4
4
workflow_call :
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ TEST_IMAGE_TAG=""
7
7
AZURE_CONTAINER_REGISTRY=" "
8
8
TEST_CMD=" "
9
9
10
- while getopts n:d:h:r:t: flag
10
+ while getopts n:d:h:r:t:c: flag
11
11
do
12
12
case " ${flag} " in
13
13
n) KUBERNETES_NAMESPACE=${OPTARG} ;;
@@ -32,6 +32,7 @@ kubectl rollout status deployment ${KUBERNETES_DEPLOYMENT_NAME}
32
32
33
33
set +e
34
34
exitcode=0
35
+ echo " ::warning::running test command: kubectl exec -i deployment/${KUBERNETES_DEPLOYMENT_NAME} -c $KUBERNETES_DEPLOYMENT_NAME -- '$TEST_CMD '"
35
36
kubectl exec -i deployment/${KUBERNETES_DEPLOYMENT_NAME} -c $KUBERNETES_DEPLOYMENT_NAME -- " $TEST_CMD "
36
37
exitcode=$?
37
38
set -e
You can’t perform that action at this time.
0 commit comments