-
Notifications
You must be signed in to change notification settings - Fork 813
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
CI: Update Rust SDK conformance test cache version #1135
CI: Update Rust SDK conformance test cache version #1135
Conversation
What do you mean by "bringing it back" ? Do you mean clearing it somehow? |
I would update this PR after first test run to make sure that second one is utilising the cache of first run. |
@markmandel I mean that it stops working. It uses only |
Build Succeeded 👏 Build Id: c385e1ba-aac5-415a-b811-4a699c1885d7 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
a8a89ba
to
01cb103
Compare
Triggered one more build with the same |
Build Succeeded 👏 Build Id: 2dc5efa4-805b-443e-ab78-c00bda6b0903 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
Comparing the results:
Second run (does not need to perform steps above every time):
|
Should we rename this PR to be more indicative of what it's doing? |
Or should it be closed - I'm actually not sure what it's doing 😄 |
01cb103
to
8de2bd5
Compare
This PR is needed to make Rust builds faster and Rust SDK conformance test now from #1122 don't need to download and compile third party dependencies.
As it could be seen in these logs: |
Build Succeeded 👏 Build Id: abed07d8-682a-4f19-b1e5-931336848516 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
Need to update the version to trigger `save_cache` in order to avoid downloading third party dependencies.
8de2bd5
to
42f7203
Compare
Build Succeeded 👏 Build Id: e32273f3-b9c4-4388-845e-02cecb43b7b9 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
@@ -17,7 +17,7 @@ | |||
# when Rust SDK or Rust test would be updated | |||
[package] | |||
name = "rust-simple" | |||
version = "0.1.0" | |||
version = "0.2.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this doing? Why the version increase?
Hash of this file is used as a key in cloud build cache. After Robert changes #1125 , we got new version. However, as it could be seen from the CI logs, cache was not updated. And I was not able to find a way to make checksum of all files in Rust SDK directory, so I choose this way of forcing cache updates. Since we do not change Rust code very often. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it! Thanks! Approved!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aLekSer, markmandel The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
New changes are detected. LGTM label has been removed. |
Build Succeeded 👏 Build Id: 1e816be5-fa7b-4322-9a18-fdb262363137 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
Build Succeeded 👏 Build Id: 32f88660-e325-4886-8405-661c4674f275 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
Update cache for Cloud Builds.
As it could be seen from #1125 cloud runs, Rust sdk test downloading dependencies, while it should use cache for that in order to decrease overall CI build.
Fix documentation.