You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2021/04/17 23:26:32 UTC
[skywalking-kong] branch master updated: setup CI (#4)
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-kong.git
The following commit(s) were added to refs/heads/master by this push:
new f54f26d setup CI (#4)
f54f26d is described below
commit f54f26d510dcadf00ce48f1c7278efebecabd2d7
Author: Daming <zt...@foxmail.com>
AuthorDate: Sun Apr 18 07:26:26 2021 +0800
setup CI (#4)
---
.asf.yaml | 10 ++++----
.github/workflows/{e2e.yml => ci.yaml} | 20 ++++++++--------
.github/workflows/e2e.yml | 4 ++--
.github/workflows/e2e.yml => .licenserc.yaml | 35 +++++++++++-----------------
README.md | 2 +-
5 files changed, 32 insertions(+), 39 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index 54c47fb..a332eb4 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -35,8 +35,8 @@ github:
required_status_checks:
strict: true
contexts:
- - e2e
- required_pull_request_reviews:
- dismiss_stale_reviews: true
- required_approving_review_count: 1
-
+ - CI
+ - E2E
+ required_pull_request_reviews:
+ dismiss_stale_reviews: true
+ required_approving_review_count: 1
diff --git a/.github/workflows/e2e.yml b/.github/workflows/ci.yaml
similarity index 77%
copy from .github/workflows/e2e.yml
copy to .github/workflows/ci.yaml
index ab6bdda..8e72a9c 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/ci.yaml
@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-name: e2e
+name: CI AND IT
on:
pull_request:
@@ -25,15 +25,15 @@ on:
- 'v*'
jobs:
- e2e:
+ CI:
runs-on: ubuntu-18.04
- timeout-minutes: 180
- strategy:
- fail-fast: true
+ timeout-minutes: 90
steps:
- uses: actions/checkout@v2
- - name: checkout submodules
- shell: bash
- run: |
- git submodule sync --recursive
- git -c protocol.version=2 submodule update --init --force --recursive --depth=1
+ with:
+ submodules: true
+ - name: Check License Header
+ if: env.SKIP_CI != 'true'
+ uses: apache/skywalking-eyes@main
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index ab6bdda..f181ee9 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-name: e2e
+name: E2E
on:
pull_request:
@@ -25,7 +25,7 @@ on:
- 'v*'
jobs:
- e2e:
+ E2E:
runs-on: ubuntu-18.04
timeout-minutes: 180
strategy:
diff --git a/.github/workflows/e2e.yml b/.licenserc.yaml
similarity index 64%
copy from .github/workflows/e2e.yml
copy to .licenserc.yaml
index ab6bdda..0308848 100644
--- a/.github/workflows/e2e.yml
+++ b/.licenserc.yaml
@@ -14,26 +14,19 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-name: e2e
+header:
+ license:
+ spdx-id: Apache-2.0
+ copyright-owner: Apache Software Foundation
-on:
- pull_request:
- push:
- branches:
- - master
- tags:
- - 'v*'
+ paths-ignore:
+ - 'dist'
+ - 'licenses'
+ - '**/*.md'
+ - 'LICENSE'
+ - 'NOTICE'
+ - 'rockspec'
+ - '.gitignore'
+ - '.luacheckrc'
-jobs:
- e2e:
- runs-on: ubuntu-18.04
- timeout-minutes: 180
- strategy:
- fail-fast: true
- steps:
- - uses: actions/checkout@v2
- - name: checkout submodules
- shell: bash
- run: |
- git submodule sync --recursive
- git -c protocol.version=2 submodule update --init --force --recursive --depth=1
+ comment: on-failure
\ No newline at end of file
diff --git a/README.md b/README.md
index c163b9d..4b2c700 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ Apache SkyWalking Kong Agent
[![Twitter Follow](https://img.shields.io/twitter/follow/asfskywalking.svg?style=for-the-badge&label=Follow&logo=twitter)](https://twitter.com/AsfSkyWalking)
-![E2E](https://github.com/apache/skywalking-kong/workflows/e2e/badge.svg?branch=master)
+![CI](https://github.com/apache/skywalking-kong/workflows/CI/badge.svg?branch=master)
SkyWalking Kong agent built on [SkyWalking Nginx Lua agent](https://github.com/apache/skywalking-nginx-lua) to trace Kong API gateway for [Apache SkyWalking](https://github.com/apache/skywalking) APM.