Commit Graph
14 Commits
Author SHA1 Message Date
Michael BiancoandGitHub 1b4469cb4f fix(ruby): upgrade to jemalloc2 (#338)
* fix: use jemalloc2

* test(ruby): add jemalloc example

* docs: update jemalloc docs

* test: snapshot update
2026-03-12 12:27:48 -06:00
Michael BiancoandGitHub fa7d5ce430 fix(ruby): pin default ruby to minor, not patch (#488)
* test: ruby no version checks minor version and http connection

* fix: pin ruby to minor version, not specific patch

* fix(ruby): bind to 0.0.0.0 to fix start for non-rails applications

* test: snapshot update
2026-03-12 12:22:13 -06:00
Michael BiancoandGitHub 6847fd2132 fix: use mise for idiomatic ruby file parsing (#429)
* fix: remove custom .ruby-version parsing

* test: assert against specific ruby 2 version

makes sure .ruby-version is properly being parsed

* test: add ruby version output to ruby server tests

* docs: some future ruby TODOs
2026-01-15 10:52:59 -07:00
092b81dff2 refactor: replace HasMatch with HasFile for specific file paths (#347)
Replace fuzzy matching (HasMatch) with exact file path checks (HasFile)
in all providers where specific files are being checked. This prevents
false positives from glob pattern matching when checking for specific
file names.

Changes:
- PHP provider: index.php, composer.json, artisan
- Go provider: main.go, go.mod, go.work, go.sum, go.work.sum
- Ruby provider: Gemfile, rails, bin/rails, config/environment.rb,
  config.ru, Rakefile
- Node providers: package.json, lock files, config files for Vite,
  Astro, Angular, React Router
- Python providers: main.py, requirements.txt, pyproject.toml, Pipfile,
  poetry.lock, pdm.lock, uv.lock, manage.py
- Rust provider: Cargo.toml, src/main.rs, src/lib.rs
- Elixir provider: mix.exs
- Deno provider: deno.json, deno.jsonc, main.ts/js/mjs/mts
- Java providers: gradlew, mvnw, gradle/maven wrapper properties
- Staticfile provider: index.html, Staticfile config
- Core: template.go and mise_step_builder.go

Directory checks (e.g. src/bin, node_modules, public, script) continue
to use HasMatch as they need pattern/directory matching.

Co-authored-by: Hanzo Dev <[email protected]>
2025-11-23 07:49:16 -07:00
Michael BiancoandGitHub 269d29f774 fix: allow node_modules removal in build phase (#259)
* test: test install in build phase

* fix: detect node_modules removal and avoid caching node_modules/.cache

* test: add new snapshot

* build: adding go debugging tool and helper task

* refactor: node_modules detection is working

* test: test install in build phase

* refactor: pull plan cleansing into a separate file

* refactor: ai cleanup

* refactor: move cleanse to the provider level, stubs for all providers

* refactor: move existing node cleanse logic to a provider-specific implementation

* test: snapshot update

* docs: why we need node cleanse operation

* docs: note on corepack

* docs: on cache handling of node_modules
2025-11-18 10:52:48 -07:00
Michael BiancoandGitHub 0971558869 feat: pull ruby version from mise configuration (#339)
* docs: note that ruby version is sourced from mise

* feat: source ruby version from mise configuration

* test: test specific ruby version in integration tests, use mise-specified version

* test: snapshot update
2025-11-12 16:23:05 -07:00
Michael BiancoandGitHub 13873cbc0e docs: can't eliminate sh usage for apt (#342) 2025-11-12 12:49:53 -07:00
Michael BiancoandGitHub a0b7d383cb test: http checks on example projects (#250)
* test: add HTTP checks

* test: http checks on docker containers

* test: removing justBuild if we have an http check

* test: missing bin/rails

* fix: warning if bin/rails dne

* test: allow json5 in test.json

* test: add justBuild for svelte
2025-10-21 11:11:30 -06:00
24f0a773d8 feat: dockerignore support (#263)
* test: dockerignore test project

* docs: claude.md update

* feat: parse dockerignore files

* fixup! feat: parse dockerignore files

* feat: use revised local layer

* feat: parse dockerfiles and pass includes/excludes to the local layer

* test: snapshot

* refactor: ai cleanup

* test: dockerignore parsing tests

* refactor: remove obvious comment

* test: dockerignore failure tests

* Apply suggestion from @coffee-cup

Co-authored-by: Jake Runzer <[email protected]>

* Apply suggestion from @coffee-cup

Co-authored-by: Jake Runzer <[email protected]>

* docs: always use App for fs ops

* refactor: pass App to dockerignore context instead of a path to the repo

* test: pass app to dockerignore

---------

Co-authored-by: Jake Runzer <[email protected]>
2025-09-24 16:11:40 -06:00
Jake RunzerandGitHub 6c1823f3e6 Update default versions for Go, Python, Ruby, and Rust providers (#267)
* update provider default versions

* update golang test
2025-09-16 16:53:26 -04:00
Michael BiancoandGitHub 5af5eb5161 refactor: use consistent local layers entrypoint (#241)
* fix: show-plan not showing json output

regression from $schema addition

* refactor: all providers using a consistent local layer entrypoint

* refactor: add local filesystem through a consistent entrypoint

* fix: improved error message on invalid firstInput

* test: remove path argument from NewLocalLayer test

* test: failing workspace example with uv

* test: passing workspace example

* feat: detect uv workspaces

* test: add packaged uv example

* test: snapshot update
2025-09-03 10:39:48 -06:00
Reece DunhamandGitHub 4870a41cc5 Enable jemalloc by default in Ruby setups (#212)
Signed-off-by: Reece Dunham <[email protected]>
2025-08-13 19:54:48 -07:00
Jake RunzerandGitHub d8f31b4589 Custom config step deploy outputs (#118)
* rename plan inputs to layers and use deploy base layer

* runtime deps installed

* step builders can create multiple steps

* support config step deploy outputs

* optimize when we merge vs copy layers

* update snapshots

* validate the deploy layers

* fix tests

* dont add mise if no packages

* fix pruning for php

* update layer merging and snapshot tests

* dont include mise commands or variables if no packages

* update docs

* update snapshots and normalization

* add guide for adding custom steps

* support .node-version file

* fix compile errors

* update snapshot tests
2025-04-01 13:33:30 -04:00
Jared LundeandGitHub b2e5c3205c add ruby provider (#122) 2025-03-26 09:07:21 -07:00