Mise: project-local toolchain bootstrap (Linux + Windows)
PR checks / web (pull_request) Successful in 44s
PR checks / java (pull_request) Successful in 1m1s
Main: tests, deploy, autotests / web (push) Successful in 41s
Main: tests, deploy, autotests / java (push) Successful in 56s
Main: tests, deploy, autotests / images-app (push) Successful in 42s
Main: tests, deploy, autotests / images-web (push) Successful in 1m5s
Main: tests, deploy, autotests / deploy (push) Successful in 1m32s
Main: tests, deploy, autotests / autotests (push) Successful in 1m18s
Main: tests, deploy, autotests / rollback (push) Has been skipped

Корневой mise.toml пинит java temurin-17, maven 3.9.16, node 24, python 3.15
и задачи (verify/app-package/app-run/web-*/prod-tests); bootstrap.sh/.ps1
скачивают mise v2026.10.19 в ./.mise/bin (gitignored, вне системы); обёртки
mise.sh/.ps1 зовут его без PATH/активации шелла. prod-autotests/mise.toml
удалён — дубль корневого (venv тем же путём). AGENTS.md синхронизирован.
This commit was merged in pull request #51.
This commit is contained in:
Pjandro
2026-10-25 20:00:51 +00:00
parent 922bc915ba
commit ddb41ab620
8 changed files with 107 additions and 7 deletions
+16
View File
@@ -0,0 +1,16 @@
# Скачивает mise в .\.mise\bin (без установки в систему) и ставит инструменты проекта.
$ErrorActionPreference = 'Stop'
$version = '2026.10.19'
$root = $PSScriptRoot
$zip = Join-Path $env:TEMP 'mise-bootstrap.zip'
$tmp = Join-Path $env:TEMP 'mise-bootstrap'
Invoke-WebRequest "https://github.com/jdx/mise/releases/download/v$version/mise-v$version-windows-x64.zip" -OutFile $zip
Remove-Item -Recurse -Force $tmp -ErrorAction SilentlyContinue
Expand-Archive -Path $zip -DestinationPath $tmp
$bin = Join-Path $root '.mise\bin'
New-Item -ItemType Directory -Force -Path $bin | Out-Null
Move-Item -Force (Join-Path $tmp 'mise\bin\mise.exe') (Join-Path $bin 'mise.exe')
& (Join-Path $bin 'mise.exe') trust
& (Join-Path $bin 'mise.exe') install
& (Join-Path $bin 'mise.exe') run web-install
Write-Host 'готово: .\mise.ps1 run verify'