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 2022/10/31 08:52:50 UTC
[skywalking] 01/01: Speed up CI by caching the build of e2e
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch e2e
in repository https://gitbox.apache.org/repos/asf/skywalking.git
commit 8268855127fb2f251f2f5696e3cf76d9a08a94b4
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Fri Oct 28 21:01:35 2022 +0800
Speed up CI by caching the build of e2e
---
.github/workflows/skywalking.yaml | 21 ++++++---------------
1 file changed, 6 insertions(+), 15 deletions(-)
diff --git a/.github/workflows/skywalking.yaml b/.github/workflows/skywalking.yaml
index 57a9f363ed..d121c7efd0 100644
--- a/.github/workflows/skywalking.yaml
+++ b/.github/workflows/skywalking.yaml
@@ -17,6 +17,9 @@
name: CI
on:
+ push:
+ branches:
+ - "e2e"
pull_request:
schedule:
- cron: "0 18 * * *" # TimeZone: UTC 0
@@ -601,15 +604,11 @@ jobs:
- name: Prepare test services
shell: bash
run: ./mvnw -B -f test/e2e-v2/java-test-service/pom.xml clean package
- - name: Setup Go
- uses: actions/setup-go@v3
- with:
- go-version: "1.16"
- name: Set env var
run: |
echo "${{ matrix.test.env }}" >> $GITHUB_ENV
- name: ${{ matrix.test.name }}
- uses: apache/skywalking-infra-e2e@81fab7dbf5bfb201166d7d8e0089f99d2dc761f3
+ uses: apache/skywalking-infra-e2e@gha
with:
e2e-file: $GITHUB_WORKSPACE/${{ matrix.test.config }}
- uses: actions/upload-artifact@v2
@@ -662,12 +661,8 @@ jobs:
path: docker-images
- name: Load docker images
run: find docker-images -name "*.tar" -exec docker load -i {} \;
- - name: Setup Go
- uses: actions/setup-go@v3
- with:
- go-version: "1.16"
- name: ${{ matrix.test.name }}
- uses: apache/skywalking-infra-e2e@81fab7dbf5bfb201166d7d8e0089f99d2dc761f3
+ uses: apache/skywalking-infra-e2e@gha
env:
ISTIO_VERSION: ${{ matrix.versions.istio }}
KUBERNETES_VERSION: ${{ matrix.versions.kubernetes }}
@@ -705,12 +700,8 @@ jobs:
- name: Prepare test services
shell: bash
run: ./mvnw -B -f test/e2e-v2/java-test-service/pom.xml clean package
- - name: Setup Go
- uses: actions/setup-go@v3
- with:
- go-version: "1.16"
- name: Java version ${{ matrix.java-version }}
- uses: apache/skywalking-infra-e2e@81fab7dbf5bfb201166d7d8e0089f99d2dc761f3
+ uses: apache/skywalking-infra-e2e@gha
env:
SW_AGENT_JDK_VERSION: ${{ matrix.java-version }}
with: