Skip to content

Commit a5ebcea

Browse files
RDDT: Add unittest BuildKit image and disable GitHub Actions
Introduce Dockerfile.unittest.buildkit to run `make unittest` (C++ and Go) via internal CI without producing a runtime image. Disable auto-triggered GitHub Actions workflows in this fork, including Claude Code review, so they only run on workflow_dispatch. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 07aa2c4 commit a5ebcea

19 files changed

Lines changed: 121 additions & 237 deletions

.github/workflows/all-contributors.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
11
name: all-contributors
22

3+
# Disabled in this fork; CI runs via internal pipelines.
34
on:
4-
schedule:
5-
# * is a special character in YAML so you have to quote this string
6-
# ┌───────────── minute (0 - 59)
7-
# │ ┌───────────── hour (0 - 23)
8-
# │ │ ┌───────────── day of the month (1 - 31)
9-
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
10-
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
11-
# │ │ │ │ │
12-
# │ │ │ │ │
13-
# │ │ │ │ │
14-
- cron: '0 0,12 * * *'
15-
5+
workflow_dispatch:
166
jobs:
177
contributor:
188
runs-on: ubuntu-latest

.github/workflows/check-issue.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Add Comment for issue
22

3+
# Disabled in this fork; CI runs via internal pipelines.
34
on:
4-
issues:
5-
types: [opened]
6-
5+
workflow_dispatch:
76
jobs:
87
check_issue_title:
98
name: Check issue
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Claude Code Review
2+
3+
# Disabled in this fork; CI runs via internal pipelines.
4+
on:
5+
workflow_dispatch:
6+
7+
jobs:
8+
claude-review:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
pull-requests: write
13+
issues: write
14+
id-token: write
15+
16+
steps:
17+
- name: Checkout PR code
18+
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 1
21+
22+
- name: Run Claude Code Review
23+
id: claude-review
24+
uses: anthropics/claude-code-action@v1
25+
with:
26+
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
27+
github_token: ${{ secrets.GITHUB_TOKEN }}
28+
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
29+
plugins: 'code-review@claude-code-plugins'
30+
prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}'

.github/workflows/claude.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Claude Code
2+
3+
# Disabled in this fork; CI runs via internal pipelines.
4+
on:
5+
workflow_dispatch:
6+
7+
jobs:
8+
claude:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
pull-requests: write
13+
issues: write
14+
id-token: write
15+
actions: read
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 1
21+
22+
- name: Run Claude Code
23+
id: claude
24+
uses: anthropics/claude-code-action@v1
25+
with:
26+
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
27+
github_token: ${{ secrets.GITHUB_TOKEN }}
28+
additional_permissions: |
29+
actions: read

.github/workflows/code-checker.yaml

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,9 @@
11
name: Code Checker
22
# TODO: do not trigger action for some document file update
33

4-
# This workflow is triggered on pushes or pull request to the repository.
4+
# Disabled in this fork; CI runs via internal pipelines.
55
on:
6-
push:
7-
branches:
8-
- master
9-
pull_request:
10-
# file paths to consider in the event. Optional; defaults to all.
11-
paths:
12-
- 'scripts/**'
13-
- 'internal/**'
14-
- 'pkg/**'
15-
- 'client/**'
16-
- 'cmd/**'
17-
- 'build/**'
18-
- 'tests/integration/**'
19-
- 'tests/go_client/**'
20-
- '.github/workflows/code-checker.yaml'
21-
- '.env'
22-
- docker-compose.yml
23-
- Makefile
24-
- '!**.md'
25-
- '!build/ci/jenkins/**'
26-
# FIXME(wxyu): not need to run code check, update the ci-passed rules and remove these two lines
27-
- go.mod
28-
- go.sum
29-
- .golangci.yml
30-
- rules.go
31-
6+
workflow_dispatch:
327
concurrency:
338
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
349
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

