Skip to content

Commit

Permalink
test executor build in CI 10
Browse files Browse the repository at this point in the history
Signed-off-by: BAStos525 <[email protected]>
  • Loading branch information
BAStos525 committed Aug 1, 2024
1 parent 9d15f25 commit 7c04349
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 42 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,6 @@ COPY --from=builder $TARGET_DIR/kagami $BIN_PATH
COPY defaults/genesis.json $CONFIG_DIR
COPY defaults/executor.wasm $CONFIG_DIR
COPY defaults/client.toml $CONFIG_DIR
VOLUME [ "/config/executor.wasm" ]
USER $USER
CMD ["irohad"]
30 changes: 0 additions & 30 deletions Dockerfile.build.glibc

This file was deleted.

29 changes: 17 additions & 12 deletions defaults/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

services:
irohad0:
image: bastos525/iroha:dev
image: hyperledger/iroha:dev
environment:
CHAIN: 00000000-0000-0000-0000-000000000000
PUBLIC_KEY: ed0120A98BAFB0663CE08D75EBD506FEC38A84E576A7C9B0897693ED4B04FD9EF2D18D
Expand All @@ -19,8 +19,9 @@ services:
ports:
- 1337:1337
- 8080:8080
# volumes:
# - ./:/config
volumes:
- ./genesis.json:/config/genesis.json:ro
- ./client.toml:/config/client.toml:ro
init: true
healthcheck:
test: test $(curl -s http://127.0.0.1:8080/status/blocks) -gt 0
Expand All @@ -45,7 +46,7 @@ services:
exec irohad
"
irohad1:
image: bastos525/iroha:dev
image: hyperledger/iroha:dev
environment:
CHAIN: 00000000-0000-0000-0000-000000000000
PUBLIC_KEY: ed01209897952D14BDFAEA780087C38FF3EB800CB20B882748FC95A575ADB9CD2CB21D
Expand All @@ -57,8 +58,9 @@ services:
ports:
- 1338:1338
- 8081:8081
# volumes:
# - ./:/config
volumes:
- ./:/config
- executor.wasm:/сonfig/executor.wasm
init: true
healthcheck:
test: test $(curl -s http://127.0.0.1:8081/status/blocks) -gt 0
Expand All @@ -67,7 +69,7 @@ services:
retries: 30
start_period: 4s
irohad2:
image: bastos525/iroha:dev
image: hyperledger/iroha:dev
environment:
CHAIN: 00000000-0000-0000-0000-000000000000
PUBLIC_KEY: ed01204EE2FCD53E1730AF142D1E23951198678295047F9314B4006B0CB61850B1DB10
Expand All @@ -79,8 +81,8 @@ services:
ports:
- 1339:1339
- 8082:8082
# volumes:
# - ./:/config
volumes:
- ./client.toml:/config/client.toml:ro
init: true
healthcheck:
test: test $(curl -s http://127.0.0.1:8082/status/blocks) -gt 0
Expand All @@ -89,7 +91,7 @@ services:
retries: 30
start_period: 4s
irohad3:
image: bastos525/iroha:dev
image: hyperledger/iroha:dev
environment:
CHAIN: 00000000-0000-0000-0000-000000000000
PUBLIC_KEY: ed0120CACF3A84B8DC8710CE9D6B968EE95EC7EE4C93C85858F026F3B4417F569592CE
Expand All @@ -101,12 +103,15 @@ services:
ports:
- 1340:1340
- 8083:8083
# volumes:
# - ./:/config
volumes:
- ./client.toml:/config/client.toml:ro
init: true
healthcheck:
test: test $(curl -s http://127.0.0.1:8083/status/blocks) -gt 0
interval: 2s
timeout: 1s
retries: 30
start_period: 4s

volumes:
executor.wasm:

0 comments on commit 7c04349

Please sign in to comment.