Files
Alexei Fedotov b949c80383 darwin runner-init: re-provision on failure, region-pin S3 copy
Several fixes to the macOS runner provisioning in
`ci/praktika/infrastructure/runner/runner-init.py`:

- Rename `configure_macos` to `configure_darwin` for consistency with the
  rest of the codebase.
- Drop the provisioning marker `.clickhouse-ci-runner-init-version` when the
  runner loop raises on macOS, so the next boot re-runs `configure_darwin`
  (re-extracts `actions-runner`) instead of skipping it on the version gate
  and failing the same way again. Previously a missing `actions-runner`
  directory left the instance stuck rebooting with a `FileNotFoundError`
  from `os.chdir`. The marker path is centralized as
  `Runner.PROVISION_MARKER`.
- Substitute `config.runner_home` into the actions-runner install block via
  an `rf"""` string instead of recomputing `$HOME/actions-runner` in bash.
- Remove the temporary login-profile clearing block.
- Bump `version` to 71.

In `ci/infra/scripts/user_data_macos.txt`, pin the `aws s3 cp` of the
init script to `us-east-1` (where the `github-runners-data` bucket lives)
so it works from runners launched in any region.
2026-06-18 23:41:36 +02:00
..