Skip to content

Commit

Permalink
chore(tiflash): update build steps for tiflash starts v8.5.0
Browse files Browse the repository at this point in the history
Ref pingcap/tiflash#9587, it changes the build script paths.

Signed-off-by: wuhuizuo <[email protected]>
  • Loading branch information
wuhuizuo committed Nov 8, 2024
1 parent 9b290f7 commit 4bbaff3
Showing 1 changed file with 48 additions and 1 deletion.
49 changes: 48 additions & 1 deletion packages/packages.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -1627,11 +1627,58 @@ components:
- if: {{ semver.CheckConstraint ">= 6.1.0-0, < 8.2.0-0" .Release.version }}
image: hub.pingcap.net/ee/ci/release-build-base-tiflash:v20231106
routers:
- description: For range [v8.4.0, )
- description: For range [v8.5.0, ) it changed the build script path.
if: {{ semver.CheckConstraint ">= 8.4.0-0" .Release.version }}
os: [linux, darwin]
arch: [amd64, arm64]
profile: [release, enterprise]
steps:
release:
- os: linux
script: |
./release-rocky8-llvm/scripts/build-tiflash-release.sh
mkdir outputs
mv release-rocky8-llvm/tiflash outputs/tiflash
- os: darwin
script: |
./release-darwin/build/build-release.sh
mkdir outputs
mv release-darwin/tiflash outputs/tiflash
enterprise:
- script: export TIFLASH_EDITION=Enterprise
- os: linux
script: |
./release-rocky8-llvm/scripts/build-tiflash-release.sh
mkdir outputs
mv release-rocky8-llvm/tiflash outputs/tiflash
- os: darwin
script: |
./release-darwin/build/build-release.sh
mkdir outputs
mv release-darwin/tiflash outputs/tiflash
artifacts:
- name: "tiflash-{{ .Release.version }}-{{ .Release.os }}-{{ .Release.arch }}.tar.gz"
files: # output files.
- name: tiflash/
src:
path: outputs/tiflash/
tiup:
description: The TiFlash Columnar Storage Engine
entrypoint: tiflash/tiflash
- name: container image
type: image
artifactory:
repo: "{{ .Release.registry }}/pingcap/tiflash/image"
dockerfile: https://github.com/PingCAP-QE/artifacts/raw/main/dockerfiles/products/tiflash/Dockerfile
files:
- name: tiflash/
src:
path: outputs/tiflash/
- description: For v8.4.x
if: {{ semver.CheckConstraint "~8.4.0-0" .Release.version }}
os: [linux, darwin]
arch: [amd64, arm64]
profile: [release, enterprise]
steps:
release:
- os: linux
Expand Down

0 comments on commit 4bbaff3

Please sign in to comment.