-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(apps/prod/tekton/configs/triggers): enable trigger for fips feat…
…ure branches (#869) Signed-off-by: wuhuizuo <[email protected]> --------- Signed-off-by: wuhuizuo <[email protected]>
- Loading branch information
Showing
21 changed files
with
130 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
apps/prod/tekton/configs/tasks/pingcap-get-builder-image.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
apiVersion: tekton.dev/v1beta1 | ||
kind: Task | ||
metadata: | ||
name: pingcap-get-builder-image | ||
labels: | ||
app.kubernetes.io/version: "0.1" | ||
annotations: | ||
tekton.dev/platforms: "linux/amd64,linux/arm64" | ||
spec: | ||
description: >- | ||
Build binaries for the component. | ||
results: | ||
- description: The builder image url | ||
name: image-url | ||
type: string | ||
params: | ||
- name: component | ||
type: string | ||
- name: os | ||
default: linux | ||
- name: arch | ||
default: amd64 | ||
- name: version | ||
type: string | ||
description: the version to releasing. | ||
- name: profile | ||
type: string | ||
default: release | ||
description: > | ||
supports: 'release' or 'debug' or others. | ||
steps: | ||
- name: get | ||
image: ghcr.io/pingcap-qe/cd/utils/release:5d33328 | ||
script: | | ||
git clone --depth=1 --branch=main https://github.com/PingCAP-QE/artifacts.git /workspace/artifacts | ||
out="/workspace/builder-package-artifacts.txt" | ||
/workspace/artifacts/packages/scripts/get-package-builder-with-config.sh \ | ||
$(params.component) \ | ||
$(params.os) \ | ||
$(params.arch) \ | ||
$(params.version) \ | ||
$(params.profile) \ | ||
/workspace/artifacts/packages/packages.yaml.tmpl \ | ||
$(results.image-url.path) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.