Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .circleci/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
# workflow in .circleci/config.yml merges into this file at pipeline runtime.
version: 2.1
orbs:
architect: giantswarm/architect@9.6.0
# TEST-ONLY (do not merge): dev orb from giantswarm/architect-orb#871, which adds
# the `cache` parameter used by push-to-registries below. Revert to a released
# `giantswarm/architect@9.x` before merging.
architect: giantswarm/architect@dev:buildkit-registry-cache

jobs:
# Self-contained Node build/test on a cimg/node executor (architect ships no
Expand Down Expand Up @@ -97,6 +100,13 @@ workflows:
name: push-to-registries
dockerfile: packages/backend/Dockerfile
platforms: linux/amd64
# TEST-ONLY (do not merge): persist BuildKit's layer cache to
# gsoci.azurecr.io/giantswarm/backstage:buildcache. Without it every build
# re-runs the whole Dockerfile — apt build-essential, pip mkdocs, and a full
# `yarn workspaces focus --all --production` with node-gyp native compiles.
# Landing this permanently needs a devctl gen.ci.image change, since this file
# is generated.
cache: registry
requires:
- node-build
filters:
Expand Down
7 changes: 7 additions & 0 deletions packages/backend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,10 @@ if (process.env.PAGERDUTY_TOKEN) {
}

backend.start();

// Touched to exercise the warm layer cache (see PR #2012). Changes the built
// bundle but not any package.json, so skeleton.tar.gz stays byte-identical.

// Re-run against the reviewed orb (stable cache ref + export-failure warning).

// Warm-cache validation run: base image stable since 08:39 UTC.
Loading