Skip to content

Commit 327f2a2

Browse files
committed
chore(repo): use temp dir
1 parent 7123b0c commit 327f2a2

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.nx/workflows/agents.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ launch-templates:
88
resource-class: 'docker_linux_amd64/extra_large'
99
image: 'ubuntu22.04-node20.19-v3'
1010
init-steps:
11+
- name: Make tmp directory in agent workflow dir
12+
script: mkdir /home/workflows/tmp
13+
1114
- name: java version
1215
script: java -version
1316

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ subprojects {
2424
spring.mavenRepositories()
2525
}
2626

27+
tasks.withType(Test).configureEach {
28+
if (it.name == 'dockerTest') {
29+
environment("_JAVA_OPTIONS", "-Djava.io.tmpdir=/home/workflows/tmp")
30+
}
31+
}
32+
2733
configurations.all {
2834
resolutionStrategy.cacheChangingModulesFor 0, "minutes"
2935
}

0 commit comments

Comments
 (0)