-
Notifications
You must be signed in to change notification settings - Fork 531
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: extract yaml file to test_yamls/
- Loading branch information
Showing
2 changed files
with
34 additions
and
39 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 @@ | ||
resources: | ||
cpus: 2+ | ||
job_recovery: | ||
max_restarts_on_errors: 1 | ||
|
||
# Task 1: Always fails | ||
run: | | ||
echo "Task 1 starting" | ||
exit 1 | ||
--- | ||
# Task 2: Never reached due to Task 1 failure | ||
run: | | ||
echo "Task 2 starting" | ||
exit 0 |