Skip to content

Commit

Permalink
Update nodejs to 14.17
Browse files Browse the repository at this point in the history
also update all the macos checks in omnibus to macos?

Signed-off-by: Tim Smith <tsmith@chef.io>
  • Loading branch information
tas50 committed May 25, 2021
1 parent 8213600 commit 37f833c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion omnibus/config/software/chef-workstation-app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
separator = File::PATH_SEPARATOR || ":"
env["PATH"] = "#{env["PATH"]}#{separator}#{node_bin_path}"

platform_name, artifact_name = if mac_os_x?
platform_name, artifact_name = if macos?
["mac", "Chef Workstation App-#{app_version}-mac.zip"]
elsif linux?
%w{linux linux-unpacked}
Expand Down
2 changes: 1 addition & 1 deletion omnibus/config/software/gems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
# This is a transative dep but we need to build from source so binaries are built on current sdk.
# Only matters on mac.
# @todo https://github.com/guard/rb-fsevent/issues/83
dependency "rb-fsevent-gem" if mac_os_x?
dependency "rb-fsevent-gem" if macos?

build do
env = with_standard_compiler_flags(with_embedded_path)
Expand Down
14 changes: 7 additions & 7 deletions omnibus/config/software/nodejs-binary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,26 +47,26 @@
# ```

name "nodejs-binary"
default_version "14.15.4"
default_version "14.17.0"

license "MIT"
license_file "LICENSE"
skip_transitive_dependency_licensing true

version "14.15.4" do
source_hash = if mac_os_x?
"6b0e19e5c2601ef97510f7eb4f52cc8ee261ba14cb05f31eb1a41a5043b0304e"
version "14.17.0" do
source_hash = if macos?
"7b210652e11d1ee25650c164cf32381895e1dcb3e0ff1d0841d8abc1f47ac73e"
elsif linux?
"b51c033d40246cd26e52978125a3687df5cd02ee532e8614feff0ba6c13a774f"
"3d06eabc73ec8626337bff370474306eac1c3c21122f677720d154c556ceafaf"
elsif windows?
"b2a0765240f8fbd3ba90a050b8c87069d81db36c9f3745aff7516e833e4d2ed6"
"6582a7259c433e9f667dcc4ed3e5d68bc514caba2eed40e4626c8b4c7e5ecd5c"
else
raise "nodejs-binary does not have configuration for this build platform"
end
source sha256: source_hash
end

platform_name, platform_ext = if mac_os_x?
platform_name, platform_ext = if macos?
%w{darwin tar.gz}
elsif linux?
%w{linux tar.gz}
Expand Down
2 changes: 1 addition & 1 deletion omnibus/config/software/uninstall-scripts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
license :project_license

build do
if mac_os_x?
if macos?
copy "#{project_dir}/uninstall_chef_workstation", "#{install_dir}/bin/uninstall_chef_workstation", { preserve: true }
end
end
2 changes: 1 addition & 1 deletion omnibus_overrides.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
override "libyaml", version: "0.1.7"
override "makedepend", version: "1.0.5"
override "ncurses", version: "5.9"
override "openssl", version: mac_os_x? ? "1.1.1k" : "1.0.2y"
override "openssl", version: macos? ? "1.1.1k" : "1.0.2y"
override "pkg-config-lite", version: "0.28-1"
override "ruby", version: "2.7.3"
override "ruby-windows-devkit-bash", version: "3.1.23-4-msys-1.0.18"
Expand Down

0 comments on commit 37f833c

Please sign in to comment.