Skip to content

Add new Dogfood template #2959

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

Merged
merged 4 commits into from
Jul 18, 2022
Merged
Show file tree
Hide file tree
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
Fix small typo
  • Loading branch information
ammario committed Jul 18, 2022
commit 7e1d1d3936c81178fbc9dc8cf72050bbccfd446b
2 changes: 1 addition & 1 deletion dogfood/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Coder dogfoods on a beefy, single Teraswitch machine. We decided to use
a bare metal provider for best-in-class cost-to-performance. We decided to
use a single machine for crazy fast parallelized builds and tests.

# How is the provisioner configured?
## How is the provisioner configured?

Our dogfood VM runs an SSH tunnel to our dogfood Docker host's docker socket.
The socket is mounted on `/var/run/dogfood-docker.sock`.
Expand Down
2 changes: 1 addition & 1 deletion dogfood/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ resource "docker_container" "workspace" {
EOT
]
# CPU limits are unnecessary since Docker will load balance automatically
memory = 8192
memory = 32768
runtime = "sysbox-runc"
env = ["CODER_AGENT_TOKEN=${coder_agent.dev.token}"]
host {
Expand Down