Skip to content

Commit

Permalink
feat(apps/prod/tekton/configs/tasks/release): add task pingcap-create…
Browse files Browse the repository at this point in the history
…-github-alpha-tags (#1391)

The script will be implemented in the future.

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

Signed-off-by: wuhuizuo <[email protected]>
  • Loading branch information
wuhuizuo authored Dec 24, 2024
1 parent 3fbb340 commit 1cbd986
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/prod/tekton/configs/tasks/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ resources:
- publish-tiup-from-oci-artifact.yaml
- release/create-pr-to-add-release-anchor-commit.yaml
- release/create-pr-to-bump-tikv-version.yaml
- release/pingcap-create-github-alpha-tags.yaml
- release/pingcap-create-github-releases.yaml
- release/tag-rc2ga-on-oci-artifacts.yaml
- release/wait-delivery-images.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
name: pingcap-create-github-alpha-tags
spec:
description: >
create github alpha tags on product GitHub repositories and send github push events to trigger build with new git metadata.
params:
- name: version
description: the release semver tag name, e.g. v5.0.0-alpha
workspaces:
- name: github
description: Must includes a key `token`
steps:
- name: create-tags
image: docker.io/denoland/deno:alpine-2.1.4
script: |
deno run --allow-all https://github.com/PingCAP-QE/ci/raw/main/scripts/flow/sprint/create_github_alpha_tags.ts \
--version="$(params.version)" \
--token="$(cat $(workspaces.github.path)/token)" \
--pushEventUrl=http://el-public:8080

0 comments on commit 1cbd986

Please sign in to comment.