HDDS-10273. Intermittent build failure while downloading nodejs#6664
Merged
adoroszlai merged 1 commit intoapache:masterfrom May 14, 2024
Merged
HDDS-10273. Intermittent build failure while downloading nodejs#6664adoroszlai merged 1 commit intoapache:masterfrom
adoroszlai merged 1 commit intoapache:masterfrom
Conversation
Contributor
|
Overall idea makes sense, but why do we do so much manual cache management? It seems like https://github.com/actions/setup-java and https://github.com/actions/setup-node can handle it for us. Are there extra requirements we have? |
Contributor
Author
|
Contributor
Author
Contributor
Author
|
It turns out |
jojochuang
pushed a commit
to jojochuang/ozone
that referenced
this pull request
May 23, 2024
jojochuang
pushed a commit
to jojochuang/ozone
that referenced
this pull request
May 23, 2024
…js (apache#6664)" This reverts commit fdec8f8.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Download from
nodejs.orgseems to be unreliable.This PR fixes intermittent failures in:
compile (8, macos-12), which previously had to download Node.js for each run, since the binary tarball is platform-specific, and we only cached the one for Linuxpopulate-cacheruns into download problemChanges:
curl, with retry enabled.populate-cacheworkflow manually for easier testing.https://issues.apache.org/jira/browse/HDDS-10273
How was this patch tested?
Triggered the workflow manually in my fork:
https://github.com/adoroszlai/ozone/actions/workflows/populate-cache.yml
Node.js tarballs from latest run:
https://github.com/adoroszlai/ozone/actions/runs/9018931552/job/24780630992#step:8:300