-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: generating reports automatically
- Loading branch information
kiraum
committed
May 17, 2024
1 parent
1efee83
commit 2e55cb2
Showing
1 changed file
with
73 additions
and
0 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,73 @@ | ||
--- | ||
name: Generate IXPs reports | ||
on: # yamllint disable-line rule:truthy | ||
push: | ||
branches: | ||
- kiraum/generate_reports | ||
permissions: | ||
contents: write | ||
jobs: | ||
report_ixbr: | ||
runs-on: python:3.12.3-bookworm | ||
timeout-minutes: 360 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Generate reports | ||
run: python3 peering_gossip.py -lg https://lg.ix.br | ||
- name: Commit report | ||
run: | | ||
pip install --no-cache-dir -U pip | ||
uv pip install -r requirements.txt | ||
git config --global user.name 'kiraum' | ||
git config --global user.email '[email protected]' | ||
git pull --rebase | ||
git commit -am "Automated report generation - IX.br" | ||
git push | ||
report_amsix: | ||
runs-on: python:3.12.3-bookworm | ||
timeout-minutes: 360 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Generate reports | ||
run: python3 peering_gossip.py -lg https://lg.ams-ix.net | ||
- name: Commit report | ||
run: | | ||
pip install --no-cache-dir -U pip | ||
uv pip install -r requirements.txt | ||
git config --global user.name 'kiraum' | ||
git config --global user.email '[email protected]' | ||
git pull --rebase | ||
git commit -am "Automated report generation - AMS-IX" | ||
git push | ||
report_decix: | ||
runs-on: python:3.12.3-bookworm | ||
timeout-minutes: 360 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Generate reports | ||
run: python3 peering_gossip.py -lg https://lg.de-cix.net | ||
- name: Commit report | ||
run: | | ||
pip install --no-cache-dir -U pip | ||
uv pip install -r requirements.txt | ||
git config --global user.name 'kiraum' | ||
git config --global user.email '[email protected]' | ||
git pull --rebase | ||
git commit -am "Automated report generation - DE-CIX" | ||
git push | ||
report_linx: | ||
runs-on: python:3.12.3-bookworm | ||
timeout-minutes: 360 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Generate reports | ||
run: python3 peering_gossip.py -lg https://alice-rs.linx.net | ||
- name: Commit report | ||
run: | | ||
pip install --no-cache-dir -U pip | ||
uv pip install -r requirements.txt | ||
git config --global user.name 'kiraum' | ||
git config --global user.email '[email protected]' | ||
git pull --rebase | ||
git commit -am "Automated report generation - LINX" | ||
git push |