Skip to content
Merged
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
24 changes: 24 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,30 @@ jobs:
- name: Frontend build identity (both shipped nginx images, no publishing)
run: bash frontend/ci/bin/test-build-version-image.sh

# The frontend image is published for linux/arm64 too (docs/adr/0043), but
# `fast` builds and starts it on amd64 only. This job runs the same
# shipped-image contract on an arm64 runner, so the arm64 nginx base, the
# entrypoint script and both nginx configurations are started and checked on
# arm64 before merge. The script builds its own image on this runner; the
# published arm64 image is cross-built on amd64 from the same Dockerfile.
# Node is only the script's JSON assertion tool; the frontend build itself
# runs in the Docker build.
frontend-image-arm64:
name: frontend image (arm64)
runs-on: ubuntu-24.04-arm
timeout-minutes: 15
steps:
- name: Check out repository
uses: actions/checkout@v7

- name: Set up Node
uses: actions/setup-node@v7
with:
node-version: 'lts/*'

- name: Frontend build identity (both shipped nginx images, no publishing)
run: bash frontend/ci/bin/test-build-version-image.sh

# The GraalVM native build plus the native @QuarkusIntegrationTest suite
# (SshOsReleaseResourceIT et al. — see docs/adr/0025). `quarkusIntTest` boots
# the freshly built native binary and exercises it over HTTP, so this job
Expand Down
6 changes: 4 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ yarn build # production build

## The merge gate

Every pull request must pass four required checks before it can merge:
Every pull request must pass five required checks before it can merge:

- **`fast`** runs the backend unit and JVM integration tests
(`gradle :backend:test`) plus the frontend test suite.
Expand All @@ -93,10 +93,12 @@ Every pull request must pass four required checks before it can merge:
`docs/adr/0025-ssh-os-release-native-image-reachability.md` records one
example. Both architectures are published, so both are gated
(`docs/adr/0043-images-are-multi-arch-built-natively-per-architecture.md`).
- **`frontend image (arm64)`** builds the frontend image on an arm64 runner
and runs the same image checks that `fast` runs on amd64.
- **`manifests`** builds every shipped Kubernetes composition and validates
the rendered resources with kubeconform.

All four jobs are defined in `.github/workflows/pr.yml`.
All five jobs are defined in `.github/workflows/pr.yml`.

## Conventions

Expand Down
9 changes: 5 additions & 4 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,11 @@ docker build frontend --build-arg BUILD_VERSION=1.2.3-rc.6+build.1 \
PR checks test the identity CLI, rebuild the JVM artifact with changed injection
without cleaning generated output, query its public endpoint, and exercise the
frontend build and nginx images. Native integration tests use explicit
injection through the packaged native image, on both published architectures.
Those tests validate the source
and image recipe, **not the exact binary later published**: the publishing run
separately recompiles the triggering source with the release/edge identity.
injection through the packaged native image. The image checks and the native
integration tests run on both published architectures. Those tests validate
the source and image recipe, **not the exact binary later published**: the
publishing run separately recompiles the triggering source with the
release/edge identity.
Tag pushes rebuild both images; they do not promote or retag an earlier `edge`
artifact. Publication tag policies and the pin-bump flow above are unchanged.

Expand Down
2 changes: 2 additions & 0 deletions ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ bash ci/check-image-platforms.sh linux/amd64,linux/arm64 <image-ref>...
unreachable. Runtime identity overrides must be ignored.
- The frontend check requires Docker, curl, and Node; it checks the static
artifact through both shipped nginx configurations. It never publishes images.
It builds for the architecture of its host; PR checks run it on amd64 and on
arm64.
- The native Dockerfile test requires Docker (BuildKit) and `readelf`. It builds
only the `patcher` stage of `Dockerfile.native-ci` with a fixture binary: each
supported target platform gets its ELF loader, `/nix/store` paths are removed,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Three rules follow:
pre-merge proof that the arm64 binary compiles and that its image boots on
the UBI9 runtime. The runner images are pinned, to the same pair for PR
checks and for publishing, because the binary links against the build host's
glibc.
glibc. The frontend image checks run on an arm64 runner too.

## Considered Options

Expand Down
Loading