This is an automated email from the ASF dual-hosted git repository.
laiyingchun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git
The following commit(s) were added to refs/heads/master by this push:
new 742ad7d95 chore(CI): Fix some workflow failures (#1046)
742ad7d95 is described below
commit 742ad7d955b3906c1ee6893899b8017923f8686b
Author: Yingchun Lai <[email protected]>
AuthorDate: Tue Jul 12 11:08:51 2022 +0800
chore(CI): Fix some workflow failures (#1046)
---
.github/workflows/lint_and_test_cpp.yaml | 12 +++--
.github/workflows/pegasus-regular-build.yml | 2 +-
.github/workflows/rdsn_cron_compile_jobs.yaml | 71 ---------------------------
rdsn/README.md | 2 -
4 files changed, 8 insertions(+), 79 deletions(-)
diff --git a/.github/workflows/lint_and_test_cpp.yaml
b/.github/workflows/lint_and_test_cpp.yaml
index 20f0e3ef7..88846eb63 100644
--- a/.github/workflows/lint_and_test_cpp.yaml
+++ b/.github/workflows/lint_and_test_cpp.yaml
@@ -237,22 +237,24 @@ jobs:
id: changes
with:
filters: |
+ rdsn:
+ - 'rdsn/**'
pegasus:
- 'src/**'
- name: Unpack prebuilt third-parties
- if: steps.changes.outputs.pegasus == 'true'
+ if: steps.changes.outputs.rdsn == 'true' ||
steps.changes.outputs.pegasus == 'true'
run: unzip /root/thirdparties-bin.zip -d ./rdsn/thirdparty
- name: Compilation
- if: steps.changes.outputs.pegasus == 'true'
+ if: steps.changes.outputs.rdsn == 'true' ||
steps.changes.outputs.pegasus == 'true'
run: ./run.sh build -c -j $(($(nproc)/2+1))
- name: Packaging Server
- if: steps.changes.outputs.pegasus == 'true'
+ if: steps.changes.outputs.rdsn == 'true' ||
steps.changes.outputs.pegasus == 'true'
run: ./run.sh pack_server
- name: Packaging Tools
- if: steps.changes.outputs.pegasus == 'true'
+ if: steps.changes.outputs.rdsn == 'true' ||
steps.changes.outputs.pegasus == 'true'
run: ./run.sh pack_tools
- name: Unit Testing
- if: steps.changes.outputs.pegasus == 'true'
+ if: steps.changes.outputs.rdsn == 'true' ||
steps.changes.outputs.pegasus == 'true'
run: |
source ./scripts/config_hdfs.sh
./run.sh test --on_travis
diff --git a/.github/workflows/pegasus-regular-build.yml
b/.github/workflows/pegasus-regular-build.yml
index f0eb192e4..594464420 100644
--- a/.github/workflows/pegasus-regular-build.yml
+++ b/.github/workflows/pegasus-regular-build.yml
@@ -59,7 +59,7 @@ jobs:
- name: Clone Apache Pegasus Source
working-directory: /root
run: |
- git clone --recursive --depth=1
https://github.com/apache/incubator-pegasus.git
+ git clone --depth=1 https://github.com/apache/incubator-pegasus.git
cd incubator-pegasus
- name: Unpack prebuilt third-parties
run: unzip /root/thirdparties-bin.zip -d ./rdsn/thirdparty
diff --git a/.github/workflows/rdsn_cron_compile_jobs.yaml
b/.github/workflows/rdsn_cron_compile_jobs.yaml
deleted file mode 100644
index 9f713577d..000000000
--- a/.github/workflows/rdsn_cron_compile_jobs.yaml
+++ /dev/null
@@ -1,71 +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.
----
-name: rdsn compilation
-
-on:
- push:
- # when new tag created
- tags:
- - v*
- # when this file is updated
- paths:
- - '.github/workflows/rdsn_cron_compile_jobs.yaml'
-
- # for manually triggering workflow
- workflow_dispatch:
-
- # run for every day 2am UTC+8(Beijing)
- schedule:
- - cron: '0 18 */1 * *'
-
-jobs:
- compilation:
- runs-on: ubuntu-latest
- strategy:
- fail-fast: false
- matrix:
- os:
- - ubuntu1604
- - ubuntu1804
- - ubuntu2004
- #- centos6 is EOL
- - centos7
- compiler-family:
- - gcc
- include:
- - compiler-family: clang
- compiler: "clang-10,clang++-10"
- os: ubuntu2004
- - compiler-family: clang
- compiler: "clang-9,clang++-9"
- os: ubuntu1804
- container:
- image: apache/pegasus:thirdparties-bin-${{ matrix.os }}
- steps:
- - uses: actions/checkout@v2
- - name: Unpack prebuilt third-parties
- working-directory: rdsn
- run: unzip /root/thirdparties-bin.zip -d ./thirdparty
- - name: Compilation on GCC
- if: ${{ matrix.compiler-family == 'gcc' }}
- run: ./run.sh build -c --skip_thirdparty
- - name: Compilation on Clang
- if: ${{ matrix.compiler-family == 'clang' }}
- env:
- COMPILER: ${{ matrix.compiler }}
- run: ./run.sh build --compiler $COMPILER --skip_thirdparty
diff --git a/rdsn/README.md b/rdsn/README.md
index 1e8b9cad6..a55c6a86e 100644
--- a/rdsn/README.md
+++ b/rdsn/README.md
@@ -24,8 +24,6 @@
~ THE SOFTWARE.
-->
-[](https://github.com/apache/incubator-pegasus/actions/workflows/test_rdsn.yaml)
-
All pull requests please now go to https://github.com/imzhenyu/rdsn for
automatic integration with latest version. We will periodically update this
repo. Thank you.
### Top Links
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]