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

control: add build API and builder daemon service #408

Merged
merged 7 commits into from
Mar 11, 2022
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 14 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,24 @@
// Integrate the empty docker-compose database into VSCode.
"sqltools.connections": [
{
"name": "Container database",
"database": "flow",
"driver": "PostgreSQL",
"name": "Test DB",
"password": "flow",
"port": 5432,
"previewLimit": 50,
"server": "localhost",
"username": "flow"
},
{
"database": "control_development",
"driver": "PostgreSQL",
"name": "Control DB",
"password": "flow",
"port": 5432,
"database": "flow",
"username": "flow",
"password": "flow"
"previewLimit": 50,
"server": "localhost",
"username": "flow"
}
],
// Add extra CGO configuration required for the vscode-go extension to build
Expand Down
7 changes: 6 additions & 1 deletion .devcontainer/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,14 @@ services:
# work on Github Codespaces (but works fine in VSCode Remote Containers).
- /var/tmp:/var/tmp

# Use /var/tmp as the default temporary directory, rather than /tmp.
environment:
# Use /var/tmp as the default temporary directory, rather than /tmp.
TMPDIR: /var/tmp
# Enable SQLX online introspection of the control-plane database.
# TODO(johnny): We don't want this on-by-default, so if you're working
# on control-plane APIs, unfortunatley you must uncomment this and
# rebuild your devcontainer.
# SQLX_OFFLINE: "false"

# Wrap in an init process that reaps defunct child processes.
init: true
Expand Down