Skip to content

Commit

Permalink
move tiup bench to standalone repo (#2055)
Browse files Browse the repository at this point in the history
  • Loading branch information
nexustar authored and kaaaaaaang committed Nov 22, 2022
1 parent 1a4714d commit a6ebf00
Show file tree
Hide file tree
Showing 19 changed files with 9 additions and 2,032 deletions.
1 change: 0 additions & 1 deletion .github/workflows/integrate-cluster-cmd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ on:
- 'LICENSE'
- 'doc/**'
- 'embed/templates/examples/**'
- 'components/bench/**'
- 'components/client/**'
- 'components/ctl/**'
- 'components/dm/**'
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/integrate-cluster-scale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ on:
- 'LICENSE'
- 'doc/**'
- 'embed/templates/examples/**'
- 'components/bench/**'
- 'components/client/**'
- 'components/ctl/**'
- 'components/dm/**'
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/integrate-dm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ on:
- 'LICENSE'
- 'doc/**'
- 'embed/templates/examples/**'
- 'components/bench/**'
- 'components/client/**'
- 'components/ctl/**'
- 'components/cluster/**'
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/integrate-playground.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ on:
- 'doc/**'
- 'embed/templates/examples/**'
- 'embed/templates/examples/**'
- 'components/bench/**'
- 'components/client/**'
- 'components/ctl/**'
- 'components/cluster/**'
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/release-tiup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ jobs:
${TAR} -C bin -czf package/dm-${REL_VER}-${ARCH}.tar.gz tiup-dm
${TAR} -C bin -czf package/playground-${REL_VER}-${ARCH}.tar.gz tiup-playground
${TAR} -C bin -czf package/client-${REL_VER}-${ARCH}.tar.gz tiup-client
${TAR} -C bin -czf package/bench-${REL_VER}-${ARCH}.tar.gz tiup-bench
${TAR} -C bin -czf package/server-${REL_VER}-${ARCH}.tar.gz tiup-server
- name: Publish packages
Expand All @@ -158,7 +157,6 @@ jobs:
dm_desc: "Data Migration Platform manager"
playground_desc: "Bootstrap a local TiDB cluster for fun"
client_desc: "Client to connect playground"
bench_desc: "Benchmark database with different workloads"
server_desc: "TiUP publish/cache server"
run: |
if [ ! -z ${{ steps.check_staging.outputs.STAGING }} ]; then
Expand All @@ -183,7 +181,6 @@ jobs:
${TIUP_BIN} mirror publish dm ${REL_VER} package/dm-${REL_VER}-${ARCH}.tar.gz tiup-dm --arch ${{ matrix.arch }} --os ${{ matrix.os }} --desc="${dm_desc}" --standalone
${TIUP_BIN} mirror publish playground ${REL_VER} package/playground-${REL_VER}-${ARCH}.tar.gz tiup-playground --arch ${{ matrix.arch }} --os ${{ matrix.os }} --desc="${playground_desc}"
${TIUP_BIN} mirror publish client ${REL_VER} package/client-${REL_VER}-${ARCH}.tar.gz tiup-client --arch ${{ matrix.arch }} --os ${{ matrix.os }} --desc="${client_desc}"
${TIUP_BIN} mirror publish bench ${REL_VER} package/bench-${REL_VER}-${ARCH}.tar.gz tiup-bench --arch ${{ matrix.arch }} --os ${{ matrix.os }} --desc="${bench_desc}"
${TIUP_BIN} mirror publish server ${REL_VER} package/server-${REL_VER}-${ARCH}.tar.gz tiup-server --arch ${{ matrix.arch }} --os ${{ matrix.os }} --desc="${server_desc}" --hide --standalone
- name: Upload the all-in-one tarball to GitHub release
Expand Down
10 changes: 2 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ include ./tests/Makefile
build: tiup components
@# Target: build tiup and all it's components

components: playground client cluster dm bench server
@# Target: build the playground, client, cluster, dm, bench and server components
components: playground client cluster dm server
@# Target: build the playground, client, cluster, dm and server components

tiup:
@# Target: build the tiup driver
Expand All @@ -69,10 +69,6 @@ dm:
@# Target: build the tiup-dm component
$(GOBUILD) -ldflags '$(LDFLAGS)' -o bin/tiup-dm ./components/dm

bench:
@# Target: build the tiup-bench component
$(MAKE) -C components/bench $(MAKECMDGOALS)

doc:
@# Target: build the tiup-doc component
$(GOBUILD) -ldflags '$(LDFLAGS)' -o bin/tiup-doc ./components/doc
Expand All @@ -91,7 +87,6 @@ server:

check: fmt lint tidy check-static vet
@# Target: run all checkers. (fmt, lint, tidy, check-static and vet)
$(MAKE) -C components/bench ${MAKECMDGOALS}
$(MAKE) -C components/client ${MAKECMDGOALS}

check-static: tools/bin/golangci-lint
Expand Down Expand Up @@ -121,7 +116,6 @@ clean:

test: failpoint-enable run-tests failpoint-disable
@# Target: run tests with failpoint enabled
$(MAKE) -C components/bench ${MAKECMDGOALS}
$(MAKE) -C components/client ${MAKECMDGOALS}

# TODO: refactor integration tests base on v1 manifest
Expand Down
115 changes: 0 additions & 115 deletions components/bench/Makefile

This file was deleted.

3 changes: 3 additions & 0 deletions components/bench/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# TiUP bench

tiup bench has been **moved** to https://github.com/PingCAP-QE/tiup-bench
124 changes: 0 additions & 124 deletions components/bench/ch_benchmark.go

This file was deleted.

11 changes: 0 additions & 11 deletions components/bench/go.mod

This file was deleted.

Loading

0 comments on commit a6ebf00

Please sign in to comment.