core/__snapshots__/TestGenerateBuildPlanForExamples_ruby-with-node_1.snap.json
core/__snapshots__/TestGenerateBuildPlanForExamples_ruby-with-node_1.snap.jsonBrowse 1970 files
1,679 tokens
5,162 bytes
Token encoding: o200k_base
Snapshot 21a254f
← Back to SKILL.md
1{2 "caches": {3 "apt": {4 "directory": "/var/cache/apt",5 "type": "locked"6 },7 "apt-lists": {8 "directory": "/var/lib/apt/lists",9 "type": "locked"10 },11 "node-modules": {12 "directory": "/app/node_modules/.cache",13 "type": "shared"14 },15 "npm-install": {16 "directory": "/root/.npm",17 "type": "shared"18 }19 },20 "deploy": {21 "base": {22 "step": "packages:apt:runtime"23 },24 "inputs": [25 {26 "include": [27 "/mise/shims",28 "/mise/installs",29 "/usr/local/bin/mise",30 "/etc/mise/config.toml",31 "/root/.local/state/mise"32 ],33 "step": "packages:mise"34 },35 {36 "include": [37 "/usr/local/bundle"38 ],39 "step": "install"40 },41 {42 "include": [43 "/app"44 ],45 "step": "build"46 },47 {48 "include": [49 "/app/node_modules"50 ],51 "step": "prune:node"52 },53 {54 "exclude": [55 "node_modules",56 ".yarn"57 ],58 "include": [59 "."60 ],61 "step": "build:node"62 }63 ],64 "startCommand": "ruby app.rb",65 "variables": {66 "BUNDLE_GEMFILE": "/app/Gemfile",67 "GEM_HOME": "/usr/local/bundle",68 "GEM_PATH": "/usr/local/bundle",69 "LD_PRELOAD": "libjemalloc.so.2",70 "MALLOC_ARENA_MAX": "2",71 "RAILPACK_VERSION": "dev"72 }73 },74 "steps": [75 {76 "caches": [77 "apt",78 "apt-lists"79 ],80 "commands": [81 {82 "cmd": "sh -c 'apt-get update \u0026\u0026 apt-get install -y libjemalloc-dev libyaml-dev'",83 "customName": "install apt packages: libjemalloc-dev libyaml-dev"84 }85 ],86 "inputs": [87 {88 "image": "ghcr.io/railwayapp/railpack-builder:mise-2026.9.9"89 }90 ],91 "name": "packages:apt:build"92 },93 {94 "assets": {95 "generated-mise-toml": "[generated-mise-toml]"96 },97 "commands": [98 {99 "path": "/mise/shims"100 },101 {102 "dest": "Gemfile",103 "src": "Gemfile"104 },105 {106 "customName": "create mise config",107 "name": "generated-mise-toml",108 "path": "/etc/mise/config.toml"109 },110 {111 "cmd": "mise install",112 "customName": "install mise packages: node, ruby"113 }114 ],115 "inputs": [116 {117 "step": "packages:apt:build"118 }119 ],120 "name": "packages:mise",121 "variables": {122 "MISE_CACHE_DIR": "/mise/cache",123 "MISE_CONFIG_DIR": "/mise",124 "MISE_DATA_DIR": "/mise",125 "MISE_INSTALLS_DIR": "/mise/installs",126 "MISE_SHIMS_DIR": "/mise/shims",127 "RUBY_CONFIGURE_OPTS": "--disable-install-doc"128 }129 },130 {131 "commands": [132 {133 "cmd": "gem install -N bundler:2.3.7"134 },135 {136 "dest": "Gemfile",137 "src": "Gemfile"138 },139 {140 "dest": "Gemfile.lock",141 "src": "Gemfile.lock"142 },143 {144 "cmd": "bundle install"145 },146 {147 "path": "/usr/local/bundle"148 }149 ],150 "inputs": [151 {152 "step": "packages:mise"153 }154 ],155 "name": "install",156 "variables": {157 "BUNDLE_GEMFILE": "/app/Gemfile",158 "GEM_HOME": "/usr/local/bundle",159 "GEM_PATH": "/usr/local/bundle",160 "LD_PRELOAD": "libjemalloc.so.2",161 "MALLOC_ARENA_MAX": "2"162 }163 },164 {165 "caches": [166 "npm-install"167 ],168 "commands": [169 {170 "path": "/app/node_modules/.bin"171 },172 {173 "cmd": "mkdir -p /app/node_modules/.cache"174 },175 {176 "dest": "package-lock.json",177 "src": "package-lock.json"178 },179 {180 "dest": "package.json",181 "src": "package.json"182 },183 {184 "cmd": "npm install"185 }186 ],187 "inputs": [188 {189 "step": "packages:mise"190 }191 ],192 "name": "install:node",193 "variables": {194 "CI": "true",195 "NODE_ENV": "production",196 "NPM_CONFIG_FETCH_RETRIES": "5",197 "NPM_CONFIG_FUND": "false",198 "NPM_CONFIG_PRODUCTION": "false",199 "NPM_CONFIG_UPDATE_NOTIFIER": "false"200 }201 },202 {203 "caches": [204 "npm-install"205 ],206 "commands": [207 {208 "cmd": "npm prune --omit=dev --ignore-scripts"209 }210 ],211 "inputs": [212 {213 "step": "install:node"214 }215 ],216 "name": "prune:node",217 "variables": {218 "NPM_CONFIG_PRODUCTION": "true"219 }220 },221 {222 "caches": [223 "node-modules"224 ],225 "inputs": [226 {227 "step": "install"228 },229 {230 "include": [231 ".",232 "/mise/shims",233 "/mise/installs",234 "/usr/local/bin/mise",235 "/etc/mise/config.toml",236 "/root/.local/state/mise"237 ],238 "step": "install:node"239 },240 {241 "include": [242 "."243 ],244 "local": true245 }246 ],247 "name": "build:node",248 "secrets": [249 "*"250 ]251 },252 {253 "inputs": [254 {255 "step": "install"256 },257 {258 "include": [259 "."260 ],261 "local": true262 }263 ],264 "name": "build",265 "variables": {266 "BUNDLE_GEMFILE": "/app/Gemfile",267 "GEM_HOME": "/usr/local/bundle",268 "GEM_PATH": "/usr/local/bundle",269 "LD_PRELOAD": "libjemalloc.so.2",270 "MALLOC_ARENA_MAX": "2"271 }272 },273 {274 "caches": [275 "apt",276 "apt-lists"277 ],278 "commands": [279 {280 "cmd": "sh -c 'apt-get update \u0026\u0026 apt-get install -y libatomic1 libjemalloc2 libyaml-dev'",281 "customName": "install apt packages: libatomic1 libjemalloc2 libyaml-dev"282 }283 ],284 "inputs": [285 {286 "image": "ghcr.io/railwayapp/railpack-runtime:mise-2026.9.9"287 }288 ],289 "name": "packages:apt:runtime"290 }291 ]292}