Skip to content

Commit

Permalink
update e2e CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
paullatzelsperger committed Oct 1, 2024
1 parent d47f84d commit d04f871
Showing 1 changed file with 9 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#

---
name: "Run MXD locally"
name: "Run E2E Tests"
on:
workflow_dispatch:
workflow_run:
Expand Down Expand Up @@ -58,19 +58,14 @@ jobs:
with:
java-version: '22'
distribution: 'temurin'
- name: "Backend-Service Build"
working-directory: mxd/backend-service
run: |-
./gradlew clean dockerize
- name: "Custom TractusX EDC Build"
working-directory: custom-tractusx-edc
- name: "Build Runtime Docker Images"
working-directory: mxd-runtimes
run: |-
./gradlew clean dockerize
- name: "Load Docker Images"
run: |-
kind load docker-image -n mxd backend-service:1.0.0
kind load docker-image -n mxd custom-edc-controlplane-postgresql-hashicorp-vault:latest
kind load docker-image -n mxd custom-edc-dataplane-hashicorp-vault:latest
kind load docker-image --name mxd backend-service tx-identityhub tx-catalog-server tx-control-plane
- name: "Terraform init"
working-directory: mxd
run: |-
Expand All @@ -90,8 +85,10 @@ jobs:
curl --fail http://localhost/bob/health/api/check/readiness
curl --fail http://localhost/alice/health/api/check/readiness
- name: "Run Tests"
uses: ./.github/actions/mxd-test-action
- name: "Run E2E Tests"
working-directory: mxd-runtimes
run: |-
./gradlew :e2e-test:test -DrunAllTests=true -PverboseTest=true
- name: "Destroy the KinD cluster"
run: >-
Expand Down

0 comments on commit d04f871

Please sign in to comment.