Skip to content

Commit

Permalink
Remove yarn1 hack now that yarn4 works on s390x
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryguy committed Sep 18, 2023
1 parent 11ad6d8 commit 2a43121
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 2a43121

Please sign in to comment.