Skip to content

Commit e6f81cb

Browse files
committed
rewrite eradius
v3 rewrite of eradius, major changes: * clients and servers are now started and configured through APIs, not app env settings any more * IPv6 support * supports multiple server and client instances * metrics are optional and callback based (allows the easy use of other metrics frameworks) * distributed handlers are no longer support, use erpc to replicate in use case specific code if needed. * removed proxy support (use freeradius or similar instead)
1 parent 25d1988 commit e6f81cb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+2794
-4895
lines changed

.github/workflows/hex.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@ on:
77

88
jobs:
99
publish:
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-22.04
1111
container:
12-
image: erlang:23.2.5.0-alpine
12+
image: erlang:26.2-alpine
1313
steps:
1414
- name: Prepare
1515
run: |
1616
apk update
1717
apk --no-cache upgrade
1818
apk --no-cache add gcc git libc-dev libc-utils libgcc linux-headers make bash \
1919
musl-dev musl-utils ncurses-dev pcre2 pkgconf scanelf wget zlib
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
- name: work around for permission issue
2222
run: |
2323
git config --global --add safe.directory /__w/eradius/eradius
2424
- name: Publish to Hex.pm
2525
env:
2626
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
2727
run: |
28-
rebar3 edoc
28+
rebar3 ex_doc
2929
rebar3 hex publish -r hexpm --yes

.github/workflows/main.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,22 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
otp: [22, 23, 24, 25]
11+
otp: [26.0, 26.1, 26.2]
1212
container:
1313
image: erlang:${{ matrix.otp }}-alpine
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717
- name: Build
1818
run: rebar3 compile
1919
- name: Run tests
2020
run: |
2121
rebar3 do xref, ct
22+
rebar3 as dialyzer do dialyzer
2223
2324
slack:
2425
needs: test
25-
runs-on: ubuntu-20.04
26+
runs-on: ubuntu-22.04
2627
if: always()
2728
steps:
2829
- name: Slack notification

0 commit comments

Comments
 (0)