-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: mark run as done when skipif is true
- Loading branch information
1 parent
2554a42
commit 91e5c09
Showing
3 changed files
with
117 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
57 changes: 57 additions & 0 deletions
57
...ests/resources/com/aws/greengrass/integrationtests/lifecyclemanager/skipif_lifecycle.yaml
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,57 @@ | ||
services: | ||
aws.greengrass.Nucleus: | ||
configuration: | ||
runWithDefault: | ||
posixUser: nobody | ||
windowsUser: integ-tester | ||
logging: | ||
level: DEBUG | ||
skipInstallAndRun: | ||
lifecycle: | ||
install: | ||
skipif: onpath git | ||
script: touch skipInstallAndRunIndicator | ||
run: echo "running after skipping install" | ||
skipInstallAndStartup: | ||
lifecycle: | ||
install: | ||
skipif: onpath git | ||
script: touch skipInstallAndStartupIndicator | ||
startup: | ||
script: echo "startup after skipping install" | ||
skipStartup: | ||
lifecycle: | ||
startup: | ||
skipif: onpath git | ||
script: touch skipStartupIndicator | ||
skipRun: | ||
lifecycle: | ||
run: | ||
skipif: onpath git | ||
script: touch skipRunIndicator | ||
skipShutdown: | ||
lifecycle: | ||
install: | ||
touch skipShutdownIndicator | ||
shutdown: | ||
skipif: onpath git | ||
script: rm skipShutdownIndicator | ||
skipRecover: | ||
lifecycle: | ||
install: | ||
script: touch skipRecoveryIndicator | ||
run: exit 1 | ||
recovery: | ||
skipif: onpath git | ||
script: rm skipRecoveryIndicator | ||
main: | ||
lifecycle: | ||
run: | ||
echo "Running main" | ||
dependencies: | ||
- skipInstallAndRun | ||
- skipInstallAndStartup | ||
- skipStartup | ||
- skipRun | ||
- skipShutdown | ||
- skipRecover |
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