Skip to content

Commit

Permalink
Merge pull request #418 from Fryguy/yarn4-ui-service
Browse files Browse the repository at this point in the history
Remove yarn1 hack now that yarn4 works on s390x

(cherry picked from commit ef20398)
  • Loading branch information
bdunne authored and Fryguy committed Sep 25, 2023
1 parent 9db4ff9 commit 21aba74
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions lib/manageiq/rpm_build/generate_core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,10 @@ def build_service_ui
symlink_plugin_paths("manageiq-ui-service", ui_service_dir)

Dir.chdir(ui_service_dir) do
shell_cmd("yarn set version 1.22.18") if RUBY_PLATFORM.include?("s390x")
shell_cmd("yarn install") # Add --immutable once s390x is off of yarn 1.
shell_cmd("yarn install") # TODO: Add --immutable once s390x doesn't change the checksums.
shell_cmd("yarn run available-languages")
shell_cmd("yarn run build")
shell_cmd("git clean -xdf") # cleanup temp files
if RUBY_PLATFORM.include?("s390x")
shell_cmd("git checkout .yarn*")
shell_cmd("yarn set version 1.22.18")
end
shell_cmd("git clean -xdf") # cleanup temp files
end
end

Expand Down

0 comments on commit 21aba74

Please sign in to comment.