Merge pull request #767 from ccamacho/okd #270
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
--- | |
# This job will render the period jobs status page | |
name: render_periodic_jobs_status_page | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
if: github.repository_owner == 'Kubeinit' | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 4 | |
matrix: | |
python-version: [3.9] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Render periodic_jobs.md | |
run: | | |
sudo python3 -m pip uninstall protobuf python3-protobuf | |
sudo python3 -m pip install --upgrade pip | |
sudo python3 -m pip install --upgrade protobuf | |
sudo python3 -m pip install google-cloud-storage | |
sudo python3 -m pip install b2sdk | |
sudo python3 ./ci/render_periodic_jobs_page.py | |
- name: Commit a PR rendered page | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
author: kubeinit-bot <bot@kubeinit.org> | |
committer: kubeinit-bot <bot@kubeinit.org> | |
commit-message: "ci: Re-build periodic_jobs.md" | |
title: "ci: re-build periodic_jobs.md" | |
body: This commit updates the period jobs page | |
branch: update-periodic-jobs-md | |
base: main | |
delete-branch: true |