Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infra/hoogle: use nix #9362

Merged
merged 7 commits into from
Apr 8, 2021
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
step 4: move over
Now that we have a working blue group, we can switch all instances to
it.
  • Loading branch information
garyverhaegen-da committed Apr 8, 2021
commit 0d0467486bc704fb17c61deb2a5026ada4755af5
4 changes: 2 additions & 2 deletions infra/hoogle_server.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ locals {
{
suffix = "-blue",
ubuntu_version = "2004",
size = 1,
size = 3,
install = <<EOF
mkdir /nix
chown hoogle:hoogle /nix
Expand All @@ -59,7 +59,7 @@ EOF
{
suffix = "-green",
ubuntu_version = "2004",
size = 2,
size = 0,
install = <<EOF
curl -sSL https://get.haskellstack.org/ | sh
runuser -u hoogle bash <<HOOGLE_SETUP
Expand Down