Skip to content

Commit

Permalink
roachprod: azure default location
Browse files Browse the repository at this point in the history
roachtest: apt update before go install

Update default location to `eastus`, since there
is more quota there right now.

Also, `apt-get update` before installing go (cdc)

Epic: CC-25185
Release note: none
  • Loading branch information
Miral Gadani committed Oct 4, 2023
1 parent c942528 commit 715fee8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion pkg/roachprod/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ sudo apt-get update;
sudo apt-get install -y gcc;
`,

"go": `sudo apt --yes install golang-go;`,
"go": `
sudo apt-get update;
sudo apt-get install -y golang-go;`,

"haproxy": `
sudo apt-get update;
Expand Down
2 changes: 1 addition & 1 deletion pkg/roachprod/roachprod.go
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@ func Create(
if err := cleanupFailedCreate(l, clusterName); err != nil {
l.Errorf("Error while cleaning up partially-created cluster: %s\n", err)
} else {
l.Errorf("Cleaning up OK\n")
l.Printf("Cleaning up OK\n")
}
}()
} else {
Expand Down
2 changes: 1 addition & 1 deletion pkg/roachprod/vm/azure/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type ProviderOpts struct {
}

var defaultLocations = []string{
"eastus2",
"eastus",
"westus",
"westeurope",
}
Expand Down

0 comments on commit 715fee8

Please sign in to comment.