Fix publishing of toolstate history
This commit is contained in:
parent
5ee2dfd2bc
commit
2fe41c68d3
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -38,6 +38,8 @@ concurrency:
|
|||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
env:
|
env:
|
||||||
TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate"
|
TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate"
|
||||||
|
# This will be empty in PR jobs.
|
||||||
|
TOOLSTATE_REPO_ACCESS_TOKEN: ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}
|
||||||
jobs:
|
jobs:
|
||||||
# The job matrix for `calculate_matrix` is defined in src/ci/github-actions/jobs.yml.
|
# The job matrix for `calculate_matrix` is defined in src/ci/github-actions/jobs.yml.
|
||||||
# It calculates which jobs should be executed, based on the data of the ${{ github }} context.
|
# It calculates which jobs should be executed, based on the data of the ${{ github }} context.
|
||||||
@ -242,6 +244,5 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
if: needs.calculate_matrix.outputs.run_type == 'auto'
|
if: needs.calculate_matrix.outputs.run_type == 'auto'
|
||||||
env:
|
env:
|
||||||
TOOLSTATE_REPO_ACCESS_TOKEN: ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}
|
|
||||||
TOOLSTATE_ISSUES_API_URL: https://api.github.com/repos/rust-lang/rust/issues
|
TOOLSTATE_ISSUES_API_URL: https://api.github.com/repos/rust-lang/rust/issues
|
||||||
TOOLSTATE_PUBLISH: 1
|
TOOLSTATE_PUBLISH: 1
|
||||||
|
@ -58,6 +58,7 @@ envs:
|
|||||||
CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZI5DHEBFL
|
CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZI5DHEBFL
|
||||||
ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZN24CBO55
|
ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZN24CBO55
|
||||||
AWS_REGION: us-west-1
|
AWS_REGION: us-west-1
|
||||||
|
TOOLSTATE_PUBLISH: 1
|
||||||
|
|
||||||
try:
|
try:
|
||||||
<<: *production
|
<<: *production
|
||||||
|
@ -24,8 +24,8 @@ cd rust-toolstate
|
|||||||
FAILURE=1
|
FAILURE=1
|
||||||
for RETRY_COUNT in 1 2 3 4 5; do
|
for RETRY_COUNT in 1 2 3 4 5; do
|
||||||
# The purpose of this is to publish the new "current" toolstate in the toolstate repo.
|
# The purpose of this is to publish the new "current" toolstate in the toolstate repo.
|
||||||
# This happens post-landing, on master.
|
# This happens at the end of auto builds.
|
||||||
# (Publishing the per-commit test results happens pre-landing in src/bootstrap/toolstate.rs).
|
# (Publishing the per-commit test results happens in src/bootstrap/toolstate.rs).
|
||||||
"$(ciCheckoutPath)/src/tools/publish_toolstate.py" "$GIT_COMMIT" \
|
"$(ciCheckoutPath)/src/tools/publish_toolstate.py" "$GIT_COMMIT" \
|
||||||
"$GIT_COMMIT_MSG" \
|
"$GIT_COMMIT_MSG" \
|
||||||
"$MESSAGE_FILE" \
|
"$MESSAGE_FILE" \
|
||||||
|
Loading…
Reference in New Issue
Block a user