-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Conversation
e2e/terraform/terraform.tfvars
Outdated
#nomad_local_binary_client_windows_2016_amd64 = ["../../pkg/windows_amd64/nomad.exe"] | ||
nomad_license = "" | ||
consul_license = "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trailing EOF
EOM | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing EOF
e2e/terraform/nomad-acls.tf
Outdated
export NOMAD_CLIENT_CERT="${path.module}/etc/nomad.d/tls/agent.crt" | ||
export NOMAD_CLIENT_KEY="${path.module}/etc/nomad.d/tls/agent.key" |
There was a problem hiding this comment.
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.
e2e/terraform/compute.tf
Outdated
@@ -98,10 +100,10 @@ data "aws_ami" "ubuntu_jammy_amd64" { | |||
values = ["Ubuntu"] | |||
} | |||
|
|||
filter { | |||
/* filter { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
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 using the
make cl
command.ensure regressions will be caught.
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
backporting document.
in the majority of situations. The main exceptions are long-lived feature branches or merges where
history should be preserved.
within the public repository.