Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github: Update E2E tasks #236

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading