Skip to content

Commit

Permalink
modified e2e test so that it explicitly tested the use case in #6929
Browse files Browse the repository at this point in the history
  • Loading branch information
cgbaker committed Jan 4, 2021
1 parent f9c807a commit e70f08d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion e2e/consultemplate/input/template_paths.nomad
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
job "template-paths" {
datacenters = ["dc1", "dc2"]

meta {
ARTIFACT_DEST_DIR = "local/foo/src"
}

constraint {
attribute = "${attr.kernel.name}"
value = "linux"
Expand All @@ -20,7 +24,7 @@ job "template-paths" {

artifact {
source = "https://google.com"
destination = "local/foo/src"
destination = "${NOMAD_META_ARTIFACT_DEST_DIR}"
}

template {
Expand Down

0 comments on commit e70f08d

Please sign in to comment.