mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
* func: add initial enos skeleton * style: add headers * func: change the variables input to a map of objects to simplify the workloads creation * style: formating * Add tests for servers and clients * style: separate the tests in diferent scripts * style: add missing headers * func: add tests for allocs * style: improve output * func: add step to copy remote upgrade version * style: hcl formatting * fix: remove the terraform nomad provider * fix: Add clean token to remove extra new line added in provision * fix: Add clean token to remove extra new line added in provision * fix: Add clean token to remove extra new line added in provision * fix: add missing license headers * style: hcl fmt * style: rename variables and fix format * func: remove the template step on the workloads module and chop the noamd token output on the provide module * fix: correct the jobspec path on the workloads module * fix: add missing variable definitions on job specs for workloads * style: formatting * fix: rename variable in health test
66 lines
1.5 KiB
HCL
66 lines
1.5 KiB
HCL
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
# Variables for the fetch_artifactory module
|
|
variable "artifactory_username" {
|
|
type = string
|
|
description = "The username to use when connecting to artifactory"
|
|
default = null
|
|
}
|
|
|
|
variable "artifactory_token" {
|
|
type = string
|
|
description = "The token to use when connecting to artifactory"
|
|
default = null
|
|
sensitive = true
|
|
}
|
|
|
|
variable "product_version" {
|
|
description = "The version of Nomad we are testing"
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "upgrade_version" {
|
|
description = "The version of Nomad we want to upgrade the cluster to"
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "binary_local_path" {
|
|
description = "The path to donwload and unzip the binary"
|
|
type = string
|
|
}
|
|
|
|
# Variables for the provision_cluster module
|
|
variable "nomad_local_binary" {
|
|
description = "The path to a local binary to provision"
|
|
}
|
|
|
|
variable "nomad_license" {
|
|
type = string
|
|
description = "If nomad_license is set, deploy a license"
|
|
default = ""
|
|
}
|
|
|
|
variable "consul_license" {
|
|
type = string
|
|
description = "If consul_license is set, deploy a license"
|
|
default = ""
|
|
}
|
|
|
|
variable "nomad_region" {
|
|
description = "The AWS region to deploy to."
|
|
default = "us-east-1"
|
|
}
|
|
|
|
variable "server_count" {
|
|
description = "The number of servers to provision."
|
|
default = "3"
|
|
}
|
|
|
|
variable "aws_region" {
|
|
description = "The AWS region to deploy to."
|
|
default = "us-east-1"
|
|
}
|