Skip to content

Commit

Permalink
feat: reduce compatibility check frequency (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtth authored Jun 2, 2024
1 parent d80da2c commit b7b49a2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
Expand All @@ -36,9 +36,9 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/check-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
paths-ignore:
- '**/README.md'
schedule:
- cron: '5 * * * *'
- cron: '5 */8 * * *'
workflow_dispatch: {}
jobs:
cloud-api:
Expand All @@ -20,9 +20,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
Expand All @@ -37,9 +37,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
- name: Install Node dependencies
run: npm i -g opvious-cli
- name: Create bucket directory
Expand All @@ -51,8 +51,7 @@ jobs:
run: |
opvious api start -w \
-b "${{ env.OPVIOUS_BUCKET }}" \
-i latest \
-t [email protected]=testing
-i latest
env:
OPVIOUS_API_IMAGE_EULA: accepted
- name: Setup Python
Expand All @@ -65,7 +64,7 @@ jobs:
run: ./scripts/check-compatibility.sh
env:
OPVIOUS_ENDPOINT: http://localhost:8080
OPVIOUS_TOKEN: static:testing
OPVIOUS_TOKEN: license:${{ secrets.OPVIOUS_LICENSE_KEY }}
- name: Show API logs
if: failure()
run: opvious api logs

0 comments on commit b7b49a2

Please sign in to comment.