You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by rh...@apache.org on 2019/05/06 17:20:55 UTC

[geode] branch develop updated: add retry macro to all create-instance locations

This is an automated email from the ASF dual-hosted git repository.

rhoughton pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new f1df27b  add retry macro to all create-instance locations
f1df27b is described below

commit f1df27bc45dcff604eae25d8827b1d7d2eb5838a
Author: Robert Houghton <rh...@pivotal.io>
AuthorDate: Mon May 6 10:15:07 2019 -0700

    add retry macro to all create-instance locations
---
 ci/pipelines/examples/jinja.template.yml     |  6 ++++++
 ci/pipelines/geode-build/jinja.template.yml  | 10 ++++++++++
 ci/pipelines/pull-request/jinja.template.yml |  5 +++++
 3 files changed, 21 insertions(+)

diff --git a/ci/pipelines/examples/jinja.template.yml b/ci/pipelines/examples/jinja.template.yml
index 3e70e61..dabbdff 100644
--- a/ci/pipelines/examples/jinja.template.yml
+++ b/ci/pipelines/examples/jinja.template.yml
@@ -17,6 +17,7 @@
 
 {% from 'shared_jinja.yml' import alpine_tools_config with context %}
 {% from 'shared_jinja.yml' import github_access with context %}
+{% from 'shared_jinja.yml' import init_retry with context %}
 
 {% macro common_instance_params(test) -%}
 GCP_PROJECT: ((gcp-project))
@@ -84,6 +85,7 @@ jobs:
       trigger: true
     - do:
       - put: concourse-metadata-resource
+      {{ init_retry()|indent(6) }}
       - task: create_instance
         {{ alpine_tools_config()|indent(8) }}
           params:
@@ -95,8 +97,12 @@ jobs:
           inputs:
           - name: concourse-metadata-resource
           - name: geode-ci
+          - name: attempts-log
+            path: old
           outputs:
           - name: instance-data
+          - name: attempts-log
+            path: new
         timeout: 15m
         attempts: 10
       - task: rsync_code_up
diff --git a/ci/pipelines/geode-build/jinja.template.yml b/ci/pipelines/geode-build/jinja.template.yml
index c5f16b5..40d4bee 100644
--- a/ci/pipelines/geode-build/jinja.template.yml
+++ b/ci/pipelines/geode-build/jinja.template.yml
@@ -421,6 +421,7 @@ jobs:
       {{ all_gating_jobs() | indent(6) }}
     - do:
       - put: concourse-metadata-resource
+      {{ init_retry()|indent(6) }}
       - task: create_instance
         {{- alpine_tools_config()|indent(8) }}
           params:
@@ -433,8 +434,12 @@ jobs:
           inputs:
           - name: concourse-metadata-resource
           - name: geode-ci
+          - name: attempts-log
+            path: old
           outputs:
           - name: instance-data
+          - name: attempts-log
+            path: new
         timeout: 15m
         attempts: 10
   - task: rsync_code_up
@@ -490,6 +495,7 @@ jobs:
       - put: concourse-metadata-resource
     - aggregate:
       - do:
+        {{ init_retry()|indent(8) }}
         - task: create_instance-{{java_test_version.name}}
           {{- alpine_tools_config()|indent(10) }}
             params:
@@ -503,9 +509,13 @@ jobs:
             inputs:
             - name: concourse-metadata-resource
             - name: geode-ci
+            - name: attempts-log
+              path: old
             outputs:
             - name: instance-data-{{java_test_version.name}}
               path: instance-data
+            - name: attempts-log
+              path: new
           timeout: 15m
           attempts: 10
         - task: rsync_code_up-{{java_test_version.name}}
diff --git a/ci/pipelines/pull-request/jinja.template.yml b/ci/pipelines/pull-request/jinja.template.yml
index 1d2e50e..d7d9d4a 100644
--- a/ci/pipelines/pull-request/jinja.template.yml
+++ b/ci/pipelines/pull-request/jinja.template.yml
@@ -229,6 +229,7 @@ jobs:
           get_params: {skip_download: true}
       - do:
         - put: concourse-metadata-resource
+        {{ init_retry()|indent(8) }}
         - task: create_instance-{{java_test_version.name}}
           {{- alpine_tools_config()|indent(10) }}
             params:
@@ -245,8 +246,12 @@ jobs:
             - name: concourse-metadata-resource
             - name: geode
             - name: geode-ci
+            - name: attempts-log
+              path: old
             outputs:
             - name: instance-data
+            - name: attempts-log
+              path: new
           timeout: 15m
           attempts: 100
     - task: rsync_code_up-{{java_test_version.name}}