forked from getporter/porter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent panic on invalid configuration structure in exec mixin (getpo…
…rter#2953) * check for successful cast before get desc Signed-off-by: Matheus Cumpian <matheus.cumpian@hotmail.com> --------- Signed-off-by: Matheus Cumpian <matheus.cumpian@hotmail.com>
- Loading branch information
Matheus Cumpian
authored
Feb 21, 2024
1 parent
2c17959
commit d72eba0
Showing
7 changed files
with
62 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
install: | ||
- exec: "Install a VM and collect its ID" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
schemaVersion: 1.0.0 | ||
version: 0.1.0 | ||
registry: example.com | ||
name: mybun | ||
|
||
mixins: | ||
- exec | ||
|
||
install: | ||
- exec: | ||
description: | ||
- I should be a string, but I am a list | ||
command: bash | ||
|
||
uninstall: | ||
- exec: | ||
description: uninstall everything | ||
command: bash |
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,15 @@ | ||
schemaVersion: 1.0.0 | ||
version: 0.1.0 | ||
registry: example.com | ||
name: mybun | ||
|
||
mixins: | ||
- exec | ||
|
||
install: | ||
- exec: install something | ||
|
||
uninstall: | ||
- exec: | ||
description: uninstall everything | ||
command: bash |