<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/ci/scripts/upload-artifacts.sh, branch 1.43.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.43.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.43.1'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-10-30T18:41:22+00:00</updated>
<entry>
<title>ci: move toolstates.json to /tmp/toolstate/ and docker mount it</title>
<updated>2019-10-30T18:41:22+00:00</updated>
<author>
<name>Pietro Albini</name>
<email>pietro@pietroalbini.org</email>
</author>
<published>2019-10-30T18:41:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ca3468768d234af5de4fe7b578b701e3404a6dac'/>
<id>urn:sha1:ca3468768d234af5de4fe7b578b701e3404a6dac</id>
<content type='text'>
Before this commit toolstates.json was stored in /tmp and it wasn't
mounted outside the build container. That caused uploading the file in
the upload-artifacts task to fail, as the file was missing on the host.

Mounting /tmp/toolstates.json alone is not the best approach: if the
file is missing when the container is started the Docker engine will
create a *directory* named /tmp/toolstates.json.

The Docker issue could be solved by pre-creating an empty file named
/tmp/toolstates.json, but doing that could cause problems if bootstrap
fails to generate the file and the toolstate scripts receive an empty
JSON.

The approach I took in this commit is to instead mount a /tmp/toolstate
directory inside Docker, and create the toolstates.json file in it. That
also required a small bootstrap change to ensure the directory is
created if it's missing.
</content>
</entry>
<entry>
<title>Apply suggestions from lzutao</title>
<updated>2019-10-29T09:14:42+00:00</updated>
<author>
<name>Pietro Albini</name>
<email>pietro@pietroalbini.org</email>
</author>
<published>2019-10-29T09:14:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bdfcde439bcea75d74fe3b181d13332384daf130'/>
<id>urn:sha1:bdfcde439bcea75d74fe3b181d13332384daf130</id>
<content type='text'>
Co-Authored-By: lzutao &lt;taolzu@gmail.com&gt;</content>
</entry>
<entry>
<title>ci: upload toolstates.json to rust-lang-ci2</title>
<updated>2019-10-29T09:08:01+00:00</updated>
<author>
<name>Pietro Albini</name>
<email>pietro@pietroalbini.org</email>
</author>
<published>2019-10-10T15:32:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=02000505c157350496283c86710d5d314999545a'/>
<id>urn:sha1:02000505c157350496283c86710d5d314999545a</id>
<content type='text'>
Uploading the toolstate data for each commit will help our release
tooling understand which components are failing, to possibly skip
shipping broken tools to users.
</content>
</entry>
<entry>
<title>ci: extract uploading artifacts into a script</title>
<updated>2019-10-29T09:07:39+00:00</updated>
<author>
<name>Pietro Albini</name>
<email>pietro@pietroalbini.org</email>
</author>
<published>2019-10-10T15:04:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4479de4b4a375e792127ddcbcb5f91e3b58ce237'/>
<id>urn:sha1:4479de4b4a375e792127ddcbcb5f91e3b58ce237</id>
<content type='text'>
</content>
</entry>
</feed>
