Skip to content

Commit b1d5e52

Browse files
authored
Rollup merge of #63191 - pietroalbini:really-fix-toolstate, r=alexcrichton
ci: fix toolstate not pushing data for Linux A recent commit modified toolstate to only push updated data when the `TOOLSTATE_PUBLISH` environment variable is present. This worked fine on Windows but failed on Linux, since Linux jobs run inside Docker containers and the variable wasn't forwarded inside it. This changes the Docker startup code to set the `TOOLSTATE_PUBLISH` enviornment variable inside the container if it's present outside. r? @alexcrichton fixes #63190
2 parents aa15dad + 8f8b3f2 commit b1d5e52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ci/docker/run.sh

+1
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ docker \
172172
--env BUILD_SOURCEBRANCHNAME \
173173
--env TOOLSTATE_REPO_ACCESS_TOKEN \
174174
--env TOOLSTATE_REPO \
175+
--env TOOLSTATE_PUBLISH \
175176
--env CI_JOB_NAME="${CI_JOB_NAME-$IMAGE}" \
176177
--init \
177178
--rm \

0 commit comments

Comments
 (0)