-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use stacker subs not shell in tests
To avoid confusion about what substitution syntax we are testing, where possible, use quoted heredocs for stackerfiles in tests. This replaces use of e.g. $BUSYBOX_OCI, which was getting substituted by the shell before cat wrote it to a file, with ${{BUSYBOX_OCI}} in a quoted heredoc, so bash doesn't try to substitute it (which would fail), and instead stacker will see it and substitute it itself. This means adding a lot of --substitute args around where they were not previously required. A couple of places still use the previous approach so we can use the shell to sub in a file sha, for example. Signed-off-by: Michael McCracken <mikmccra@cisco.com>
- Loading branch information
1 parent
7cc84ec
commit a8cfc19
Showing
32 changed files
with
389 additions
and
379 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
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
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
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
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
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
Oops, something went wrong.