{"id":47597504,"url":"https://github.com/buildkite-plugins/mise-buildkite-plugin","last_synced_at":"2026-06-14T04:01:55.139Z","repository":{"id":344554203,"uuid":"1158247406","full_name":"buildkite-plugins/mise-buildkite-plugin","owner":"buildkite-plugins","description":"Mise buildkite plugin ","archived":false,"fork":false,"pushed_at":"2026-05-31T18:57:23.000Z","size":49,"stargazers_count":2,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-31T20:23:29.591Z","etag":null,"topics":["buildkite-plugin","mise"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buildkite-plugins.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-15T03:08:41.000Z","updated_at":"2026-05-31T18:57:03.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/buildkite-plugins/mise-buildkite-plugin","commit_stats":null,"previous_names":["lox/mise-buildkite-plugin","buildkite-plugins/mise-buildkite-plugin"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/buildkite-plugins/mise-buildkite-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite-plugins%2Fmise-buildkite-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite-plugins%2Fmise-buildkite-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite-plugins%2Fmise-buildkite-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite-plugins%2Fmise-buildkite-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buildkite-plugins","download_url":"https://codeload.github.com/buildkite-plugins/mise-buildkite-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite-plugins%2Fmise-buildkite-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34308622,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["buildkite-plugin","mise"],"created_at":"2026-04-01T18:26:00.547Z","updated_at":"2026-06-14T04:01:55.130Z","avatar_url":"https://github.com/buildkite-plugins.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mise Buildkite Plugin\n\nInstall [mise](https://mise.jdx.dev/), run `mise install`, and export the tool environment into the Buildkite step.\n\nThis plugin is intentionally small:\n\n- `mise` is installed if missing or at the wrong version\n- `mise install` always runs\n- `mise system install --yes` can run before `mise install` when explicitly enabled\n- the plugin-managed `mise` binary is added to the command environment `PATH`\n- `mise env --shell bash` is sourced in the hook and appended to `$BUILDKITE_ENV_FILE`\n- command execution uses the active repository mise config exported by `mise env`\n\n## Example\n\n```yml\nsteps:\n  - label: \":wrench: Test\"\n    plugins:\n      - mise#v1.1.3:\n          version: 2026.2.11\n    command: go test ./...\n```\n\n## Monorepo Example\n\n```yml\nsteps:\n  - label: \":wrench: Test backend\"\n    plugins:\n      - mise#v1.1.3:\n          dir: backend\n    command: go test ./...\n```\n\n## Install Args\n\nFor steps that only need part of a shared mise config, use `install_args` to pass\narguments directly to `mise install`:\n\n```yml\nsteps:\n  - label: \":react: Frontend\"\n    plugins:\n      - mise#v1.1.3:\n          install_args: node pnpm\n    command: pnpm test\n```\n\nBare tool names use versions from the repository config when present. Versioned\narguments such as `node@24 pnpm@10` are also valid `mise install` arguments,\nbut they only affect what gets installed. Later commands still use the\nenvironment exported by `mise env --shell bash`, so the active versions come\nfrom the repository mise config. When `install_args` is omitted, the existing\nbehavior is preserved: `mise install` runs with no arguments and installs\neverything in the config file.\n\n## System Packages\n\nmise can install machine-global packages declared in `[system.packages]` with\n`mise system install --yes`. This plugin keeps that behavior opt-in because\nsystem packages can mutate the agent host or container.\n\n```toml\n[system.packages]\n\"apt:libssl-dev\" = \"latest\"\n```\n\n```yml\nsteps:\n  - label: \":wrench: Test\"\n    plugins:\n      - mise#v1.1.3:\n          install_system_packages: true\n    command: go test ./...\n```\n\nWhen enabled, the hook runs `mise system install --yes` with `MISE_EXPERIMENTAL=1`\nbefore the normal `mise install`. On CI containers that run as root this\ninstalls without prompts; on non-root Linux agents, mise may use `sudo`\naccording to its normal system package behavior.\n\n## Hosted Agent Cache Volumes\n\n```yml\ncache: \".buildkite/cache-volume\"\n\nsteps:\n  - label: \":wrench: Test\"\n    plugins:\n      - mise#v1.1.3: ~\n    command: go test ./...\n```\n\nWhen running on Buildkite hosted agents, the plugin automatically uses `/cache/bkcache/mise` as `MISE_DATA_DIR` if a cache volume is attached. Buildkite only mounts that volume when the pipeline or step defines `cache`, so you still need to request one in `pipeline.yml`.\n\n## Configuration\n\n- `version` (default: `latest`): mise version to install.\n- `dir` (default: checkout directory): directory where `mise install` and `mise env` run.\n- `cache-dir` (default: unset): directory to use for `MISE_DATA_DIR`. This is mainly useful on self-hosted agents with a persistent disk.\n- `install_args` (default: unset): arguments passed directly to `mise install`, such as `node pnpm` or `node@24 pnpm@10`. These are install-only arguments; command execution still uses the environment exported from the repository mise config.\n- `install_system_packages` (default: `false`): run `mise system install --yes` before `mise install`.\n\n## Repo Requirements\n\nThe target directory must contain one of:\n\n- `mise.toml`\n- `.mise.toml`\n- `.tool-versions`\n\n`MISE_DATA_DIR` still takes precedence over plugin configuration. Advanced `mise` behavior should otherwise be configured with normal step environment variables such as `MISE_LOG_LEVEL` or `MISE_EXPERIMENTAL`.\n\n## Development\n\nRun plugin checks locally:\n\n```bash\nmise install\ndocker run --rm -v \"$PWD:/plugin\" -w /plugin buildkite/plugin-linter --id mise --path /plugin\ndocker run --rm -v \"$PWD:/plugin\" -w /plugin buildkite/plugin-tester\n\"$(mise where shellcheck@0.11.0)/shellcheck-v0.11.0/shellcheck\" hooks/pre-command tests/pre-command.bats\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildkite-plugins%2Fmise-buildkite-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildkite-plugins%2Fmise-buildkite-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildkite-plugins%2Fmise-buildkite-plugin/lists"}