返回 Skill 列表
extension
分类: 开发与工程无需 API Key

worker-image-build

通过触发mozilla-platform-ops/worker-images中的GitHub Actions工作流来构建Firefox CI工作器镜像。支持FXCI Azure工作流以构建Windows镜像(可信和不可信)。使用场景:- 用户想要构建一个工作器镜像- 用户提到“FXCI Azure”、“工作器镜像构建”,或特定池名称如“win11-64-24h2-alpha”- 用户希望为Windows 10、Windows 11或Windows Server 2022触发镜像构建- 用户询问检查某个工作器镜像构建的状态触发词:“构建镜像”、“工作器镜像”、“FXCI Azure”、“触发构建”、“镜像构建状态”

person作者: jakexiaohubgithub

Worker Image Build

Trigger a configured build in mozilla-platform-ops/worker-images with the authenticated gh CLI.

Prerequisites

Install gh, authenticate it, and confirm that your account is allowed by .github/relsre.json in the worker-images repository.

Usage

REPO=mozilla-platform-ops/worker-images

# Read the dispatchable configuration names from the workflow input.
gh workflow view "FXCI - Azure" --repo "$REPO" --yaml
gh workflow view "FXCI - Azure - Trusted" --repo "$REPO" --yaml

# Start one untrusted build.
gh workflow run "FXCI - Azure" --repo "$REPO" -f config=<CONFIG_NAME>

# Find and watch the new run.
gh run list --repo "$REPO" --workflow "FXCI - Azure" --limit 1 \
  --json databaseId,url,status,createdAt
gh run watch <RUN_ID> --repo "$REPO"

Use FXCI - Azure - Trusted for a trusted configuration. Read examples.md for complete commands.

Gotchas

  • Workflow input options are authoritative. A YAML file can exist without a dispatch option.
  • A trusted configuration must use the trusted workflow.
  • Build an -alpha image before production. A build usually takes 30 to 60 minutes and opens a release-notes pull request.
  • Do not merge release notes or recommend production deployment until os-integrations shows that all Tier 1 tasks pass against the latest autoland decision baseline.

Related Skills

  • Use worker-image-investigation for failures in an existing image.
  • Use production-image-deploy for a complete production rollout.