-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
packer_test: add remote install with pre-rel test
Remotely installing plugins with a pre-release as part of the constraint is unsupported by Packer, and should error if that happens. This test makes sure that this gets treated as an error if that's the case, even before attempting to connect to the source.
- Loading branch information
1 parent
8d7a8f1
commit 6e45bf3
Showing
2 changed files
with
31 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
packer { | ||
required_plugins { | ||
tester = { | ||
source = "github.com/hashicorp/hashicups" | ||
version = "= 1.0.2-dev" | ||
} | ||
} | ||
} | ||
|
||
source "tester-dynamic" "test" {} | ||
|
||
build { | ||
sources = ["tester-dynamic.test"] | ||
} |