Skip to content

Commit

Permalink
GEODE-6020 make non-gating jobs run only after all gating jobs have p…
Browse files Browse the repository at this point in the history
…assed
  • Loading branch information
onichols-pivotal committed Nov 8, 2018
1 parent 379ee68 commit a649956
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ci/pipelines/geode-build/jinja.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@

---

{% macro plan_resource_gets() %}
{% macro plan_resource_gets(test) %}
- get: geode-ci
- aggregate:
- get: geode
passed:
- Build
{%- if test.name.startswith("Windows") %}
{{- all_gating_jobs() | indent(4) -}}
{%- endif %}
- get: geode-build-version
passed:
- Build
Expand Down Expand Up @@ -76,7 +79,7 @@ SERVICE_ACCOUNT: ((concourse-gcp-account))
GRADLE_GLOBAL_ARGS: ((gradle-global-args))
{%- endmacro %}

{% macro all_gating_jobs(test) %}
{% macro all_gating_jobs() %}
{%- for test in (tests) if not test.name=="StressNew" and not test.name.startswith("Windows") -%}
{%- for java_test_version in (java_test_versions) %}
- {{test.name}}Test{{java_test_version.name}}
Expand Down Expand Up @@ -412,7 +415,7 @@ jobs:
public: true
plan:
- do:
{{- plan_resource_gets() |indent(4) }}
{{- plan_resource_gets(test) |indent(4) }}
- put: concourse-metadata-resource
- aggregate:
- do:
Expand Down

0 comments on commit a649956

Please sign in to comment.