Skip to content

Commit

Permalink
pr comment: move docker stuff under contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
gusin13 committed Sep 6, 2024
1 parent e81d448 commit 93285ba
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 27 deletions.
18 changes: 17 additions & 1 deletion contrib/images/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,20 @@ cosmos-relayer: cosmos-relayer-rmi
cosmos-relayer-rmi:
docker rmi babylonlabs-io/cosmos-relayer 2>/dev/null; true

.PHONY: all babylond babylond-before-upgrade cosmos-relayer e2e-init-chain babylond-rmi babylond-rmi-upgrade cosmos-relayer-rmi
build-ibcsim-bcd:
docker build --tag babylonlabs-io/ibcsim-bcd -f bcd/Dockerfile ${BABYLON_FULL_PATH}

ibcsim-bcd-rmi:
docker rmi babylonlabs-io/ibcsim-bcd 2>/dev/null; true

build-integration-test: babylond build-ibcsim-bcd

start-integration-test: stop-integration-test
bcd/pre-deployment.sh
docker compose -f bcd/docker-compose.yml up -d

stop-integration-test:
docker compose -f bcd/docker-compose.yml down
rm -rf bcd/.testnets

.PHONY: all babylond babylond-before-upgrade cosmos-relayer e2e-init-chain babylond-rmi babylond-rmi-upgrade cosmos-relayer-rmi build-ibcsim-bcd ibcsim-bcd-rmi build-integration-test start-integration-test stop-integration-test
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ COPY --from=build-env /go/bin/rly /usr/bin/rly
COPY --from=build-env /go/bin/bcd /usr/bin/bcd

WORKDIR /ibcsim-bcd
COPY consumer/wrapper.sh /ibcsim-bcd/wrapper.sh
COPY consumer/setup-bcd.sh /ibcsim-bcd/setup-bcd.sh
COPY bytecode/babylon_contract.wasm /ibcsim-bcd/babylon_contract.wasm
COPY bytecode/btc_staking.wasm /ibcsim-bcd/btc_staking.wasm
COPY contrib/images/bcd/wrapper.sh /ibcsim-bcd/wrapper.sh
COPY contrib/images/bcd/setup-bcd.sh /ibcsim-bcd/setup-bcd.sh
COPY test/e2e/bytecode/babylon_contract.wasm /ibcsim-bcd/babylon_contract.wasm
COPY test/e2e/bytecode/btc_staking.wasm /ibcsim-bcd/btc_staking.wasm

ENV BABYLON_HOME=/data/node1/babylond
ENV BABYLON_NODE_RPC="http://babylondnode1:26657"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ docker run --rm -v $(pwd)/.testnets:/data babylonlabs-io/babylond \
--covenant-pks "bb50e2d89a4ed70663d080659fe0ad4b9bc3e06c17a227433966cb59ceee020d" # should be updated if `covenant-keyring` dir is changed`

# Create separate subpaths for each component and copy relevant configuration
chmod -R 777 .testnets
chmod -R 777 .testnets
File renamed without changes.
File renamed without changes.
21 changes: 0 additions & 21 deletions test/e2e/bcd_integration/Makefile

This file was deleted.

0 comments on commit 93285ba

Please sign in to comment.