Skip to content

Commit 245393d

Browse files
committed
setup docker (+1 squashed commit)
Squashed commits: [a2af7f4] add nx with dte test
1 parent de94c7a commit 245393d

File tree

27 files changed

+248
-424
lines changed

27 files changed

+248
-424
lines changed

.env

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
NX_BATCH_MODE=true
2-
NX_VERBOSE_LOGGING=true
32
NX_CLOUD_VERBOSE_LOGGING=true
43
NX_TUI=false
54
CI=true

.github/actions/build/action.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,14 @@ runs:
6868
COMMERCIAL_REPO_PASSWORD: ${{ inputs.commercial-repository-password }}
6969
COMMERCIAL_REPO_USERNAME: ${{ inputs.commercial-repository-username }}
7070
COMMERCIAL_SNAPSHOT_REPO_URL: ${{ inputs.commercial-snapshot-repository-url }}
71-
run: NX_BATCH_MODE=true NX_CLOUD_DEREFERENCE_SYMLINKS=true NX_VERBOSE_LOGGING=true NX_PERF_LOGGING=true NX_CLOUD_NO_TIMEOUTS=true NX_CLOUD_VERBOSE_LOGGING=true npx nx run-many -t build-ci --parallel=32 --batch --outputStyle=stream
71+
run: |
72+
export NX_BATCH_MODE=true
73+
export NX_CLOUD_DEREFERENCE_SYMLINKS=true
74+
export NX_PERF_LOGGING=true
75+
export NX_CLOUD_NO_TIMEOUTS=true
76+
export NX_CLOUD_VERBOSE_LOGGING=true
77+
npx nx show projects
78+
npx nx run-many -t build-ci --parallel=32 --batch --outputStyle=stream
7279
# - name: Publish
7380
# id: publish
7481
# if: ${{ inputs.publish == 'true' }}

.github/actions/prepare-gradle-build/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ runs:
4040
java-version: |
4141
${{ inputs.java-early-access == 'true' && format('{0}-ea', inputs.java-version) || inputs.java-version }}
4242
${{ inputs.java-toolchain == 'true' && '24' || '' }}
43+
- name: Validate Gradle Wrapper
44+
uses: gradle/actions/wrapper-validation@8379f6a1328ee0e06e2bb424dadb7b159856a326 # v4.4.0
4345
- name: Set Up Gradle With Read/Write Cache
4446
if: ${{ inputs.cache-read-only == 'false' }}
4547
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1

.github/actions/publish-gradle-plugin/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
*/
1616

1717
plugins {
18+
id "dev.nx.gradle.project-graph" version "0.0.1-alpha.7"
1819
id "com.gradle.plugin-publish" version "1.2.1"
1920
}
2021

@@ -28,3 +29,9 @@ tasks.register("publishExisting", com.gradle.publish.PublishExistingTask) {
2829
website = "https://spring.io/projects/spring-boot"
2930
vcsUrl = "https://github.com/spring-projects/spring-boot"
3031
}
32+
33+
allprojects {
34+
apply {
35+
plugin("dev.nx.gradle.project-graph")
36+
}
37+
}

.github/workflows/build-pull-request.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
# Learn more at https://nx.dev/ci/reference/nx-cloud-cli#npx-nxcloud-startcirun
2323
# Uncomment this line to enable task distribution
2424
- run: NX_CLOUD_FORCE_USE_EXECUTE_TASKS_V3=false NX_CLOUD_DEREFERENCE_SYMLINKS=true NX_CLOUD_RETRIEVAL_CONCURRENCY=50 NX_CLOUD_NO_TIMEOUTS=true NX_VERBOSE_LOGGING=true NX_CLOUD_VERBOSE_LOGGING=true NX_PERF_LOGGING=true npx nx-cloud start-ci-run --require-explicit-completion --distribute-on="../../.nx/workflows/distribution-config.yaml"
25-
25+
- name: nxProjectGraph
26+
run: ./gradlew --stop && ./gradlew clean && ./gradlew nxProjectGraph --rerun-tasks --no-configuration-cache --no-build-cache -PciTestTargetName=test-ci --warning-mode all --debug
2627
- name: Build
2728
id: build
2829
uses: ./.github/actions/build

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ permissions:
88
jobs:
99
ci:
1010
name: '${{ matrix.os.name}} | Java ${{ matrix.java.version}}'
11-
if: ${{ github.repository == 'spring-projects/spring-boot' || github.repository == 'spring-projects/spring-boot-commercial' }}
1211
runs-on: ${{ matrix.os.id }}
1312
strategy:
1413
fail-fast: false

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,4 @@ node_modules
4949

5050
.specstory/**
5151
.cursorindexingignore
52+
.claude

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
plugins {
18-
id "dev.nx.gradle.project-graph" version "0.1.2"
18+
id "dev.nx.gradle.project-graph" version "0.0.1-alpha.7"
1919
id "base"
2020
id "org.jetbrains.kotlin.jvm" apply false // https://youtrack.jetbrains.com/issue/KT-30276
2121
}

buildSrc/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
*/
1616

1717
plugins {
18+
id "dev.nx.gradle.project-graph" version "0.0.1-alpha.7"
1819
id "java-gradle-plugin"
1920
id "io.spring.javaformat" version "${javaFormatVersion}"
2021
id "checkstyle"
@@ -169,3 +170,9 @@ eclipse {
169170
}
170171

171172
jar.dependsOn check
173+
174+
allprojects {
175+
apply {
176+
plugin("dev.nx.gradle.project-graph")
177+
}
178+
}

gradle/plugins/build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
plugins {
2+
id "dev.nx.gradle.project-graph" version "0.0.1-alpha.7"
3+
}
4+
5+
allprojects {
6+
apply {
7+
plugin("dev.nx.gradle.project-graph")
8+
}
9+
}

0 commit comments

Comments
 (0)