Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions ci/images/google-windows-geode-builder/packer.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,24 @@
"(Get-Content \"C:\\Program Files\\OpenSSH-Win64\\sshd_config_default\") -replace '(Match Group administrators)', '#$1' -replace '(\\s*AuthorizedKeysFile.*)', '#$1' | Out-File \"C:\\Program Files\\OpenSSH-Win64\\sshd_config_default\" -encoding UTF8"
]
},
{
"type": "powershell",
"inline": [
"$ErrorActionPreference = \"Stop\"",
"Set-ExecutionPolicy Bypass -Scope Process -Force",
"(New-Object Net.WebClient).DownloadFile(\"https://repo.stackdriver.com/windows/StackdriverMonitoring-GCM-46.exe\", \"${env:UserProfile}\\StackdriverMonitoring-GCM-46.exe\")",
"Start-Process -FilePath \"${env:UserProfile}\\StackdriverMonitoring-GCM-46.exe\" -ArgumentList \"/S\"",
"while ($true) {",
" try {",
" Get-Service -Name StackdriverMonitoring",
" break",
" } catch {",
" Write-Warning \"Wating on service StackdriverMonitoring\"",
" Start-Sleep -s 10",
" }",
"}"
]
},
{
"type": "powershell",
"inline": [
Expand Down
1 change: 0 additions & 1 deletion ci/pipelines/meta/deploy_meta.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ YML
echo "Target ${FLY_TARGET} already exists."
fi

FLY=${FLY:-$(which fly)}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since deploy_meta.sh is sometimes run by humans, why remove this?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because lines 119-120 make it never take effect, and rectifying that logic is beyond the scope of my change here.


set -e
if [[ ${UPSTREAM_FORK} != "apache" ]]; then
Expand Down