Merge pull request #74613 from yujuhong/create-tmp

GCE/Windows: create a C:\tmp directory
This commit is contained in:
Kubernetes Prow Robot 2019-02-26 16:50:34 -08:00 committed by GitHub
commit 4fa5ece62c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -250,11 +250,12 @@ function Disable-WindowsDefender {
# Creates directories where other functions in this module will read and write
# data.
# Note: C:\tmp is required for running certain kubernetes tests.
function Create-Directories {
Log-Output "Creating ${env:K8S_DIR} and its subdirectories."
ForEach ($dir in ("${env:K8S_DIR}", "${env:NODE_DIR}", "${env:LOGS_DIR}",
"${env:CNI_DIR}", "${env:CNI_CONFIG_DIR}", "${env:MANIFESTS_DIR}",
"${env:PKI_DIR}")) {
"${env:PKI_DIR}"), "C:\tmp") {
mkdir -Force $dir
}
}