Skip to content

Commit

Permalink
Disable test nomad cluster (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 authored Oct 3, 2024
1 parent ddede4e commit 866604a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions terraform/base.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,5 @@ provider "nomad" {
address = data.terraform_remote_state.aws.outputs.test_nomad_addr
secret_id = var.test_nomad_token
consul_token = var.test_consul_token
# Should be specified explicitly because of the bug https://github.com/femiwiki/nomad/issues/99
region = "global"
region = "global"
}
2 changes: 2 additions & 0 deletions terraform/mediawiki.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ resource "nomad_job" "memcached" {

resource "nomad_job" "test_memcached" {
provider = nomad.test
count = 0
jobspec = file("../jobs/memcached.nomad")
detach = false

Expand Down Expand Up @@ -50,6 +51,7 @@ resource "nomad_job" "fastcgi" {

resource "nomad_job" "test_fastcgi" {
provider = nomad.test
count = 0
depends_on = [
nomad_job.memcached,
]
Expand Down

0 comments on commit 866604a

Please sign in to comment.