Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add tidb-ctl config #236

Merged
merged 2 commits into from
Feb 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions packages/packages.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -921,21 +921,23 @@ components:
- {{ strings.ReplaceAll "/" "-" .Git.ref | strings.ToLower }}-{{ strings.Trunc 7 .Git.sha }}
{{- end }}
- {{ strings.ReplaceAll "/" "-" .Git.ref | strings.ToLower }}
builders:
# BUG: tidb-ctl has not release branches and all tags taged on master branch.
- image: ghcr.io/pingcap-qe/cd/builders/tidb:v20231115-e1c4b43-go1.21
routers:
- description: interpret versions according to semantic version spec.
if: {{ semver.CheckConstraint ">= 7.1.0-0" .Release.version }}
os: [linux]
os: [linux, darwin]
arch: [amd64, arm64]
profile: [release]
steps:
release:
- script: go build
- script: make
artifacts:
- name: "tidb-ctl-{{ .Release.version }}-{{ .Release.os }}-{{ .Release.arch }}.tar.gz"
files: # output files.
- name: tidb-ctl
src:
path: bin/tidb-ctl
path: tidb-ctl
tidb-binlog:
desc: tidb binlog component tarball
git:
Expand Down
Loading