Merge pull request 'Akkounts: Set up Bun properly, upgrade Ruby' (#660) from chore/akkounts_bun_ruby into master
Reviewed-on: #660
This commit was merged in pull request #660.
This commit is contained in:
+1
-1
Submodule nodes updated: 528c84f98f...ad6d254fab
@@ -8,7 +8,7 @@ version '0.3.0'
|
||||
chef_version '>= 18.0'
|
||||
|
||||
depends 'kosmos_openresty'
|
||||
depends "kosmos-nodejs"
|
||||
depends "ark"
|
||||
depends "postgresql"
|
||||
depends "kosmos_postgresql"
|
||||
depends "backup"
|
||||
|
||||
@@ -27,12 +27,24 @@ end
|
||||
|
||||
package "libpq-dev"
|
||||
package "libvips"
|
||||
package "unzip"
|
||||
|
||||
node.override["kosmos_nodejs"]["version"] = "22.23.1"
|
||||
include_recipe 'kosmos-nodejs'
|
||||
npm_package "bun"
|
||||
bun_version = "1.3.14"
|
||||
bun_checksum = "951ee2aee855f08595aeec6225226a298d3fea83a3dcd6465c09cbccdf7e848f"
|
||||
|
||||
ruby_version = "3.3.8"
|
||||
ark "bun" do
|
||||
url "https://github.com/oven-sh/bun/releases/download/bun-v#{bun_version}/bun-linux-x64.zip"
|
||||
checksum bun_checksum
|
||||
creates "bun"
|
||||
path "/usr/local/bun/#{bun_version}/bin"
|
||||
action :cherry_pick
|
||||
end
|
||||
|
||||
link "/usr/local/bin/bun" do
|
||||
to "/usr/local/bun/#{bun_version}/bin/bun"
|
||||
end
|
||||
|
||||
ruby_version = "3.3.12"
|
||||
ruby_path = "/opt/ruby_build/builds/#{ruby_version}"
|
||||
bundle_path = "#{ruby_path}/bin/bundle"
|
||||
rails_env = node.chef_environment == "development" ? "development" : "production"
|
||||
|
||||
Reference in New Issue
Block a user