Skip to content

Update Data Branch

Update Data Branch #33

Workflow file for this run

name: "Update Data Branch"
on:
workflow_dispatch:
jobs:
update-data:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
with:
ref: docs-data
- name: "Set up Python"
uses: "actions/setup-python@v5"
with:
python-version: "3.11"
- name: "List requirements"
run: |
cat requirements_system.txt
cat requirements_python.txt
- name: "Install System dependencies"
run: |
# xargs sudo apt -y install < requirements_system.txt
sudo apt -y install libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-4.0 python3-gi
sudo apt install gobject-introspection
- name: "Install Python dependencies"
run: |
pip install --upgrade pip
# pip install -r requirements_python.txt
pip install git+https://github.com/pulp/pulpcore
pip install git+https://github.com/pulp/pulp_ostree
pulpcore-manager openapi --component ostree --file /tmp/ostree-api.json
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
# - name: "Generate, commit and push updated openapi specs"
# run: |
# python -m pulp_docs.openapi /tmp -l pulp_ostree
# ./update-data.sh