Skip to content

Commit

Permalink
rewrite eradius
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
RoadRunnr committed May 6, 2024
1 parent 349282c commit a2c9a75
Show file tree
Hide file tree
Showing 41 changed files with 2,794 additions and 4,895 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/hex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ on:

jobs:
publish:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
container:
image: erlang:23.2.5.0-alpine
image: erlang:26.2-alpine
steps:
- name: Prepare
run: |
apk update
apk --no-cache upgrade
apk --no-cache add gcc git libc-dev libc-utils libgcc linux-headers make bash \
musl-dev musl-utils ncurses-dev pcre2 pkgconf scanelf wget zlib
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: work around for permission issue
run: |
git config --global --add safe.directory /__w/eradius/eradius
- name: Publish to Hex.pm
env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
run: |
rebar3 edoc
rebar3 ex_doc
rebar3 hex publish -r hexpm --yes
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,22 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
otp: [22, 23, 24, 25]
otp: [26.0, 26.1, 26.2]
container:
image: erlang:${{ matrix.otp }}-alpine
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Build
run: rebar3 compile
- name: Run tests
run: |
rebar3 do xref, ct
rebar3 as dialyzer do dialyzer
slack:
needs: test
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: always()
steps:
- name: Slack notification
Expand Down
Loading

0 comments on commit a2c9a75

Please sign in to comment.