-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Deploy QUIC Proxy (#210) * Load listen addr from env * Add deployment config for quic-forward-proxy * ipv6 support * Fix rpc_tester * Read QUIC_PROXY_ADDR from env * Add traces for debugging * Add timeout for writing to SendStream * disable GSO (Generic Segmentation Offload) for all outgoing QUIC-connects should fix #199 * disable GSO (Generic Segmentation Offload) for all outgoing QUIC-connects (#200) should fix #199 Co-authored-by: GroovieGermanikus <groovie@mango.markets> * Add staging config, remove traces * cargo fmt * delete fly.toml - was split+renamed - see cd/ * remove misleading line * comment on quic proxy * revert some files * Deploy dev from main, prod from production --------- Co-authored-by: GroovieGermanikus <groovie@mango.markets> Co-authored-by: Steve <95291500+grooviegermanikus@users.noreply.github.com> * Update job names * Fix launch params --------- Co-authored-by: GroovieGermanikus <groovie@mango.markets> Co-authored-by: Steve <95291500+grooviegermanikus@users.noreply.github.com>
- Loading branch information
1 parent
8760021
commit 55ff9c8
Showing
6 changed files
with
49 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Deploy to Fly Staging | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
env: | ||
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Fly | ||
uses: superfly/flyctl-actions/setup-flyctl@master | ||
|
||
- name: Deploy lite-rpc-staging | ||
run: flyctl deploy -c cd/lite-rpc-staging.toml --remote-only | ||
|
||
# - name: Deploy quic-forward-proxy | ||
# run: flyctl deploy -c cd/quic-forward-proxy.toml --remote-only |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# | ||
# LiteRPC entrypoint will be served under https://api.mngo.cloud/lite-rpc-staging/v1/ | ||
# | ||
|
||
app = "solana-lite-rpc-staging" | ||
kill_signal = "SIGINT" | ||
kill_timeout = 5 | ||
primary_region = "nrt" | ||
|
||
[build] | ||
dockerfile = "../Dockerfile" | ||
|
||
[env] | ||
PORT_HTTP = "8890" | ||
PORT_WS = "8891" | ||
RUST_LOG = "info" | ||
|
||
[metrics] | ||
path = "/metrics" | ||
port = 9091 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters