Merge pull request #74438 from pjh/gce-windows-log-dump

Support dumping logs from Windows test nodes on GCE
This commit is contained in:
Kubernetes Prow Robot
2019-02-26 18:12:09 -08:00
committed by GitHub
4 changed files with 157 additions and 28 deletions

View File

@@ -267,7 +267,7 @@ function prepare-node-upgrade() {
# TODO(zmerlynn): Get configure-vm script from ${version}. (Must plumb this
# through all create-linux-node-instance-template implementations).
local template_name=$(get-template-name-from-version ${SANITIZED_VERSION})
local template_name=$(get-template-name-from-version ${SANITIZED_VERSION} ${NODE_INSTANCE_PREFIX})
create-linux-node-instance-template "${template_name}"
# The following is echo'd so that callers can get the template name.
echo "Instance template name: ${template_name}"
@@ -373,7 +373,7 @@ function do-node-upgrade() {
# Do the actual upgrade.
# NOTE(zmerlynn): If you are changing this gcloud command, update
# test/e2e/cluster_upgrade.go to match this EXACTLY.
local template_name=$(get-template-name-from-version ${SANITIZED_VERSION})
local template_name=$(get-template-name-from-version ${SANITIZED_VERSION} ${NODE_INSTANCE_PREFIX})
local old_templates=()
local updates=()
for group in ${INSTANCE_GROUPS[@]}; do