Skip to content

Commit

Permalink
feat: generating reports automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
kiraum committed May 17, 2024
1 parent 1efee83 commit 2e55cb2
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions .github/workflows/generate_reports.yml
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

0 comments on commit 2e55cb2

Please sign in to comment.