Skip to content

Commit

Permalink
Github: Update E2E tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Huulivoide committed Sep 20, 2024
1 parent 0f06ef7 commit 24fc53a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,7 @@ jobs:
- run-docker-image-tests
- push_to_registry
name: Run migration tests
# These must run on ubuntu 22.04 or older.
# The MS SQL server used by jore4-jore3-importer,
# does not run on Linux kernels newer than 6.6.x.
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

strategy:
matrix:
Expand All @@ -113,7 +110,7 @@ jobs:
uses: HSLdevcom/jore4-tools/github-actions/extract-metadata@extract-metadata-v1

- name: start e2e env
uses: HSLdevcom/jore4-tools/github-actions/setup-e2e-environment@setup-e2e-environment-v6
uses: HSLdevcom/jore4-tools/github-actions/setup-e2e-environment@setup-e2e-environment-v7
with:
hasura_version: '${{ env.IMAGE_NAME }}:${{ matrix.imagePrefix }}${{ env.COMMIT_ID }}'

Expand All @@ -127,10 +124,7 @@ jobs:
- run-docker-image-tests
- push_to_registry
name: Run hasura integration tests
# These must run on ubuntu 22.04 or older.
# The MS SQL server used by jore4-jore3-importer,
# does not run on Linux kernels newer than 6.6.x.
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

strategy:
matrix:
Expand All @@ -148,7 +142,7 @@ jobs:
uses: HSLdevcom/jore4-tools/github-actions/extract-metadata@extract-metadata-v1

- name: start e2e env
uses: HSLdevcom/jore4-tools/github-actions/setup-e2e-environment@setup-e2e-environment-v6
uses: HSLdevcom/jore4-tools/github-actions/setup-e2e-environment@setup-e2e-environment-v7
with:
hasura_version: '${{ env.IMAGE_NAME }}:${{ matrix.imagePrefix }}${{ env.COMMIT_ID }}'

Expand All @@ -167,10 +161,7 @@ jobs:
- run_migration_tests
- run_integration_tests
name: Run e2e tests
# These must run on ubuntu 22.04 or older.
# The MS SQL server used by jore4-jore3-importer,
# does not run on Linux kernels newer than 6.6.x.
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Extract metadata to env variables
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/check-dump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ on:
jobs:
check_dumps:
name: Check if the generated dumps are up to date
# These must run on ubuntu 22.04 or older.
# The MS SQL server used by jore4-jore3-importer,
# does not run on Linux kernels newer than 6.6.x.
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Checkout code
Expand All @@ -19,7 +16,7 @@ jobs:
uses: HSLdevcom/jore4-tools/github-actions/extract-metadata@extract-metadata-v1

- name: start e2e env
uses: HSLdevcom/jore4-tools/github-actions/setup-e2e-environment@setup-e2e-environment-v6
uses: HSLdevcom/jore4-tools/github-actions/setup-e2e-environment@setup-e2e-environment-v7
with:
hasura_version: '${{ env.IMAGE_NAME }}:generic-${{ env.COMMIT_ID }}'

Expand All @@ -33,7 +30,7 @@ jobs:
run: docker rm --force hasura && docker volume prune --force

- name: Restart the hasura container to rerun the repeatable migrations
uses: HSLdevcom/jore4-tools/github-actions/setup-e2e-environment@setup-e2e-environment-v6
uses: HSLdevcom/jore4-tools/github-actions/setup-e2e-environment@setup-e2e-environment-v7
with:
hasura_version: '${{ env.IMAGE_NAME }}:generic-${{ env.COMMIT_ID }}'

Expand Down

0 comments on commit 24fc53a

Please sign in to comment.