-
Notifications
You must be signed in to change notification settings - Fork 204
99 lines (93 loc) · 3.36 KB
/
e2e.ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# 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: Test
on:
pull_request:
push:
paths-ignore:
- '**.md'
branches:
- master
env:
SKIP_TEST: true
ISTIO_VERSION: 1.7.1
jobs:
als:
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
test:
- name: Run Skywalking E2E Test (Elasticsearch as database)
config: test/e2e/e2e-elasticsearch.yaml
- name: Run Skywalking E2E Test (standalone BanyanDB as database)
config: test/e2e/e2e-banyandb-standalone.yaml
- name: Run Skywalking E2E Test (BanyanDB cluster as database)
config: test/e2e/e2e-banyandb-cluster.yaml
- name: Run SWCK oap-agent-adapter-hpa Test
config: test/e2e/swck/oap-agent-adapter-hpa.yaml
- name: Run SWCK oap-agent-banyandb Test
config: test/e2e/swck/oap-agent-banyandb.yaml
- name: Run SWCK oap-ui-agent-elasticsearch Test
config: test/e2e/swck/oap-ui-agent-elasticsearch.yaml
- name: Run SWCK oap-ui-agent-oapserverconfig Test
config: test/e2e/swck/oap-ui-agent-oapserverconfig.yaml
- name: Run SWCK oap-ui-agent-satellite Test
config: test/e2e/swck/oap-ui-agent-satellite.yaml
name: ${{ matrix.test.name }}
env:
OAP_TAG: ddbed6d091c4c20dbb43294fbd03778bdbb8471a
OAP_REPO: ghcr.io/apache/skywalking/oap
UI_TAG: ddbed6d091c4c20dbb43294fbd03778bdbb8471a
UI_REPO: ghcr.io/apache/skywalking/ui
SATELLITE_TAG: v35bfaff6352b4dc351a706772796a1f79b651c14
SATELLITE_REPO: ghcr.io/apache/skywalking-satellite/skywalking-satellite
steps:
- uses: actions/checkout@v2
- name: Login to ghcr
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: ${{ matrix.test.name }}
uses: apache/skywalking-infra-e2e@cf589b4a0b9f8e6f436f78e9cfd94a1ee5494180
with:
e2e-file: $GITHUB_WORKSPACE/${{ matrix.test.config }}
- if: ${{ failure() }}
run: |
df -h
du -sh .
for dir in $(find . -type d -not -name '.*'); do
du -sh $dir
done
docker images
- uses: actions/upload-artifact@v4
if: ${{ failure() }}
name: Upload Logs
with:
name: logs
path: "${{ env.SW_INFRA_E2E_LOG_DIR }}"
build:
runs-on: ubuntu-latest
needs: [als]
steps:
- name: dummy
run: echo