]> git.lizzy.rs Git - rust.git/commit
ci: forward the TOOLSTATE_PUBLISH environment variable inside docker
authorPietro Albini <pietro@pietroalbini.org>
Thu, 1 Aug 2019 09:34:53 +0000 (11:34 +0200)
committerPietro Albini <pietro@pietroalbini.org>
Thu, 1 Aug 2019 13:57:21 +0000 (15:57 +0200)
commit8f8b3f26c2aac88b8d9ad4a43124142724f29df0
tree059ba23d7366faf08528492154c5e20435a7975a
parent09e39897587dca70f0b15093d425a682c392349c
ci: forward the TOOLSTATE_PUBLISH environment variable inside docker

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.
src/ci/docker/run.sh