-
Notifications
You must be signed in to change notification settings - Fork 277
71 lines (63 loc) · 2.34 KB
/
entrypoint.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
name: MatrixOne ALL CI
on:
pull_request_target:
types: [ opened, synchronize, reopened ]
branches: [ main,'[0-9]+.[0-9]+*' ]
concurrency:
group: ${{ github.event.pull_request.head.repo.full_name}}/${{ github.event.pull_request.head.ref }}/${{ github.workflow }}
cancel-in-progress: true
jobs:
check-pr-valid:
runs-on: ubuntu-latest
name: CHECK PR VALID
outputs:
pr_valid: ${{ steps.check_pr_valid.outputs.pull_valid }}
steps:
- uses: matrixorigin/CI/actions/pulls-content-check@main
id: check_pr_valid
with:
github_token: ${{ secrets.TOKEN_ACTION }}
title_for_find_issue: "Which issue(s) this PR fixes:"
title_for_find_content: "What this PR does / why we need it:"
matrixone-ci:
name: Matrixone CI
needs:
- check-pr-valid
if: ${{ needs.check-pr-valid.outputs.pr_valid == 'true' }}
uses: matrixorigin/CI/.github/workflows/ci.yaml@release/2.0-dev
secrets:
S3ENDPOINT: ${{ secrets.S3ENDPOINT }}
S3REGION: ${{ secrets.S3REGION }}
S3APIKEY: ${{ secrets.S3APIKEY }}
S3APISECRET: ${{ secrets.S3APISECRET }}
S3BUCKET: ${{ secrets.S3BUCKET }}
matrixone-upgrade-ci:
name: Matrixone Upgrade CI
needs:
- check-pr-valid
if: ${{ needs.check-pr-valid.outputs.pr_valid == 'true' }}
uses: matrixorigin/CI/.github/workflows/e2e-upgrade.yaml@release/2.0-dev
matrixone-compose-ci:
name: Matrixone Compose CI
needs:
- check-pr-valid
if: ${{ needs.check-pr-valid.outputs.pr_valid == 'true' }}
uses: matrixorigin/CI/.github/workflows/e2e-compose.yaml@release/2.0-dev
matrixone-standalone-ci:
name: Matrixone Standlone CI
needs:
- check-pr-valid
if: ${{ needs.check-pr-valid.outputs.pr_valid == 'true' }}
uses: matrixorigin/CI/.github/workflows/e2e-standalone.yaml@release/2.0-dev
matrixone-utils-ci:
name: Matrixone Utils CI
needs:
- check-pr-valid
if: ${{ needs.check-pr-valid.outputs.pr_valid == 'true' }}
uses: matrixorigin/CI/.github/workflows/utils.yaml@release/2.0-dev
secrets:
TOKEN_ACTION: ${{ secrets.TOKEN_ACTION }}
TEST_S3FS_ALIYUN: ${{ secrets.TEST_S3FS_ALIYUN }}
TEST_S3FS_QCLOUD: ${{ secrets.TEST_S3FS_QCLOUD }}
DOCU_GROUP_HOOK: ${{ secrets.DOCU_GROUP_HOOK }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}