fix hoogle (#10555)

Hoogle was down because the machines got stuck in the `apt-get update`
stage.

CHANGELOG_BEGIN
CHANGELOG_END
This commit is contained in:
Gary Verhaegen 2021-08-11 15:52:43 +02:00 committed by GitHub
parent 4f9de4ba3b
commit a6650c11e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,12 +41,12 @@ locals {
{
suffix = "-blue",
ubuntu_version = "2004",
size = 0,
size = 3,
},
{
suffix = "-green",
ubuntu_version = "2004",
size = 3,
size = 0,
}
]
}
@ -67,6 +67,7 @@ resource "google_compute_instance_template" "hoogle" {
metadata_startup_script = <<STARTUP
#! /bin/bash
set -euo pipefail
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get -y upgrade
### stackdriver