Repository navigation
consul-ui: fix build - #41268
Merged
Merged
consul-ui: fix build#41268
Conversation
Update the dependencies used for building consul-ui. therubyracer is no longer required and fails to build. Instead, a nodejs binary is required to build the assets. Patch out unnecessary executions of `bundle` which can cause failures.
Contributor
Author
|
@7c6f434c Looks like there might be an issue with your latest commit: https://gist.github.com/GrahamcOfBorg/27d3550cdabe42098a41f92d433a4181 |
Member
|
@GrahamcOfBorg eval |
Member
|
A direct reference stopped on |
Member
|
@GrahamcOfBorg build consul-ui |
|
Success on x86_64-linux (full log) Attempted: consul-ui Partial log (click to expand)
|
|
Success on x86_64-darwin (full log) Attempted: consul-ui Partial log (click to expand)
|
|
Success on aarch64-linux (full log) Attempted: consul-ui Partial log (click to expand)
|
2 of 8 tasks
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.
Motivation for this change
consul-ui is currently failing to build in 18.03 and master (#41238).
Things done
build-use-sandboxinnix.confon non-NixOS)nix-shell -p nox --run "nox-review wip"./result/bin/)My previous PR (#41239) was against the 18.03 branch because the fix did not work in master. This newer version works in both master and 18.03.
Update the dependencies used for building consul-ui. therubyracer is no longer required and fails to build. Instead, a nodejs binary is required to build the assets. Patch out unnecessary executions of
bundlewhich can cause failures and also prevents need for patching the Gemfile.lock in the consul source, based on suggestion by @nh2.Closes #41238