geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smgol...@apache.org
Subject [geode] branch develop updated: GEODE-5916: stop instance after we are done. (#2699)
Date Tue, 23 Oct 2018 23:22:57 GMT
This is an automated email from the ASF dual-hosted git repository.

smgoller 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 991aa22  GEODE-5916: stop instance after we are done. (#2699)
991aa22 is described below

commit 991aa22cab52cbfaa88a8ab73942fe9b030951f4
Author: Sean Goller <sean@goller.net>
AuthorDate: Tue Oct 23 16:22:49 2018 -0700

    GEODE-5916: stop instance after we are done. (#2699)
    
    Co-authored-by: Sean Goller <sgoller@pivotal.io>
    Co-authored-by: Dick Cavender <dcavender@pivotal.io>
    Co-authored-by: Patrick Rhomberg <prhomberg@pivotal.io>
---
 ci/pipelines/examples/jinja.template.yml | 60 +++++++++++++++++++-------------
 1 file changed, 35 insertions(+), 25 deletions(-)

diff --git a/ci/pipelines/examples/jinja.template.yml b/ci/pipelines/examples/jinja.template.yml
index 0a296e2..a17bcfe 100644
--- a/ci/pipelines/examples/jinja.template.yml
+++ b/ci/pipelines/examples/jinja.template.yml
@@ -99,28 +99,38 @@ jobs:
           - name: instance-data
         timeout: 15m
         attempts: 10
-  - task: rsync_code_up
-    {{ alpine_tools_config()|indent(4) }}
-      run:
-        path: geode-ci/ci/scripts/rsync_code_up.sh
-      inputs:
-      - name: geode-ci
-      - name: geode-examples
-        path: geode
-      - name: instance-data
-    timeout: 5m
-  - task: build
-    {{ alpine_tools_config()|indent(4) }}
-      params:
-        JAVA_BUILD_VERSION: {{ java_build_version.version }}
-        GRADLE_TASK: {{ examples_test.GRADLE_TASK }}
-        {{ common_test_params(examples_test) | indent(8) }}
-      run:
-        path: geode-ci/ci/scripts/execute_build_examples.sh
-      inputs:
-      - name: geode-ci
-      - name: geode-examples
-        path: geode
-      - name: instance-data
-      outputs:
-      - name: results
+      - task: rsync_code_up
+        {{ alpine_tools_config()|indent(8) }}
+          run:
+            path: geode-ci/ci/scripts/rsync_code_up.sh
+          inputs:
+          - name: geode-ci
+          - name: geode-examples
+            path: geode
+          - name: instance-data
+        timeout: 5m
+      - task: build
+        {{ alpine_tools_config()|indent(8) }}
+          params:
+            JAVA_BUILD_VERSION: {{ java_build_version.version }}
+            GRADLE_TASK: {{ examples_test.GRADLE_TASK }}
+            {{ common_test_params(examples_test) | indent(8) }}
+          run:
+            path: geode-ci/ci/scripts/execute_build_examples.sh
+          inputs:
+          - name: geode-ci
+          - name: geode-examples
+            path: geode
+          - name: instance-data
+          outputs:
+          - name: results
+    ensure:
+      do:
+      - task: stop_instance
+        {{ alpine_tools_config()|indent(8) }}
+        run:
+          path: geode-ci/ci/scripts/stop_instance.sh
+        inputs:
+        - name: geode-ci
+        - name: instance-data
+        timeout: 1h


Mime
View raw message