Skip to content

Commit

Permalink
fix(pingcap/tidb-operator): fix builder image (#345)
Browse files Browse the repository at this point in the history
### **User description**
add uuidgen tool in golang image

Signed-off-by: wuhuizuo <[email protected]>

___

### **PR Type**
enhancement

___

### **Description**
- Updated the builder image for `tidb-operator` in the
`packages/packages.yaml.tmpl` file.
- Changed the image from `golang:1.21.11` to
`ghcr.io/pingcap-qe/cd/builders/tidb-operator:v20240325-52-ga8d3395`.

___

### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>packages.yaml.tmpl</strong><dd><code>Update builder
image for tidb-operator</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

packages/packages.yaml.tmpl

<li>Updated the builder image for <code>tidb-operator</code>.<br> <li>
Changed from <code>golang:1.21.11</code> to
<br><code>ghcr.io/pingcap-qe/cd/builders/tidb-operator:v20240325-52-ga8d3395</code>.<br>

</details>

  </td>
<td><a
href="https://github.com/PingCAP-QE/artifacts/pull/345/files#diff-31ae6e632fba4bcb68649d473c355898c698ab9cf7946e4fc2189e6fbdf33fc7">+1/-1</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>
</table></td></tr></tr></tbody></table>

___

> 💡 **PR-Agent usage**:
>Comment `/help` on the PR to get a list of all available PR-Agent tools
and their descriptions

Signed-off-by: wuhuizuo <[email protected]>
  • Loading branch information
wuhuizuo committed Jul 4, 2024
1 parent a8d3395 commit 41b057b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/packages.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@ components:
- {{ strings.ReplaceAll "/" "-" .Git.ref | strings.ToLower }}
- {{ .Release.version }}
builders:
- image: golang:1.21.11
- image: ghcr.io/pingcap-qe/cd/builders/tidb-operator:v20240325-52-ga8d3395
routers:
- description: interpret versions according to semantic version spec.
if: {{ semver.CheckConstraint ">= 1.5.0-0" .Release.version }}
Expand Down Expand Up @@ -1035,8 +1035,11 @@ components:
type: image
artifactory:
repo: "{{ .Release.registry }}/pingcap/tidb-operator/image"
context: . # build under git repo.
dockerfile: images/tidb-operator/Dockerfile
build_args:
- TARGETARCH={{ .Release.arch }}
context: images/tidb-operator
dockerfile: Dockerfile

tidb-dashboard:
desc: ''
git:
Expand Down

0 comments on commit 41b057b

Please sign in to comment.