Skip to content

Commit

Permalink
build: Load dockerfile Makefile, prevent ibc test cache
Browse files Browse the repository at this point in the history
  • Loading branch information
drklee3 committed Feb 12, 2025
1 parent e29001a commit 3536a5f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ format:

# Build docker image and tag as kava/kava:local
docker-build:
DOCKER_BUILDKIT=1 $(DOCKER) build -t kava/kava:local .
DOCKER_BUILDKIT=1 $(DOCKER) build -t kava/kava:local --load .

docker-build-rocksdb:
DOCKER_BUILDKIT=1 $(DOCKER) build -f Dockerfile-rocksdb -t kava/kava:local .
Expand Down Expand Up @@ -302,8 +302,9 @@ test-e2e: docker-build
$(GO_BIN) test -failfast -count=1 -v ./tests/e2e/...

# run interchaintest tests (./tests/e2e-ibc)
# Use -count=1 to prevent caching, in case docker-build changes
test-ibc: docker-build
cd tests/e2e-ibc && KAVA_TAG=local $(GO_BIN) test -timeout 10m .
cd tests/e2e-ibc && KAVA_TAG=local $(GO_BIN) test -timeout 10m -count=1 .
.PHONY: test-ibc

test:
Expand Down

0 comments on commit 3536a5f

Please sign in to comment.