Skip to content

Commit

Permalink
Merge pull request #51 from ngrok/ngrok/ryan/traffic-policy
Browse files Browse the repository at this point in the history
add TrafficPolicy, remap Policy -> TrafficPolicy
  • Loading branch information
TheConcierge committed Jul 30, 2024
2 parents e3f2dd3 + 18e3196 commit 4dcf131
Show file tree
Hide file tree
Showing 8 changed files with 260 additions and 86 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,14 @@ jobs:
env:
NGROK_AUTHTOKEN: ${{ secrets.NGROK_AUTHTOKEN }}

build-glibc-2_24:
name: Build Ngrok Java (glibc 2.24)
# We need to target older glibc (as old as possible) to support customers on very old Linux versions.
# If we end up needing to target older than 2.8, we will have to do a special workaround, as actions/checkout
# won't work without newer glibc versions:
# https://github.com/actions/checkout/issues/1809
build-glibc-2_28:
name: Build Ngrok Java (glibc 2.28)
runs-on: ubuntu-latest
container: quay.io/pypa/manylinux_2_24_x86_64
container: quay.io/pypa/manylinux_2_28_x86_64
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-perform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- host: ubuntu-latest
target: x86_64-unknown-linux-gnu
artifact: linux-x86_64
container: quay.io/pypa/manylinux_2_24_x86_64
container: quay.io/pypa/manylinux_2_28_x86_64
- host: ubuntu-latest
target: aarch64-unknown-linux-gnu
artifact: linux-aarch_64
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"rust-src"
"rustc"
"rustfmt"
"rust-analyzer"
];
java-toolchain = with pkgs; [
openjdk17_headless
Expand Down
Loading

0 comments on commit 4dcf131

Please sign in to comment.