This is an automated email from the ASF dual-hosted git repository.
sai_boorlagadda pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/geode-site.git
The following commit(s) were added to refs/heads/master by this push:
new 8bf6d65b7 GEODE-10437: Migrate to GH Action (#21)
8bf6d65b7 is described below
commit 8bf6d65b78d176792dc4c99011ce13c7cb428863
Author: Sai Boorlagadda <[email protected]>
AuthorDate: Thu Jan 19 19:28:52 2023 -0800
GEODE-10437: Migrate to GH Action (#21)
* added github workflow
* removed .travis.yml
---
.github/workflows/gradle.yml | 47 ++++++++++++++++++++++++++++++++++++++++++++
.travis.yml | 44 -----------------------------------------
2 files changed, 47 insertions(+), 44 deletions(-)
diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
new file mode 100644
index 000000000..da07b7ace
--- /dev/null
+++ b/.github/workflows/gradle.yml
@@ -0,0 +1,47 @@
+#
+# 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.
+#
+
+name: develop
+
+on:
+ push:
+ branches: [ "master" ]
+ pull_request:
+ branches: [ "master" ]
+
+permissions:
+ contents: read
+
+jobs:
+ rat:
+ 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: rat
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 3889d9591..000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,44 +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
-
-before_cache:
- - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
-
-cache:
- directories:
- - $HOME/.gradle/caches/
- - $HOME/.gradle/wrapper/
-
-script:
- - ./gradlew rat
-
-after_failure:
- - cat /home/travis/build/apache/geode-site/build/reports/rat/rat-report.txt
-
-notifications:
- email:
- recipients:
- - [email protected]
- on_success: change
- on_failure: change
-
-branches:
- except:
- - /^feature.*$/