You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ci/ci_common/common.jsonnet
+28-26Lines changed: 28 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -10,39 +10,41 @@ common + common.frequencies + {
10
10
ci_resources:: (import"ci-resources.libsonnet"),
11
11
},
12
12
13
+
common_guard_excludes:: ["*.md",
14
+
"<graal>/*.md",
15
+
"<graal>/ci/**.md",
16
+
"<graal>/compiler/**.md",
17
+
"<graal>/espresso/**.md",
18
+
"<graal>/regex/**.md",
19
+
"<graal>/sdk/**.md",
20
+
"<graal>/substratevm/docs/**", # Substratevm includes substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/image/doc-files/PrintImageHeapConnectedComponents.md in the build
21
+
"<graal>/substratevm/CHANGELOG.md",
22
+
"<graal>/substratevm/README.md",
23
+
"<graal>/sulong/docs/**.md", # Sulong includes its readme in a distribution
24
+
"<graal>/sulong/CHANGELOG.md",
25
+
"<graal>/tools/**.md",
26
+
"<graal>/truffle/**.md",
27
+
"<graal>/visualizer/**.md",
28
+
"<graal>/vm/src/**.md", # vm/GRAALVM-README.md is included in a distribution
29
+
"<graal>/vm/README.md",
30
+
"<graal>/vm/benchmarks/**.md",
31
+
"<graal>/vm/docs/**",
32
+
"<graal>/wasm/**.md",
33
+
"<graal>/docs/**",
34
+
"<graal>/.devcontainer/**",
35
+
"<graal>/.github/**",
36
+
"<graal>/vm/ce-release-artifacts.json"
37
+
],
38
+
13
39
# Add a guard to `build` that prevents it from running in the gate
14
-
# for a PR that only touches *.md files, the docs, are config files for GitHub
40
+
# for a PR that only touches *.md files, the docs, and config files for GitHub
15
41
#
16
42
# To avoid skipping the deployment of some artifacts, only `gate` jobs and
17
43
# post-merges that do not have the `deploy` target are considered.
18
44
add_excludes_guard(build):: (
19
45
if (std.length(std.find('gate', build.targets)) > 0 || std.length(std.find('deploy', build.targets)) == 0) then {
20
46
guard: {
21
-
excludes: ["*.md",
22
-
"<graal>/*.md",
23
-
"<graal>/ci/**.md",
24
-
"<graal>/compiler/**.md",
25
-
"<graal>/espresso/**.md",
26
-
"<graal>/regex/**.md",
27
-
"<graal>/sdk/**.md",
28
-
"<graal>/substratevm/docs/**", # Substratevm includes substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/image/doc-files/PrintImageHeapConnectedComponents.md in the build
29
-
"<graal>/substratevm/CHANGELOG.md",
30
-
"<graal>/substratevm/README.md",
31
-
"<graal>/sulong/docs/**.md", # Sulong includes its readme in a distribution
32
-
"<graal>/sulong/CHANGELOG.md",
33
-
"<graal>/tools/**.md",
34
-
"<graal>/truffle/**.md",
35
-
"<graal>/visualizer/**.md",
36
-
"<graal>/vm/src/**.md", # vm/GRAALVM-README.md is included in a distribution
0 commit comments