From 92e70c734e6fa5a96727661d237b172301973c4f Mon Sep 17 00:00:00 2001 From: Sreejith Punnapuzha Date: Thu, 27 May 2021 18:44:47 -0500 Subject: [PATCH] Enhance Gates * adds kubectl-get-pods once workload deployment is completed. * fix docker gate jobs failing because of missing script. Signed-off-by: Sreejith Punnapuzha Change-Id: I7f0bb0139b3fa3e5af524541b3e8f1978d640113 --- tools/deployment/36_deploy_workload.sh | 6 ++++++ zuul.d/jobs.yaml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/deployment/36_deploy_workload.sh b/tools/deployment/36_deploy_workload.sh index 7384f7f8d..ecffca06a 100755 --- a/tools/deployment/36_deploy_workload.sh +++ b/tools/deployment/36_deploy_workload.sh @@ -17,6 +17,12 @@ set -xe echo "Deploy workload" airshipctl phase run workload-target --debug +echo "List all pods in target cluster" +# Scripts for this phase placed in manifests/function/phase-helpers/get_pods/ +# To get ConfigMap for this phase, execute `airshipctl phase render --source config -k ConfigMap` +# and find ConfigMap with name kubectl-get-pods +airshipctl phase run kubectl-get-pods-target --debug + # Ensure we can reach ingress controller default backend # Scripts for this phase placed in manifests/function/phase-helpers/check_ingress_ctrl/ # To get ConfigMap for this phase, execute `airshipctl phase render --source config -k ConfigMap` diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index b4a5e1665..9b6ed9bb4 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -178,7 +178,7 @@ - ./tools/deployment/provider_common/30_deploy_controlplane.sh - ./tools/deployment/provider_common/32_cluster_init_target_node.sh - ./tools/deployment/provider_common/33_cluster_move_target_node.sh - - ./tools/deployment/provider_common/35_deploy_worker_node.sh + - ./tools/deployment/provider_common/34_deploy_worker_node.sh voting: false - job: name: airship-airshipctl-docker-kubebench-conformance