-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: load secrets and config files per test case
We can now configure secrets, config, state, and incoming payload separately, which lets us test multi-repo behavior more easily.
- Loading branch information
Showing
7 changed files
with
42 additions
and
53 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
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -1,11 +1,13 @@ | ||
|
||
{ | ||
"pipeline_statuses": { | ||
"default": { | ||
"master": "failure" | ||
}, | ||
"buildkite/notabot-test": { | ||
"master": "success" | ||
"https://git.ahrefs.com/ahrefs/notabot_test": { | ||
"pipeline_statuses": { | ||
"default": { | ||
"master": "failure" | ||
}, | ||
"buildkite/notabot-test": { | ||
"master": "success" | ||
} | ||
} | ||
} | ||
} | ||
} |
10 changes: 6 additions & 4 deletions
10
mock_states/status.state_hide_success_test_disallowed_pipeline.json
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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
{ | ||
"pipeline_statuses": { | ||
"buildkite/notabot-test": { | ||
"master": "failure" | ||
"https://git.ahrefs.com/ahrefs/notabot_test": { | ||
"pipeline_statuses": { | ||
"buildkite/notabot-test": { | ||
"master": "failure" | ||
} | ||
} | ||
} | ||
} | ||
} |
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