forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
12 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -330,11 +330,11 @@ fn prepare_toolstate_config(token: &str) { | |
Err(_) => false, | ||
}; | ||
if !success { | ||
panic!("git config key={} value={} successful (status: {:?})", key, value, status); | ||
panic!("git config key={} value={} failed (status: {:?})", key, value, status); | ||
} | ||
} | ||
|
||
// If changing anything here, then please check that src/ci/publish_toolstate.sh is up to date | ||
// If changing anything here, then please check that `src/ci/publish_toolstate.sh` is up to date | ||
// as well. | ||
git_config("user.email", "[email protected]"); | ||
git_config("user.name", "Rust Toolstate Update"); | ||
|
@@ -382,7 +382,9 @@ fn commit_toolstate_change(current_toolstate: &ToolstateData) { | |
let message = format!("({} CI update)", OS.expect("linux/windows only")); | ||
let mut success = false; | ||
for _ in 1..=5 { | ||
// Update the toolstate results (the new commit-to-toolstate mapping) in the toolstate repo. | ||
// Upload the test results (the new commit-to-toolstate mapping) to the toolstate repo. | ||
// This does *not* change the "current toolstate"; that only happens post-landing | ||
// via `src/ci/docker/publish_toolstate.sh`. | ||
change_toolstate(¤t_toolstate); | ||
|
||
// `git commit` failing means nothing to commit. | ||
|
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