-
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
Update e2e infra provision to expect providers #24694
base: main
Are you sure you want to change the base?
Conversation
978fb4e
to
77148be
Compare
variable "hcp_consul_cluster_id" { | ||
description = "The ID of the HCP Consul cluster" | ||
type = string | ||
default = "nomad-e2e-shared-hcp-consul" | ||
} |
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 variable is unused. We moved off the HCP Consul version in #20256, but missed removing this variable then.
@@ -0,0 +1,2 @@ | |||
# enos scenarios | |||
.enos/ |
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.
Does this enos/
directory need to be in the root of the repo?
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.
not really, but I didn't find a better place, its not part of the e2e or anything else
@@ -51,7 +51,7 @@ Linux clients or Windows clients. | |||
region = "us-east-1" | |||
instance_type = "t2.medium" | |||
server_count = "3" | |||
client_count_ubuntu_jammy_amd64 = "4" | |||
client_count_linux = "4" |
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 variable originally included the specific distro and architecture so that we could spin up different hosts in the same test run (although we never got around to doing so). It's not obvious to me how we're planning on feeding in the architecture/platform if not by this variable.
(Or, if we're planning on adding architecture/platform variables later, shouldn't we make the same change to the windows_2026_amd64` var?)
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.
we are with a different variable for the the arch, so we can reuse this one for multiple archs, or at least that is how I pictured it
Co-authored-by: Tim Gross <[email protected]>
Co-authored-by: Tim Gross <[email protected]>
0c492ea
to
393e184
Compare
393e184
to
590d0be
Compare
cce8e72
to
ecace27
Compare
ecace27
to
4a8ee83
Compare
Description
The
e2e/terraform
module used to provision the infra for the e2e tests uses an older version of terraform that is incompatible with the directivedepends_on
. This PR updates it by moving it into its own module and passing the providers from the new main, making it compatible with the current set up an reusable for the upgrade testing pipeline.It also does some renaming to prepare for clients with a different architecture.
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.