ci: test-ansible を native arm64 runner + 並列化で高速化 (BOXP-128) - #11578
Merged
Conversation
…(BOXP-128) - runs-on を ubuntu-latest から ubuntu-24.04-arm に変更し QEMU エミュレーションを廃止 - docker/setup-qemu-action・docker/setup-buildx-action を削除 - ロール検出・lint・テストを別 Job に分離し、テストを matrix strategy で並列実行 - timeout-minutes を 60 → 20 分に縮小 - MOLECULE_DOCKER_PLATFORM 指定不要(native arm64 実行) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Molecule configs default to linux/amd64 via \${MOLECULE_DOCKER_PLATFORM:-linux/amd64}.
On native ubuntu-24.04-arm runner without QEMU, running amd64 containers would
fail with exec format error. Setting MOLECULE_DOCKER_PLATFORM at job level ensures
arm64 containers are used natively (fast, no emulation needed).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
BOXP-128:
test-ansible.ymlの実行時間が60分に近づいていた問題を解消する。主な変更:
runs-on: ubuntu-latest(x86_64)→ubuntu-24.04-arm(GitHub native arm64 runner)に切り替えdocker/setup-qemu-action/docker/setup-buildx-actionを削除(QEMU エミュレーション不要)MOLECULE_DOCKER_PLATFORM=linux/arm64指定を削除(native 実行のため不要)timeout-minutesを 60 → 20 分 に縮小期待される効果:
Test plan
🤖 Generated with Claude Code