Skip to content

Adopt the Aspect Workflows GitLab component; simplify warming jobs#584

Merged
gregmagolan merged 2 commits into
mainfrom
adopt-gitlab-component
Jun 19, 2026
Merged

Adopt the Aspect Workflows GitLab component; simplify warming jobs#584
gregmagolan merged 2 commits into
mainfrom
adopt-gitlab-component

Conversation

@gregmagolan

Copy link
Copy Markdown
Member

Adopts the Aspect Workflows GitLab CI/CD component (@2026.25.5) on main, bringing GitLab to parity with CircleCI (orb) and Buildkite (plugin), which already use their integrations here.

  • .gitlab-ci.yml: includes the component and every job (build/test/format/lint/delivery + warming) uses extends: .aspect-workflows-setup. The component waits for the runner's cache warming and writes /etc/bazel.bazelrc, so raw bazel calls route through the runner's remote cache, BES backend, and NVMe disk cache.
  • Warming jobs across all three providers (GitLab, CircleCI, GitHub warming.yaml): drop the now-redundant configure_workflows_env and agent_health_check pre-steps — the setup integration handles environment config and waits for warming, so the explicit pre-steps are no longer needed.

The component was verified end-to-end earlier (a prior test pipeline logged the setup step: runner metadata + "Wrote Workflows-tuned bazelrc to /etc/bazel.bazelrc", with Group queue: aspect-default correct).

Changes are visible to end-users: no

Test plan

  • circleci config validate passes; .gitlab-ci.yml parses; GitHub warming.yaml has no real actionlint errors.
  • GitLab/CircleCI/GitHub CI on this PR exercise the integrations on real Aspect Workflows runners.

🤖 Generated with Claude Code

GitLab CI now uses the aspect-build/aspect-workflows component (@2026.25.5) in
every job via `extends: .aspect-workflows-setup`, matching how CircleCI (orb) and
Buildkite (plugin) already use their integrations. The component waits for cache
warming and writes /etc/bazel.bazelrc so raw `bazel` calls route through the
runner's caches.

Also drop the now-redundant `configure_workflows_env` and `agent_health_check`
pre-steps from the warming jobs on all three providers (GitLab, CircleCI, and the
GitHub warming workflow) — the setup integration handles environment config and
waits for warming, so the explicit pre-steps are no longer needed.
@aspect-workflows

aspect-workflows Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

✨ Aspect Workflows Tasks

📅 Fri Jun 19 00:06:11 UTC 2026

✅ 12 successful tasks

  • ✅ buildifier (buildifier-gha) · ⏱ 21.3s · ✨ Aspect · 🐙 GitHub Actions · ☑️ Check
    💬 Format complete (clean)
  • ✅ buildifier (buildifier-gha-ephemeral) · ⏱ 2m 44s · 🐙 GitHub Actions · ☑️ Check
    💬 Format complete (clean)
  • ✅ delivery (delivery-gha) · ⏱ 37.3s · ✨ Aspect · 🐙 GitHub Actions · ☑️ Check
    💬 Delivery complete (1 skipped)
  • ✅ delivery (delivery-gha-ephemeral) · ⏱ 3m 37s · 🐙 GitHub Actions · ☑️ Check
    💬 Delivery complete (1 delivered)
  • ✅ format (format-gha) · ⏱ 33.4s · ✨ Aspect · 🐙 GitHub Actions · ☑️ Check
    💬 Format complete (clean)
  • ✅ format (format-gha-ephemeral) · ⏱ 2m 7s · 🐙 GitHub Actions · ☑️ Check
    💬 Format complete (clean)
  • ✅ gazelle (gazelle-gha) · ⏱ 18.5s · ✨ Aspect · 🐙 GitHub Actions · ☑️ Check
    💬 Gazelle complete (clean)
  • ✅ gazelle (gazelle-gha-ephemeral) · ⏱ 2m 26s · 🐙 GitHub Actions · ☑️ Check
    💬 Gazelle complete (clean)
  • ✅ lint (lint-gha) · ⏱ 1m 56s · ✨ Aspect · 🐙 GitHub Actions · ☑️ Check
    💬 Lint complete (clean)
  • ✅ lint (lint-gha-ephemeral) · ⏱ 5m 5s · 🐙 GitHub Actions · ☑️ Check
    💬 Lint complete (clean)
  • ✅ test (test-gha) · ⏱ 1m 15s · ✨ Aspect · 🐙 GitHub Actions · ☑️ Check
    💬 Bazel test complete (32/32 passed · 32 cached)
  • ✅ test (test-gha-ephemeral) · ⏱ 16m 32s · 🐙 GitHub Actions · ☑️ Check
    💬 Bazel test complete (32/32 passed)

⏱ Last updated Fri Jun 19 00:28:20 UTC 2026 · 📊 GitHub API quota 1,754/15,000 (12% used, resets in 58s, throttle 2×)
🚀 Powered by Aspect CLI (v2026.25.11)  |  Aspect Build · X · LinkedIn · YouTube

The jobs used `before_script: [!reference [.aspect-workflows-setup, before_script]]`,
but none of them has its own before_script to compose with — so the simpler,
recommended `extends: .aspect-workflows-setup` form fits and matches the
component README's primary pattern, the integration docs, and the release notes.
`!reference` is only needed when a job already has a before_script.
@gregmagolan gregmagolan merged commit 1633070 into main Jun 19, 2026
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant