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

End2End tests are broken #475

Open
ndr-brt opened this issue Nov 22, 2024 · 2 comments
Open

End2End tests are broken #475

ndr-brt opened this issue Nov 22, 2024 · 2 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@ndr-brt
Copy link
Contributor

ndr-brt commented Nov 22, 2024

Current Behavior

See https://github.com/eclipse-tractusx/tutorial-resources/actions/workflows/run-end2end-tests.yml

Expected Behavior

they should work

@ndr-brt ndr-brt added bug Something isn't working good first issue Good for newcomers labels Nov 22, 2024
@ma3u
Copy link

ma3u commented Dec 19, 2024

Github Action Run E2E Tests Job Deploy-With-Terraform failed since a week:

terraform not found

Run terraform init -reconfigure
  terraform init -reconfigure
  shell: /usr/bin/bash -e {0}
  env:
    JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.5-11/x64
    JAVA_HOME_21_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.5-11/x64
/home/runner/work/_temp/30385e2a-4c0b-492c-bba3-d15449f1d153.sh: line 1: terraform: command not found

Add the following step to the GitHub Actions workflow file to install Terraform:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
       - name: Setup Terraform
          uses: hashicorp/setup-terraform@v2

By including the hashicorp/setup-terraform action on file run-end2end-test.yml, Terraform will be installed and available in the runner environment, resolving the command not found error.

ma3u added a commit to ma3u/tutorial-resources that referenced this issue Dec 19, 2024
@ma3u
Copy link

ma3u commented Dec 19, 2024

@ndr-brt : bug fixed, please review PR:
+#501

Deploy-with-Terraform is running in my fork now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants