Skip to content

Commit 7246592

Browse files
committed
Cache gradle dist to avoid transient ci failures
1 parent 044e3a8 commit 7246592

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.gitlab/generate-appsec.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
KUBERNETES_MEMORY_REQUEST: 24Gi
102102
KUBERNETES_MEMORY_LIMIT: 30Gi
103103
ARCH: amd64
104+
GRADLE_USER_HOME: "$CI_PROJECT_DIR/.gradle-home"
104105
parallel:
105106
matrix:
106107
- targets:
@@ -157,6 +158,7 @@
157158
- key: "appsec int test cache"
158159
paths:
159160
- appsec/tests/integration/build/*.tar.gz
161+
- .gradle-home/wrapper/dists/
160162

161163
"appsec code coverage":
162164
stage: test

0 commit comments

Comments
 (0)