Skip to content

Commit

Permalink
chore(tiflash): update the build script path
Browse files Browse the repository at this point in the history
[SKIP-CI]

Signed-off-by: wuhuizuo <[email protected]>
  • Loading branch information
wuhuizuo committed Nov 8, 2024
1 parent 83dc7a9 commit c1d98c7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dockerfiles/cd/builders/tiflash/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ ENV PATH /root/.cargo/bin/:$PATH
FROM builder as building

ADD . /ws
RUN CARGO_NET_GIT_FETCH_WITH_CLI=true /ws/release-centos7-llvm/scripts/build-release.sh
RUN mkdir output && mv /ws/release-centos7-llvm/tiflash output/tiflash
RUN CARGO_NET_GIT_FETCH_WITH_CLI=true /ws/release-linux-llvm/scripts/build-release.sh
RUN mkdir output && mv /ws/release-linux-llvm/tiflash output/tiflash
RUN output/tiflash/tiflash version

########### stage: Final image
Expand Down
1 change: 0 additions & 1 deletion dockerfiles/cd/builders/tiflash/centos7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ LABEL org.opencontainers.image.authors "[email protected]"
LABEL org.opencontainers.image.description "binary builder for tiflash"
LABEL org.opencontainers.image.source = "https://github.com/PingCAP-QE/artifacts"

# renovate: datasource=github-tags depName=pingcap/tiflash
ARG TIFLASH_VER=v8.3.0
RUN FILE=$([ "$(arch)" = "aarch64" ] && echo "bake_llvm_base_aarch64.sh" || echo "bake_llvm_base_amd64.sh"); \
TAR_DIR="tiflash-$(echo $TIFLASH_VER | sed 's/v//')"; \
Expand Down
8 changes: 4 additions & 4 deletions packages/packages.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -1636,9 +1636,9 @@ components:
release:
- os: linux
script: |
./release-rocky8-llvm/scripts/build-tiflash-release.sh
./release-linux-llvm/scripts/build-tiflash-release.sh
mkdir outputs
mv release-rocky8-llvm/tiflash outputs/tiflash
mv release-linux-llvm/tiflash outputs/tiflash
- os: darwin
script: |
./release-darwin/build/build-release.sh
Expand All @@ -1648,9 +1648,9 @@ components:
- script: export TIFLASH_EDITION=Enterprise
- os: linux
script: |
./release-rocky8-llvm/scripts/build-tiflash-release.sh
./release-linux-llvm/scripts/build-tiflash-release.sh
mkdir outputs
mv release-rocky8-llvm/tiflash outputs/tiflash
mv release-linux-llvm/tiflash outputs/tiflash
- os: darwin
script: |
./release-darwin/build/build-release.sh
Expand Down

0 comments on commit c1d98c7

Please sign in to comment.