refactor: 리펙토링 진행중 의존성 gradle은 얇게 유지, 각 모듈에서 처리하고 있는 부분에 대해서 리펙토링
This commit is contained in:
@@ -129,10 +129,40 @@ jobs:
|
||||
run: ./gradlew -p optional-platforms ci --stacktrace
|
||||
|
||||
configuration-cache:
|
||||
# Two questions, and they are not the same question.
|
||||
#
|
||||
# The first is whether every task in the repository-wide gates can be *stored*. That is a
|
||||
# property of the task graph, so `--dry-run` answers it for the whole of `ci`,
|
||||
# `integrationCheck` and `releaseCheck` in seconds, and it is the question this job used to
|
||||
# duck: it checked two leaves, because four tasks elsewhere held a live `Configuration` in
|
||||
# their state and could not be serialised at all. They hold resolved root components now, so
|
||||
# the honest scope is all three gates rather than two leaves.
|
||||
#
|
||||
# The second is whether a stored entry is actually *reused* and the build still executes its
|
||||
# work. `--dry-run` cannot answer that, so the executing check stays — on the two core leaves,
|
||||
# because doubling a full `ci` run to prove reuse would cost more than the guarantee is worth.
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
|
||||
- uses: ./.github/actions/setup-gradle-java
|
||||
- name: Require every repository-wide gate to be storable
|
||||
working-directory: src
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
for gate in ci integrationCheck releaseCheck; do
|
||||
echo "::group::${gate}"
|
||||
./gradlew "${gate}" --dry-run \
|
||||
--configuration-cache --configuration-cache-problems=fail --stacktrace
|
||||
output="$({ ./gradlew "${gate}" --dry-run \
|
||||
--configuration-cache --configuration-cache-problems=fail --stacktrace; } 2>&1)"
|
||||
printf '%s\n' "${output}"
|
||||
echo '::endgroup::'
|
||||
grep -Fq 'Reusing configuration cache.' <<<"${output}" || {
|
||||
echo "::error::Gradle did not reuse the configuration cache for ${gate}."
|
||||
exit 1
|
||||
}
|
||||
done
|
||||
- name: Store configuration cache for the everyday core build
|
||||
working-directory: src
|
||||
run: >-
|
||||
|
||||
@@ -290,8 +290,39 @@ jobs:
|
||||
working-directory: src
|
||||
run: ./gradlew :adapter:outbound:persistence-jpa:postgresqlLegacyOutboxRowLifecycleIntegrationTest --stacktrace
|
||||
|
||||
# Dynamic half of the compose-profile contract. All 15 blocking lanes run on main/nightly; a
|
||||
# partial lane run is reproduction only and cannot satisfy this job.
|
||||
# The optional gRPC platform build declares one strict INTEGRATION lane —
|
||||
# `grpc-operation-ledger-jpa:integrationTest`, which certifies the atomic
|
||||
# `INSERT ... ON CONFLICT DO NOTHING` claim that durable mutation idempotency rests on against a
|
||||
# real PostgreSQL. It was registered in Gradle, listed in `strictTestLanes`, and invoked by
|
||||
# nothing: `-p optional-platforms ci` reaches `checkAll`, `qualityCheck` and the dependency
|
||||
# verifier, none of which runs a lane whose category is INTEGRATION, and release.yml's gRPC gate
|
||||
# names only the three grpc-testkit lanes.
|
||||
#
|
||||
# Stage 2 rather than stage 1 for the same reason as every other job in this file: the lane starts
|
||||
# a Testcontainers PostgreSQL, and the pull-request budget is minutes for the whole gate.
|
||||
grpc-optional-platform-integration:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 45
|
||||
env:
|
||||
TESTCONTAINERS_REUSE_ENABLE: "false"
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
|
||||
- uses: ./.github/actions/setup-gradle-java
|
||||
- name: Certify the gRPC operation ledger against real PostgreSQL
|
||||
working-directory: src
|
||||
run: ./gradlew -p optional-platforms integrationCheck --stacktrace
|
||||
- name: Publish the optional-platform lane reports
|
||||
if: always()
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # actions/upload-artifact@v4.6.2
|
||||
with:
|
||||
name: grpc-optional-platform-integration-reports
|
||||
path: src/optional-platforms/**/build/reports/tests/
|
||||
if-no-files-found: warn
|
||||
|
||||
# Dynamic half of the compose-profile contract. Every blocking lane the matrix declares runs on
|
||||
# main and nightly; a partial lane run is reproduction only and cannot satisfy this job. The count
|
||||
# is not written here on purpose — a number in prose drifts the moment a lane is added, and the
|
||||
# matrix file is the thing this job reads.
|
||||
compose-runtime-smoke:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 180
|
||||
|
||||
Reference in New Issue
Block a user