Skip to content

Commit

Permalink
Fix compatibility updater
Browse files Browse the repository at this point in the history
* drop pyenv for compatibilities
* fix requirements.txt for eks addons
  • Loading branch information
michaeljguarino committed Mar 3, 2025
1 parent a4a27e3 commit aa67d88
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 22 deletions.
46 changes: 24 additions & 22 deletions .github/workflows/cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,25 @@ on:
- cron: '0 0 * * *'

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
# 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
Expand All @@ -37,13 +37,15 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: setup pyenv
uses: "gabrielfalcao/pyenv-action@v18"
- uses: actions/setup-python@v5
with:
python-version: '3.13'
cache: 'pip' # caching pip dependencies

- name: Run compatibility matrix updater
run: |
cd utils/compatibility
source setup_env.sh
pip install -r requirements.txt
python main.py
- name: Get current date
Expand Down
1 change: 1 addition & 0 deletions utils/addons/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
boto3==1.36.19
PyYAML==6.0.2
semver==3.0.4

0 comments on commit aa67d88

Please sign in to comment.