This is an automated email from the ASF dual-hosted git repository.
sai_boorlagadda pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-examples.git
The following commit(s) were added to refs/heads/develop by this push:
new 56b3a1f GEODE-10435: Migrate to GH Actions (#116)
56b3a1f is described below
commit 56b3a1f09c53aeef8988b34b1c9d4355e656e1a7
Author: Sai Boorlagadda <[email protected]>
AuthorDate: Thu Jan 19 19:42:22 2023 -0800
GEODE-10435: Migrate to GH Actions (#116)
* remove .travis.yml
* added GH workflow
* using 1.15.0 as a version for Geode on develop
---
gradle.properties => .github/workflows/gradle.yml | 37 ++++++++++++++-----
.travis.yml | 43 -----------------------
gradle.properties | 7 ++--
3 files changed, 34 insertions(+), 53 deletions(-)
diff --git a/gradle.properties b/.github/workflows/gradle.yml
similarity index 56%
copy from gradle.properties
copy to .github/workflows/gradle.yml
index de0f807..ad5ad3f 100644
--- a/gradle.properties
+++ b/.github/workflows/gradle.yml
@@ -14,13 +14,34 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-version = 1.16.0-build.0
-geodeVersion = 1.16.+
-# release properties, set these on the command line to validate against
-# a release candidate
-geodeRepositoryUrl =
-geodeReleaseUrl =
+name: develop
-# dependency versions not found in geode-all-bom
-micrometerVersion = 1.2.1
+on:
+ push:
+ branches: [ "develop" ]
+ pull_request:
+ branches: [ "develop" ]
+
+permissions:
+ contents: read
+
+jobs:
+ runAll:
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [ubuntu-latest]
+ distribution: ['liberica']
+ runs-on: ${{ matrix.os }}
+ steps:
+ - uses: actions/checkout@v3
+ - name: Set up JDK
+ uses: actions/setup-java@v3
+ with:
+ distribution: ${{ matrix.distribution }}
+ java-version: '8'
+ - name: Run All
+ uses: gradle/gradle-build-action@v2
+ with:
+ arguments: runAll --console=plain --no-daemon
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index dc3ceaa..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,43 +0,0 @@
-# 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.
-
-language: java
-
-jdk:
- - openjdk8
-
-script: ./gradlew runAll
-
-before_cache:
- - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
-
-cache:
- directories:
- - $HOME/.gradle/caches/
- - $HOME/.gradle/wrapper/
-
-after_failure:
- - cat
/home/travis/build/apache/geode-examples/build/reports/rat/rat-report.txt
-
-notifications:
- email:
- recipients:
- - [email protected]
- on_success: change
- on_failure: change
-
-branches:
- except:
- - /^feature.*$/
diff --git a/gradle.properties b/gradle.properties
index de0f807..cd2994f 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -14,8 +14,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-version = 1.16.0-build.0
-geodeVersion = 1.16.+
+
+# Develop to use latest 1.15.1 artifacts until CI is rebuilt
+# GEODE-10436
+version = 1.15.1-build.0
+geodeVersion = 1.15.+
# release properties, set these on the command line to validate against
# a release candidate