-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests(nesting): added nested failing stages to integration tests
- Loading branch information
1 parent
45377c9
commit 8e7ccac
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
togomak { | ||
version = 1 | ||
} | ||
stage "example" { | ||
name = "example" | ||
script = "echo hello world && exit 1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
togomak { | ||
version = 1 | ||
} | ||
|
||
macro "nested" { | ||
source = "./nested/togomak.hcl" | ||
} | ||
|
||
|
||
stage "root_function" { | ||
use { | ||
macro = macro.nested | ||
} | ||
} | ||
|
||
stage "another_function" { | ||
depends_on = [stage.root_function] | ||
script = "echo done" | ||
} |