.github/workflows/daily-release.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
name: Daily Release
2+
# Disabled in this fork; CI runs via internal pipelines.
23
on:
3-
schedule:
4-
# * is a special character in YAML so you have to quote this string
5-
# ┌───────────── minute (0 - 59)
6-
# │ ┌───────────── hour (0 - 23)
7-
# │ │ ┌───────────── day of the month (1 - 31)
8-
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
9-
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
10-
# │ │ │ │ │
11-
# │ │ │ │ │
12-
# │ │ │ │ │
13-
- cron: '0 18 * * *'
14-
4+
workflow_dispatch:
155
jobs:
166
nightly:
177
name: Run Daily Release

.github/workflows/jenkins-checker.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,9 @@ name: Jenkins Checker
22
# Lint Jenkinsfile and related groovy files
33

44

5+
# Disabled in this fork; CI runs via internal pipelines.
56
on:
6-
pull_request:
7-
# file paths to consider in the event. Optional; defaults to all.
8-
paths:
9-
- 'build/ci/jenkins/**.groovy'
10-
- 'ci/jenkins/**.groovy'
11-
- '.github/workflows/jenkins-checker.yaml'
7+
workflow_dispatch:
128
jobs:
139
check-jenkinsfile:
1410
name: Jenkinsfile Checker

.github/workflows/mac.yaml

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,8 @@
11
name: Mac Code Checker
22

3-
# This workflow is triggered on pushes or pull request to the repository.
3+
# Disabled in this fork; CI runs via internal pipelines.
44
on:
5-
push:
6-
branches:
7-
- master
8-
pull_request:
9-
# file paths to consider in the event. Optional; defaults to all.
10-
paths:
11-
- 'scripts/**'
12-
- 'internal/**'
13-
- 'pkg/**'
14-
- 'client/**'
15-
- 'cmd/**'
16-
- 'build/**'
17-
- 'tests/integration/**'
18-
- 'tests/go_client/**'
19-
- '.github/workflows/mac.yaml'
20-
- '.env'
21-
- docker-compose.yml
22-
- Makefile
23-
- '!**.md'
24-
- '!build/ci/jenkins/**'
25-
# FIXME(wxyu): not need to run code check, update the ci-passed rules and remove these two lines
26-
- go.mod
27-
- go.sum
28-
5+
workflow_dispatch:
296
concurrency:
307
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
318
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

.github/workflows/main.yaml

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,8 @@
11
name: Build and test
22

3-
# This workflow is triggered on pushes or pull request to the repository.
3+
# Disabled in this fork; CI runs via internal pipelines.
44
on:
5-
push:
6-
# file paths to consider in the event. Optional; defaults to all.
7-
paths:
8-
- 'scripts/**'
9-
- 'internal/**'
10-
- 'client/**'
11-
- 'pkg/**'
12-
- 'cmd/**'
13-
- 'build/**'
14-
- 'tests/integration/**' # run integration test
15-
- '.github/workflows/main.yaml'
16-
- '.env'
17-
- docker-compose.yml
18-
- Makefile
19-
- go.mod
20-
- '!**.md'
21-
- '!build/ci/jenkins/**'
22-
pull_request:
23-
# file paths to consider in the event. Optional; defaults to all.
24-
paths:
25-
- 'scripts/**'
26-
- 'internal/**'
27-
- 'pkg/**'
28-
- 'client/**'
29-
- 'cmd/**'
30-
- 'build/**'
31-
- 'tests/integration/**' # run integration test
32-
- '.github/workflows/main.yaml'
33-
- '.env'
34-
- docker-compose.yml
35-
- Makefile
36-
- go.mod
37-
- '!**.md'
38-
- '!build/ci/jenkins/**'
39-
5+
workflow_dispatch:
406
concurrency:
417
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
428
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

.github/workflows/markdown-check.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
name: Markdown Links Check
2+
# Disabled in this fork; CI runs via internal pipelines.
23
on:
34
workflow_dispatch:
4-
schedule:
5-
- cron: "30 20 * * *"
6-
75
jobs:
86
check-links:
97
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)