Skip to content

Travis cache fixes #1843

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 27, 2019
Merged

Travis cache fixes #1843

merged 2 commits into from
Sep 27, 2019

Conversation

jtgeibel
Copy link
Member

Build times have regressed and we are spending a lot of time doing caching stuff (and downloading/uploading 8GB of compressed data). By manually wiping out the cache, stable and beta build times should align more closely with nightly (which is cleaned on every new nightly release). This PR also fixes the list of pruned binaries:

  • Remove update-downloads
  • Add enqueue-job
  • Sort alphabetically for easier comparison against ls src/bin

* Remove update-downloads
* Add enqueue-job
* Sort alphabetically for easier comparison against `ls src/bin`
Build times have regressed and we are spending a lot of time doing
caching stuff.
@rust-highfive
Copy link

r? @sgrif

(rust_highfive has picked a reviewer for you, use r? to override)

@jtgeibel
Copy link
Member Author

Merging so that I can clear some caches on CI and then restart a job that is timing out on cache unpacking.

@bors r+

@bors
Copy link
Contributor

bors commented Sep 27, 2019

📌 Commit e9f4fc6 has been approved by jtgeibel

@bors
Copy link
Contributor

bors commented Sep 27, 2019

⌛ Testing commit e9f4fc6 with merge 08e2e68...

bors added a commit that referenced this pull request Sep 27, 2019
Travis cache fixes

Build times have regressed and we are spending a lot of time doing caching stuff (and downloading/uploading 8GB of compressed data).  By manually wiping out the cache, stable and beta build times should align more closely with nightly (which is cleaned on every new nightly release).  This PR also fixes the list of pruned binaries:

* Remove update-downloads
* Add enqueue-job
* Sort alphabetically for easier comparison against `ls src/bin`
@bors
Copy link
Contributor

bors commented Sep 27, 2019

☀️ Test successful - checks-travis
Approved by: jtgeibel
Pushing 08e2e68 to master...

@bors bors merged commit e9f4fc6 into rust-lang:master Sep 27, 2019
@jtgeibel jtgeibel deleted the travis-cache-fixes branch September 27, 2019 01:38
@@ -7,7 +7,7 @@ du -hs target/debug

crate_name="cargo-registry"
test_name="all"
bin_names="delete-crate delete-version populate render-readmes server test-pagerduty transfer-crates update-downloads background-worker monitor"
bin_names="background-worker delete-crate delete-version enqueue-job monitor populate render-readmes server test-pagerduty transfer-crates"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could generate this list to avoid having to manually maintain it, e.g.

cargo metadata --format-version 1 |
    jq -r '.packages[] | select(.name == "cargo-registry") | .targets[] | select(.kind == ["bin"]) | .name'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants