Skip to content

Commit

Permalink
fix: disable circle-ci Fabric deploy because Corda fills vm all resou…
Browse files Browse the repository at this point in the history
…rces and

crashes if more processes comes in.
`resource_class: large` would probably help so revert this patch when we have
it available.

Signed-off-by: Denis Glotov <denis.glotov@accenture.com>
  • Loading branch information
denis-yu-glotov committed Dec 30, 2019
1 parent d4a4422 commit 4042bad
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
# GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.workers.max=2"
machine:
image: ubuntu-1604:201903-01
resource_class: large
# resource_class: large
steps:
- checkout # check out source code to working directory
# Read about caching dependencies: https://circleci.com/docs/2.0/caching/
Expand Down Expand Up @@ -46,43 +46,43 @@ jobs:
command: |
cd packages/core/examples/simple-asset-transfer/
npm run corda
- run:
name: Starting Fabric
command: |
source /opt/circleci/.nvm/nvm.sh
cd packages/core/examples/simple-asset-transfer/
npm install
cd ./fabric/api/
npm install
cd ../../
npm run fabric
# - run:
# name: Starting Fabric
# command: |
# source /opt/circleci/.nvm/nvm.sh
# cd packages/core/examples/simple-asset-transfer/
# npm install
# cd ./fabric/api/
# npm install
# cd ../../
# npm run fabric

- run:
name: Build and federation networks
command: |
source /opt/circleci/.nvm/nvm.sh
cd packages/core/examples/simple-asset-transfer/
npm run fed:build
npm run fed:corda
npm run fed:fabric
# - run:
# name: Build and federation networks
# command: |
# source /opt/circleci/.nvm/nvm.sh
# cd packages/core/examples/simple-asset-transfer/
# npm run fed:build
# npm run fed:corda
# npm run fed:fabric

- run:
name: Run scenarios
command: |
source /opt/circleci/.nvm/nvm.sh
cd packages/core/examples/simple-asset-transfer/
npm run scenario:share noquorum
npm run scenario:CtF
npm run scenario:FtC
# - run:
# name: Run scenarios
# command: |
# source /opt/circleci/.nvm/nvm.sh
# cd packages/core/examples/simple-asset-transfer/
# npm run scenario:share noquorum
# npm run scenario:CtF
# npm run scenario:FtC

- run:
name: Stopping Corda
command: |
cd packages/core/examples/simple-asset-transfer/
npm run fed:corda:down
npm run fed:fabric:down
# npm run fed:fabric:down
npm run corda:down
npm run fabric:down
# npm run fabric:down
# Upload test results for display in Test Summary:
# https://circleci.com/docs/2.0/collect-test-data/
Expand Down

0 comments on commit 4042bad

Please sign in to comment.