Skip to content

Commit

Permalink
e2e: remove duplicate builds of yui-corda-ibc-client
Browse files Browse the repository at this point in the history
Signed-off-by: Masanori Yoshida <[email protected]>
  • Loading branch information
siburu committed Aug 13, 2021
1 parent 2b59b60 commit 936da6e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 25 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ jobs:
run: |
./save_docker_images $CACHE_DOCKER_CORDA_DIR \
yui-corda-ibc:latest \
yui-corda-ibc-client:latest \
fabric-chaincode-org1:latest
ethereum-build:
Expand Down Expand Up @@ -325,6 +326,7 @@ jobs:
run: |
./load_docker_images $CACHE_DOCKER_CORDA_DIR \
yui-corda-ibc:latest \
yui-corda-ibc-client:latest \
fabric-chaincode-org1:latest
- name: Run Test
working-directory: ./tests/cases/corda2fab
Expand Down Expand Up @@ -357,7 +359,8 @@ jobs:
working-directory: ./tests/scripts
run: |
./load_docker_images $CACHE_DOCKER_CORDA_DIR \
yui-corda-ibc:latest
yui-corda-ibc:latest \
yui-corda-ibc-client:latest
- name: Run Test
working-directory: ./tests/cases/corda2corda
run: |
Expand Down
10 changes: 0 additions & 10 deletions tests/cases/corda2corda/scripts/init-rly
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@ RLY_BINARY=${SCRIPT_DIR}/../../../../build/uly
RLY="${RLY_BINARY} --debug"
FIXTURES_DIR=${SCRIPT_DIR}/../fixtures

CORDA_CLI_DIR="${SCRIPT_DIR}/../../../chains/corda/yui-corda-ibc/rust"
CORDA_CLI="${CORDA_CLI_DIR}/target/release/yui-corda-ibc-client"

# Ensure ${RLY_BINARY} is installed
(cd ${CORDA_CLI_DIR} && cargo build --release)
if ! [ -x ${CORDA_CLI} ]; then
echo "Error: ${CORDA_CLI} is not installed." >&2
exit 1
fi

echo "Generating ${RLY_BINARY} configurations..."

# Ensure ${RLY_BINARY} is installed
Expand Down
3 changes: 1 addition & 2 deletions tests/cases/corda2corda/scripts/test-tx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ SCRIPT_DIR=$(cd $(dirname $0); pwd)
RLY_BINARY=${SCRIPT_DIR}/../../../../build/uly
RLY="${RLY_BINARY} --debug"

CORDA_CLI_DIR="${SCRIPT_DIR}/../../../chains/corda/yui-corda-ibc/rust"
CORDA_CLI="${CORDA_CLI_DIR}/target/release/yui-corda-ibc-client"
CORDA_CLI='docker run --rm --userns host --network host yui-corda-ibc-client yui-corda-ibc-client'

# Ensure ${CHAIN_BINARY} is installed
if ! [ -x ${CHAIN_BINARY} ]; then
Expand Down
10 changes: 0 additions & 10 deletions tests/cases/corda2fab/scripts/init-rly
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@ RLY_BINARY=${SCRIPT_DIR}/../../../../build/uly
RLY="${RLY_BINARY} --debug"
FIXTURES_DIR=${SCRIPT_DIR}/../fixtures

CORDA_CLI_DIR="${SCRIPT_DIR}/../../../chains/corda/yui-corda-ibc/rust"
CORDA_CLI="${CORDA_CLI_DIR}/target/release/yui-corda-ibc-client"

# Ensure ${RLY_BINARY} is installed
(cd ${CORDA_CLI_DIR} && cargo build --release)
if ! [ -x ${CORDA_CLI} ]; then
echo "Error: ${CORDA_CLI} is not installed." >&2
exit 1
fi

echo "Generating ${RLY_BINARY} configurations..."

# Ensure ${RLY_BINARY} is installed
Expand Down
3 changes: 1 addition & 2 deletions tests/cases/corda2fab/scripts/test-tx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ SCRIPT_DIR=$(cd $(dirname $0); pwd)
RLY_BINARY=${SCRIPT_DIR}/../../../../build/uly
RLY="${RLY_BINARY} --debug"

CORDA_CLI_DIR="${SCRIPT_DIR}/../../../chains/corda/yui-corda-ibc/rust"
CORDA_CLI="${CORDA_CLI_DIR}/target/release/yui-corda-ibc-client"
CORDA_CLI='docker run --rm --userns host --network host yui-corda-ibc-client yui-corda-ibc-client'

# Ensure ${CHAIN_BINARY} is installed
if ! [ -x ${CHAIN_BINARY} ]; then
Expand Down

0 comments on commit 936da6e

Please sign in to comment.