Skip to content

Commit bc28eb2

Browse files
GEODE-8561: Add support to PR pipeline for running additional Windows PR checks if the 'windows' label is added to the PR (apache#5572)
1 parent 14524c7 commit bc28eb2

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

ci/pipelines/pull-request/jinja.template.yml

+14-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ groups:
2222
- name: main
2323
jobs:
2424
- {{ build_test.name }}
25-
{%- for test in tests if test.PLATFORM=="linux" %}
25+
{%- for test in tests %}
2626
{%- for java_test_version in (java_test_versions) if not java_test_version.name.endswith("JDK8") or test.name == "Unit" %}
2727
- {{test.name}}Test{{java_test_version.name}}
2828
{%- endfor %}
@@ -35,6 +35,14 @@ resources:
3535
repository: {{repository.fork}}/geode
3636
disable_ci_skip: false
3737
skip_ssl_verification: false
38+
- name: geode-windows
39+
type: pull-request
40+
source:
41+
access_token: ((github-apachegeode-ci-read-only-token))
42+
repository: {{repository.fork}}/geode
43+
disable_ci_skip: false
44+
skip_ssl_verification: false
45+
labels: [windows]
3846
- name: geode-status
3947
type: pull-request
4048
source:
@@ -250,15 +258,19 @@ jobs:
250258
get_params: {skip_download: true}
251259

252260

253-
{% for test in tests if test.PLATFORM=="linux"%}
261+
{% for test in tests %}
254262
{%- for java_test_version in (java_test_versions) if not java_test_version.name.endswith("JDK8") or test.name == "Unit" %}
255263
- name: {{test.name}}Test{{java_test_version.name}}
256264
public: true
257265
plan:
258266
- do:
259267
- aggregate:
260268
- get: alpine-tools-image
269+
{%- if test.PLATFORM=="linux" %}
261270
- get: geode
271+
{%- else %}
272+
- get: geode-windows
273+
{%- endif %}
262274
trigger: true
263275
version: every
264276
attempts: 2

0 commit comments

Comments
 (0)