Skip to content

Commit

Permalink
chore(ci) adjust how we cleanup / setup the builds to fix arm
Browse files Browse the repository at this point in the history
  • Loading branch information
hutchic committed Apr 1, 2020
1 parent c4dc027 commit c2353b4
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,13 @@ debug:
@echo ${DEBUG}

setup-ci:
ifneq ($(RESTY_IMAGE_BASE),src)
.ci/setup_ci.sh
$(MAKE) setup-build
endif
@echo "no longer used"

setup-build: cleanup-build
ifeq ($(RESTY_IMAGE_BASE),src)
@echo "nothing to be done"
else ifeq ($(BUILDX),true)
.ci/setup_ci.sh
docker buildx create --name multibuilder
docker-machine create --driver amazonec2 \
--amazonec2-instance-type a1.medium \
Expand Down Expand Up @@ -189,7 +187,7 @@ else
package-kong: actual-package-kong
endif

actual-package-kong: cleanup setup-build
actual-package-kong: cleanup
ifeq ($(DEBUG),1)
exit 1
endif
Expand Down

0 comments on commit c2353b4

Please sign in to comment.