You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by wu...@apache.org on 2023/02/27 17:20:05 UTC

[ambari-metrics] branch master updated: AMBARI-25867: Introduce CI build for Ambari Metrics (#106)

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

wuzhiguo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ambari-metrics.git


The following commit(s) were added to refs/heads/master by this push:
     new 3fb8d94  AMBARI-25867: Introduce CI build for Ambari Metrics (#106)
3fb8d94 is described below

commit 3fb8d94b56b464bf57815ad2fa6f0cf86feeb05c
Author: Kengo Seki <se...@apache.org>
AuthorDate: Tue Feb 28 02:19:58 2023 +0900

    AMBARI-25867: Introduce CI build for Ambari Metrics (#106)
---
 .github/workflows/ambari.yml | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/.github/workflows/ambari.yml b/.github/workflows/ambari.yml
new file mode 100644
index 0000000..f5815b4
--- /dev/null
+++ b/.github/workflows/ambari.yml
@@ -0,0 +1,39 @@
+# 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: Ambari Metrics CI
+
+on:
+  pull_request:
+    branches:
+      - master
+
+jobs:
+  build:
+
+    runs-on: ubuntu-20.04
+
+    steps:
+    - uses: actions/checkout@v3
+    - name: Set up JDK 8
+      uses: actions/setup-java@v3
+      with:
+        java-version: 8
+        distribution: temurin
+        cache: maven
+    - name: Set up Python 2
+      run: sudo apt-get update && sudo apt-get install -y python2-dev python-is-python2
+    - name: Build with Maven
+      run: mvn -B clean package


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ambari.apache.org
For additional commands, e-mail: commits-help@ambari.apache.org