File tree Expand file tree Collapse file tree 5 files changed +24
-17
lines changed Expand file tree Collapse file tree 5 files changed +24
-17
lines changed Original file line number Diff line number Diff line change 11
11
12
12
jobs :
13
13
alertmanager-test :
14
- runs-on : amd64-tke- moc
14
+ runs-on : amd64-moc-guangzhou-medium8
15
15
name : Alert Rules Check And Unit Test
16
16
steps :
17
17
- uses : actions/checkout@v3
Original file line number Diff line number Diff line change 13
13
release_check :
14
14
permissions :
15
15
contents : write # for helm/chart-releaser-action to push chart release and create a release
16
- runs-on : amd64-tke- moc
16
+ runs-on : amd64-moc-guangzhou-medium8
17
17
18
18
steps :
19
19
- name : Checkout
Original file line number Diff line number Diff line change 6
6
types : [ opened, synchronize, reopened ]
7
7
branches : [ main,'[0-9]+.[0-9]+.[0-9]+' ]
8
8
paths :
9
- - ' **'
10
- - ' !charts/**'
11
- - ' !docs/**'
12
- - ' !etc/**'
13
- - ' !example/**'
14
- - ' !test/**'
15
- - ' !.dockerignore'
16
- - ' !.gitignore'
17
- - ' !.gitmodules'
18
- - ' !README.md'
9
+ - ' pkg/**'
10
+ - ' cmd/**'
11
+ - ' lib/**'
12
+ - ' test/**'
13
+ - ' optools/**'
14
+ - ' .github/observability/**'
15
+ # 调整触发逻辑, 减少本任务触发
16
+ # - '**'
17
+ # - '!charts/**'
18
+ # - '!docs/**'
19
+ # - '!etc/**'
20
+ # - '!example/**'
21
+ # - '!test/**'
22
+ # - '!.dockerignore'
23
+ # - '!.gitignore'
24
+ # - '!.gitmodules'
25
+ # - '!README.md'
19
26
# should test obervability when change package
20
27
# - '!.github/**' ## 这个去不掉
21
28
# - '!./go.mod'
@@ -28,7 +35,7 @@ concurrency:
28
35
29
36
jobs :
30
37
ut :
31
- runs-on : amd64-tke- moc
38
+ runs-on : amd64-moc-guangzhou-medium8
32
39
name : UT Test for MO-Agent and MO-Ruler
33
40
steps :
34
41
- uses : actions/checkout@v3
48
55
echo "apisecret=${{ secrets.S3APISECRET }}" >> $GITHUB_ENV
49
56
echo "bucket=${{ secrets.S3BUCKET }}" >> $GITHUB_ENV
50
57
51
- - names : Set netrc
58
+ - name : Set netrc
52
59
# 为解决私有仓库拉取问题
53
60
uses : extractions/netrc@v1
54
61
with :
@@ -162,7 +169,7 @@ jobs:
162
169
run : docker-compose -f "./.github/observability/docker-compose.yaml" down
163
170
164
171
sca :
165
- runs-on : amd64-tke- moc
172
+ runs-on : amd64-moc-guangzhou-medium8
166
173
name : SCA Test on Ubuntu/x64
167
174
168
175
steps :
Original file line number Diff line number Diff line change 19
19
20
20
jobs :
21
21
docker :
22
- runs-on : amd64-tke- moc
22
+ runs-on : amd64-moc-guangzhou-medium8
23
23
steps :
24
24
25
25
- uses : actions/checkout@v3
Original file line number Diff line number Diff line change 7
7
permissions :
8
8
contents : read
9
9
pull-requests : write
10
- runs-on : amd64-tke- moc
10
+ runs-on : amd64-moc-guangzhou-medium8
11
11
steps :
12
12
- name : Add Label by files changed
13
13
# more details in https://github.com/actions/labeler
You can’t perform that action at this time.
0 commit comments