가장 큰 것: 문서화된 아키텍처 게이트가 규칙을 하나도 실행하지 않았다. 워크플로 7곳과 CLAUDE.md 가 --tests '*CleanArchitectureTest' 를 지정했으나 그 이름의 클래스는 존재하지 않는다. 4곳은 매칭 0건으로 하드 실패하고, 3곳은 다른 필터와 병기돼 아키텍처 규칙 0개를 돌고 초록으로 통과했다. 필터를 패키지 글롭 dev.caskeleton.bootstrap.architecture.* 로 교체했다. *ArchitectureTest 글롭은 20개 중 12개만 잡고 ArchRuleDiscoveryContractTest 등 8개를 놓치므로 쓰지 않았다. 그 외: - ci-gate-matrix 의 release_blocking 이 강제되지 않아 trivy-fs 가 빨개도 release-gate 가 초록이던 것을 실제 의존으로 연결 - build-logic TestKit 이 어떤 CI 에서도 돌지 않던 것을 ci-quality-gates 에 연결 - jpa-next-* 3개, object-storage, fileserver-pr 의 실패할 수 없거나 트리거되지 않던 잡 정리 - 릴리스 태그 네임스페이스 분열로 v* 태그가 web·websocket 게이트를 건너뛰던 것 수정 - 워크플로 SHA 잠금 28개 재생성 (verify-gradle-wrapper.sh) Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
69 lines
2.7 KiB
YAML
69 lines
2.7 KiB
YAML
name: web-release
|
|
|
|
# The complete Stable gate. Everything the PR and nightly workflows run, plus the checks whose cost
|
|
# is only justified when something is about to ship: the public API surface, the environment key
|
|
# registry and the whole architecture verification.
|
|
#
|
|
# It is one workflow rather than a reference to the others because a release gate that depends on
|
|
# another workflow having run is a gate whose result depends on scheduling.
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
tags:
|
|
# 'v*' is this repository's release tag, and jpa-release, httpclient-release and
|
|
# web-advanced-release already fire on it. While this workflow answered only to
|
|
# 'web-v*', tagging 'v1.2.3' ran the Advanced gate and skipped this Stable one, so a
|
|
# release could choose which gate it cleared. Both patterns are listed: the namespaced
|
|
# tag keeps working for a component-only release, and the repository tag can no longer
|
|
# bypass the gate.
|
|
- 'v*'
|
|
- 'web-v*'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
web-stable-release-gate:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 90
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
|
|
- name: Validate Gradle wrapper
|
|
id: gradle-wrapper-validation
|
|
uses: gradle/actions/wrapper-validation@3f131e8634966bd73d06cc69884922b02e6faf92 # gradle/actions@v6
|
|
- uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # actions/setup-java@v4.7.1
|
|
with:
|
|
distribution: temurin
|
|
java-version: "21.0.11+10"
|
|
cache: gradle
|
|
cache-dependency-path: |
|
|
src/**/*.gradle
|
|
src/**/gradle-wrapper.properties
|
|
src/**/gradle.lockfile
|
|
- name: Run every web lane and the architecture-wide verification
|
|
working-directory: src
|
|
run: >-
|
|
./gradlew
|
|
:adapter:inbound:web:webCrossStackParityTest
|
|
:adapter:inbound:web:webNginxProxyTest
|
|
verifyCleanArchitectureDependencies
|
|
verifyPublicPathSnapshot
|
|
verifyEnvKeys
|
|
:app-bootstrap:test --tests 'dev.caskeleton.bootstrap.architecture.*'
|
|
--no-daemon
|
|
--stacktrace
|
|
- name: Publish the release evidence
|
|
if: always()
|
|
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # actions/upload-artifact@v4.6.2
|
|
with:
|
|
name: web-release-evidence
|
|
path: |
|
|
src/adapter/inbound/web/build/web-contract-parity/
|
|
src/adapter/inbound/web/build/reports/tests/
|
|
if-no-files-found: error
|