feat: generating reports automatically #8
Workflow file for this run
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
--- | |
name: Generate IXPs reports | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- kiraum/generate_reports | |
permissions: | |
contents: write | |
jobs: | |
report_ixbr: | |
runs-on: ubuntu-latest | |
timeout-minutes: 360 | |
strategy: | |
matrix: | |
python-version: ["3.12"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install --no-cache-dir -U pip uv | |
uv pip install --system --break-system-packages -r requirements.txt | |
- uses: actions/checkout@v3 | |
- name: Generate reports | |
run: python3 peering_gossip.py -lg https://lg.ix.br | |
- name: Commit report | |
run: | | |
apt-get update | |
apt-get install -y git python3-pip | |
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: ubuntu-latest | |
timeout-minutes: 360 | |
strategy: | |
matrix: | |
python-version: ["3.12"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install --no-cache-dir -U pip uv | |
uv pip install --system --break-system-packages -r requirements.txt | |
- uses: actions/checkout@v3 | |
- name: Generate reports | |
run: python3 peering_gossip.py -lg https://lg.ams-ix.net | |
- name: Commit report | |
run: | | |
apt-get update | |
apt-get install -y git python3-pip | |
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: ubuntu-latest | |
timeout-minutes: 360 | |
strategy: | |
matrix: | |
python-version: ["3.12"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install --no-cache-dir -U pip uv | |
uv pip install --system --break-system-packages -r requirements.txt | |
- uses: actions/checkout@v3 | |
- name: Generate reports | |
run: python3 peering_gossip.py -lg https://lg.de-cix.net | |
- name: Commit report | |
run: | | |
apt-get update | |
apt-get install -y git python3-pip | |
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: ubuntu-latest | |
timeout-minutes: 360 | |
strategy: | |
matrix: | |
python-version: ["3.12"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install --no-cache-dir -U pip uv | |
uv pip install --system --break-system-packages -r requirements.txt | |
- uses: actions/checkout@v3 | |
- name: Generate reports | |
run: python3 peering_gossip.py -lg https://alice-rs.linx.net | |
- name: Commit report | |
run: | | |
apt-get update | |
apt-get install -y git python3-pip | |
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 |