-
Notifications
You must be signed in to change notification settings - Fork 113
feat: add runners to pb protocol #2433
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ALTER TABLE builds | ||
ADD allocation_type INT NOT NULL DEFAULT 0, | ||
ADD allocation_total_slots INT NOT NULL DEFAULT 1; |
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -2,8 +2,12 @@ | |||||||||
|
||||||||||
PUBLIC_IP=$(ip -4 route get 1.0.0.0 | awk '{print $7; exit}') | ||||||||||
|
||||||||||
SUBNET_IPV4="172.26.64.0/20" | ||||||||||
SUBNET_IPV4_GATEWAY_IP="172.26.64.1" | ||||||||||
SUBNET_IPV6="fd00:db8:2::/64" | ||||||||||
|
||||||||||
# MARK: Pegboard config | ||||||||||
cat << 'EOF' > /etc/rivet-client/config.json | ||||||||||
cat << EOF > /etc/rivet-client/config.json | ||||||||||
{ | ||||||||||
"client": { | ||||||||||
"cluster": { | ||||||||||
|
@@ -16,7 +20,7 @@ cat << 'EOF' > /etc/rivet-client/config.json | |||||||||
} | ||||||||||
}, | ||||||||||
"runner": { | ||||||||||
"flavor": "__FLAVOR__" | ||||||||||
"ip": "$SUBNET_IPV4_GATEWAY_IP", | ||||||||||
}, | ||||||||||
Comment on lines
+23
to
24
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. syntax: There is a trailing comma after the IP configuration which is invalid JSON syntax
Suggested change
|
||||||||||
"images": { | ||||||||||
"pull_addresses": { | ||||||||||
|
@@ -57,8 +61,6 @@ EOF | |||||||||
# | ||||||||||
# See Nomad equivalent: https://github.com/hashicorp/nomad/blob/a8f0f2612ef9d283ed903721f8453a0c0c3f51c5/client/allocrunner/networking_bridge_linux.go#L73 | ||||||||||
ADMIN_CHAIN="RIVET-ADMIN" | ||||||||||
SUBNET_IPV4="172.26.64.0/20" | ||||||||||
SUBNET_IPV6="fd00:db8:2::/64" | ||||||||||
|
||||||||||
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||||||||||
# | ||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logic: HTTP2 port is configured but no tests are implemented to verify HTTP2 functionality