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

Make paths in e2e/terraform/ directory relative to the module #24664

Merged
merged 6 commits into from
Dec 13, 2024

Conversation

Juanadelacuesta
Copy link
Member

@Juanadelacuesta Juanadelacuesta commented Dec 13, 2024

Description

As part if the effort to make the e2e terraform cluster provide code an independent usable module, all the calls to internal paths need to be make relative to the module instead of absolute to the root. This PR introduces that change.

Testing & Reproduction steps

Links

Contributor Checklist

  • Changelog Entry If this PR changes user-facing behavior, please generate and add a
    changelog entry using the make cl command.
  • Testing Please add tests to cover any new functionality or to demonstrate bug fixes and
    ensure regressions will be caught.
  • Documentation If the change impacts user-facing functionality such as the CLI, API, UI,
    and job configuration, please update the Nomad website documentation to reflect this. Refer to
    the website README for docs guidelines. Please also consider whether the
    change requires notes within the upgrade guide.

Reviewer Checklist

  • Backport Labels Please add the correct backport labels as described by the internal
    backporting document.
  • Commit Type Ensure the correct merge method is selected which should be "squash and merge"
    in the majority of situations. The main exceptions are long-lived feature branches or merges where
    history should be preserved.
  • Enterprise PRs If this is an enterprise only PR, please add any required changelog entry
    within the public repository.

@Juanadelacuesta Juanadelacuesta marked this pull request as ready for review December 13, 2024 15:21
@Juanadelacuesta Juanadelacuesta requested review from a team as code owners December 13, 2024 15:21
#nomad_local_binary_client_windows_2016_amd64 = ["../../pkg/windows_amd64/nomad.exe"]
nomad_license = ""
consul_license = ""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trailing EOF

EOM
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trailing EOF

Comment on lines 39 to 40
export NOMAD_CLIENT_CERT="${path.module}/etc/nomad.d/tls/agent.crt"
export NOMAD_CLIENT_KEY="${path.module}/etc/nomad.d/tls/agent.key"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this path the path on the server, not the terraform environment? I don't think we want to change this.

@@ -98,10 +100,10 @@ data "aws_ami" "ubuntu_jammy_amd64" {
values = ["Ubuntu"]
}

filter {
/* filter {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This filter was removed for testing, but should we restore it for the merge to main?

Copy link
Member Author

@Juanadelacuesta Juanadelacuesta Dec 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right, my bad, they are commented for local testing

Copy link
Member

@tgross tgross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Juanadelacuesta Juanadelacuesta merged commit 526c637 into main Dec 13, 2024
27 checks passed
@Juanadelacuesta Juanadelacuesta deleted the f-NET-11478-e2e-updates branch December 13, 2024 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants