You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ab...@apache.org on 2018/01/11 01:07:21 UTC
[geode] branch develop updated: [GEODE-4274] Add TestExamples job.
(#1267)
This is an automated email from the ASF dual-hosted git repository.
abaker 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 fbad978 [GEODE-4274] Add TestExamples job. (#1267)
fbad978 is described below
commit fbad978cf91a55e1b31f1d7c0a33a2f60bbb0a43
Author: Sean Goller <se...@goller.net>
AuthorDate: Wed Jan 10 17:07:18 2018 -0800
[GEODE-4274] Add TestExamples job. (#1267)
[GEODE-4274] Add TestExamples job.
TestExamples checks out the geode-examples repo and runs tests against it.
---
ci/pipelines/develop.yml | 35 +++++++++++++++++++++++++++++++++++
ci/scripts/build-examples.sh | 26 ++++++++++++++++++++++++++
2 files changed, 61 insertions(+)
diff --git a/ci/pipelines/develop.yml b/ci/pipelines/develop.yml
index 8a876da..9b0211e 100644
--- a/ci/pipelines/develop.yml
+++ b/ci/pipelines/develop.yml
@@ -54,6 +54,12 @@ resources:
branch: develop
paths:
- ci/*
+- name: geode-examples
+ type: git
+ source:
+ uri: https://github.com/apache/geode-examples.git
+ branch: develop
+ depth: 10
- name: geode-build-version
type: semver
source:
@@ -377,6 +383,35 @@ jobs:
- flakytestfiles
path: geode-ci/ci/scripts/test-archive.sh
+- name: TestExamples
+ serial: true
+ public: true
+ plan:
+ - aggregate:
+ - get: geode-ci
+ - get: geode-examples
+ trigger: true
+ - get: docker-test-image
+ params:
+ rootfs: true
+ - task: testexamples
+ privileged: true
+ timeout: 7h
+ config:
+ inputs:
+ - name: geode-ci
+ - name: geode-examples
+ - name: docker-test-image
+ platform: linux
+ image_resource: *docker-geode-build-image
+ params:
+ MAINTENANCE_VERSION: ((!maintenance-version))
+ SERVICE_ACCOUNT: ((!concourse-gcp-account))
+ PUBLIC_BUCKET: ((!public-bucket))
+ run:
+ args:
+ path: geode-ci/ci/scripts/build-examples.sh
+
- name: UpdatePassingRef
serial: true
public: true
diff --git a/ci/scripts/build-examples.sh b/ci/scripts/build-examples.sh
new file mode 100755
index 0000000..ae984fc
--- /dev/null
+++ b/ci/scripts/build-examples.sh
@@ -0,0 +1,26 @@
+#!/usr/local/bin/tini-wrapper /bin/bash
+
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+
+set -e -x
+export TERM=${TERM:-dumb}
+pushd geode-examples
+ ./gradlew --no-daemon clean runAll
+popd
+
--
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <co...@geode.apache.org>'].