Skip to content

Commit

Permalink
feat: use simple golang builder for monitor (#211)
Browse files Browse the repository at this point in the history
# Why:
- monitoring has no compiling steps, so simply use one builder
- need wget
  • Loading branch information
lijie authored Jan 17, 2024
1 parent 52ba379 commit cb817b7
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions packages/packages.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,7 @@ components:
{{- end }}
- {{ strings.ReplaceAll "/" "-" .Git.ref | strings.ToLower }}
builders: # binary builder, also we need it when build for mac to get build tools versions and other informations.
- if: {{ semver.CheckConstraint ">= 7.4.0-0" .Release.version }}
image: ghcr.io/pingcap-qe/cd/builders/tidb:v20231115-e1c4b43-go1.21
- if: {{ semver.CheckConstraint ">= 7.0.0-0, < 7.4.0-0" .Release.version }}
image: ghcr.io/pingcap-qe/cd/builders/tidb:v20231115-e1c4b43-go1.20
- if: {{ semver.CheckConstraint ">= 6.1.0-0, < 7.0.0-0" .Release.version }}
image: ghcr.io/pingcap-qe/cd/builders/tidb:v20231115-e1c4b43-go1.19
- if: {{ semver.CheckConstraint "< 6.1.0-0" .Release.version }}
image: ghcr.io/pingcap-qe/cd/builders/tidb:v20231115-e1c4b43-go1.18
- image: golang:1.21.6
routers:
- description: For range [7.1.0, )
if: {{ semver.CheckConstraint ">= 7.1.0-0" .Release.version }}
Expand Down

0 comments on commit cb817b7

Please sign in to comment.