Skip to content

Commit

Permalink
Download tproxy to tools directory (chaos-mesh#225)
Browse files Browse the repository at this point in the history
* download tproxy

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

* fix makeflie

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

Signed-off-by: cwen0 <[email protected]>
  • Loading branch information
cwen0 authored Jan 6, 2023
1 parent 55b454f commit a9c0540
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,15 @@ ifeq (,$(wildcard bin/tools/byteman))
mv ${BYTEMAN_DIR} ./bin/tools/byteman
endif
ifeq (,$(wildcard bin/tools/memStress))
curl -fsSL -o memStress_v0.3-x86_64-linux-gnu.tar.gz https://github.com/chaos-mesh/memStress/releases/download/v0.3/memStress_v0.3-${ARCH}-linux-gnu.tar.gz
tar zxvf memStress_v0.3-x86_64-linux-gnu.tar.gz
curl -fsSL -o memStress_v0.3-${ARCH}-linux-gnu.tar.gz https://github.com/chaos-mesh/memStress/releases/download/v0.3/memStress_v0.3-${ARCH}-linux-gnu.tar.gz
tar zxvf memStress_v0.3-${ARCH}-linux-gnu.tar.gz
mv memStress ./bin/tools/memStress
endif
ifeq (,$(wildcard bin/tools/tproxy))
curl -fsSL -o tproxy-${ARCH}.tar.gz https://github.com/chaos-mesh/chaos-tproxy/releases/download/v0.5.4/tproxy-${ARCH}.tar.gz
tar zxvf tproxy-${ARCH}.tar.gz
mv tproxy ./bin/tools/tproxy
endif

swagger_spec:
ifeq ($(SWAGGER),1)
Expand Down

0 comments on commit a9c0540

Please sign in to comment.