Skip to content

2024 Sept data

2024 Sept data #527

Workflow file for this run

name: Generate artifacts
on:
push:
pull_request:
branches-ignore:
- main
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check out LFS files
run: |
git lfs install
git config -f .lfsconfig lfs.url https://git-lfs.lsst.cloud/lsst-dm/milestones
git lfs pull
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Generate burndown chart
run: python milestones.py burndown
- name: Upload burndown chart as artifact
uses: actions/upload-artifact@v4
with:
name: Burndown chart
path: burndown.png
- name: Generate CSV milestone listing
run: python milestones.py csv
- name: Upload CSV as artifact
uses: actions/upload-artifact@v4
with:
name: CSV milestone listing
path: milestones.csv
- name: Print list of delayed milestones
run: python milestones.py delayed
- name: Print milestones with predecessors
run: python milestones.py predecessors
- name: Celebratory milestones index.rst
run: python milestones.py celeb
- name: Generate Graphivz dot source
run: python milestones.py graph
- name: Install Graphviz
run: |
sudo apt-get update
sudo apt-get -y install graphviz
- name: Generate milestone graph from dot
run: dot -Tpdf graph.dot > graph.pdf
- name: Upload milestone graph as artifact
uses: actions/upload-artifact@v4
with:
name: Milestone graph
path: |
graph.dot
graph.pdf
- name: Generate Gantt chart source
run: python milestones.py gantt
- name: Install LaTeX
run: |
sudo apt-get update
sudo apt-get -y install texlive texlive-pictures
- name: Generate Gantt chart PDF
run: |
pdflatex gantt.tex
pdflatex gantt.tex
- name: Upload Gantt chart as artifact
uses: actions/upload-artifact@v4
with:
name: Gantt chart
path: |
gantt.pdf
gantt.tex