Skip to content

Utility / Compatibility Matrix Update #285

Utility / Compatibility Matrix Update

Utility / Compatibility Matrix Update #285

Workflow file for this run

name: Utility / Compatibility Matrix Update
on:
schedule:
# Runs at 00:00 UTC every day
- cron: '0 0 * * *'
workflow_dispatch: # can be run manually
jobs:
# api-deprecations-update:
# runs-on: ubuntu-latest
# permissions:
# contents: 'write'
# id-token: 'write'
# pull-requests: 'write'
# steps:
# - uses: actions/checkout@v3
# - run: make liquid-docs
# - id: date
# run: echo "date=$(date +%Y%m%d%H%M%S)" >> $GITHUB_OUTPUT
# - uses: peter-evans/create-pull-request@v5
# with:
# title: "Upgrade deprecated apis list"
# body: Upgrade our deprecations table with all current data
# commit-message: Upgrade our deprecations table with all current data
# branch: deprecations-${{steps.date.outputs.date}}
# labels: enhancement
# base: master
run-compatibility-updater:
runs-on: ubuntu-latest
permissions:
contents: 'write'
id-token: 'write'
pull-requests: 'write'
steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-python@v5
with:
python-version: '3.13'
cache: 'pip' # caching pip dependencies
- name: Install Helm
uses: azure/setup-helm@v3
with:
version: latest
- name: Run compatibility matrix updater
run: |
cd utils/compatibility
pip install -r requirements.txt
python main.py
- name: Get current date
id: date
run: echo "DATE=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: Compatibility Matrix Update ${{ steps.date.outputs.DATE }}
body: Automated Pull Request to update compatibility matrix
commit-message: Updated compatibility matrix ${{ steps.date.outputs.DATE }}
branch: compatibility-matrix-update-${{ steps.date.outputs.DATE }}
labels: enhancement
base: master
run-extended-support-updater:
runs-on: ubuntu-latest
permissions:
contents: 'write'
id-token: 'write'
pull-requests: 'write'
steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-python@v5
with:
python-version: '3.13'
cache: 'pip' # caching pip dependencies
- name: Run extended-support matrix updater
run: |
cd utils/extended
pip install -r requirements.txt
python main.py
- name: Get current date
id: date
run: echo "DATE=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: Extended-Support Matrix Update ${{ steps.date.outputs.DATE }}
body: Automated Pull Request to update extended-support matrix
commit-message: Updated extended-support matrix ${{ steps.date.outputs.DATE }}
branch: extended-support-matrix-update-${{ steps.date.outputs.DATE }}
labels: enhancement
base: master
eks-addons:
runs-on: ubuntu-latest
permissions:
contents: 'write'
id-token: 'write'
pull-requests: 'write'
steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-python@v5
with:
python-version: '3.13'
cache: 'pip' # caching pip dependencies
- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@a159d7bb5354cf786f855f2f5d1d8d768d9a08d1
with:
role-to-assume: arn:aws:iam::312272277431:role/github-actions/console-actions
role-session-name: eks-addons
aws-region: us-east-2
- name: Run eks addons updater
working-directory: utils/addons
run: |
pip install -r requirements.txt
python main.py
- name: Get current date
id: date
run: echo "DATE=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: Compatibility Matrix Update ${{ steps.date.outputs.DATE }}
body: Automated Pull Request to update eks addons matrix
commit-message: Updated eks addons matrix ${{ steps.date.outputs.DATE }}
branch: eks-addons-matrix-update-${{ steps.date.outputs.DATE }}
labels: enhancement
base: master