Skip to content

Commit

Permalink
fix: upx install path
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Jan 29, 2022
1 parent 0c50f3a commit 6c15d44
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,20 +90,14 @@ test-e2e: bin
./test/e2e.sh

.bin/upx: .bin
wget -nv -O upx.tar.xz https://github.com/upx/upx/releases/download/v3.96/upx-3.96-$(OS)_$(ARCH).xz
wget -nv -O upx.tar.xz https://github.com/upx/upx/releases/download/v3.96/upx-3.96-$(OS)_$(ARCH).tar.xz
tar xf upx.tar.xz
mv upx-3.96-$(OS)_$(ARCH)/upx .bin
rm -rf upx-3.96-$(OS)_$(ARCH)

.bin:
mkdir -p .bin

.bin/octopilot:
curl -sSLo .bin/octopilot https://github.com/dailymotion-oss/octopilot/releases/download/v1.0.7/octopilot_1.0.7_$(OS)_$(ARCH) && \
chmod +x .bin/octopilot

bin: .bin .bin/wait4x .bin/yq .bin/karina .bin/go-junit-report .bin/restic .bin/jmeter telepresence .bin/octopilot .bin/kustomize

.bin/kustomize: .bin
curl -L https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv4.3.0/kustomize_v4.3.0_$(OS)_$(ARCH).tar.gz -o kustomize.tar.gz && \
tar xf kustomize.tar.gz -C .bin/ && \
Expand All @@ -115,4 +109,4 @@ stack: .bin/kustomize
kubectl apply -f deploy/namespace.yaml
$(KUSTOMIZE) build deploy/postgres | kubectl apply -f -
kubectl wait --for=condition=ready pod -l app=postgres -n incident-commander --timeout=2m
$(KUSTOMIZE) build deploy | kubectl apply -f -
$(KUSTOMIZE) build deploy | kubectl apply -f -

0 comments on commit 6c15d44

Please sign in to comment.