We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0230f01 commit 41170d8Copy full SHA for 41170d8
.github/workflows/k8s_deploy.yml
@@ -1,4 +1,4 @@
1
-name: 'K8: Deploy'
+name: 'K8: Cluster Deploy'
2
3
on:
4
workflow_call:
k8s/test.sh
@@ -7,7 +7,7 @@ TEST_IMAGE_TAG=""
7
AZURE_CONTAINER_REGISTRY=""
8
TEST_CMD=""
9
10
-while getopts n:d:h:r:t: flag
+while getopts n:d:h:r:t:c: flag
11
do
12
case "${flag}" in
13
n) KUBERNETES_NAMESPACE=${OPTARG};;
@@ -32,6 +32,7 @@ kubectl rollout status deployment ${KUBERNETES_DEPLOYMENT_NAME}
32
33
set +e
34
exitcode=0
35
+echo "::warning::running test command: kubectl exec -i deployment/${KUBERNETES_DEPLOYMENT_NAME} -c $KUBERNETES_DEPLOYMENT_NAME -- '$TEST_CMD'"
36
kubectl exec -i deployment/${KUBERNETES_DEPLOYMENT_NAME} -c $KUBERNETES_DEPLOYMENT_NAME -- "$TEST_CMD"
37
exitcode=$?
38
set -e
0 commit comments