Skip to content

Commit

Permalink
Merge pull request #2282 from keep-network/keep-dashboard-release-build
Browse files Browse the repository at this point in the history
Separated dashboard build for keep-test
  • Loading branch information
lukasz-zimnoch authored Jan 14, 2021
2 parents cfd29b4 + 210f394 commit 3ffb957
Showing 1 changed file with 117 additions and 105 deletions.
222 changes: 117 additions & 105 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ jobs:
executor: docker-node
steps:
- run:
name: "Rebuild downstream same-branch build(s)"
name: 'Rebuild downstream same-branch build(s)'
command: |
# CIRCLE_BRANCH || CIRCLE_TAG?
# curl CIRCLE_API_BUILD/keep-tecdsa?branch=${CIRCLE_BRANCH}
Expand All @@ -229,7 +229,10 @@ jobs:
name: Resolve latest contracts
working_directory: ~/project/solidity/dashboard
command: |
npm upgrade @keep-network/keep-core
npm update \
@keep-network/keep-core \
@keep-network/keep-ecdsa \
@keep-network/tbtc
- run:
name: Run Docker build
working_directory: ~/project/solidity/dashboard
Expand Down Expand Up @@ -365,109 +368,118 @@ workflows:
requires:
- build_token_dashboard_dapp
build-test-migrate-publish-keep-test:
jobs:
- keep_test_approval:
type: approval
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
- build_client_and_test_go:
context: keep-test
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
requires:
- keep_test_approval
- build_initcontainer:
context: keep-test
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
requires:
- migrate_contracts
- build_client_and_test_go
- migrate_contracts:
context: keep-test
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
requires:
- build_client_and_test_go
- publish_keep_client:
context: keep-test
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
requires:
- build_client_and_test_go
- build_initcontainer
- migrate_contracts
- publish_initcontainer_provision_keep_client:
context: keep-test
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
requires:
- build_client_and_test_go
- build_initcontainer
- migrate_contracts
- publish_contract_data:
context: keep-test
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
requires:
- build_client_and_test_go
- migrate_contracts
- publish_npm_package:
context: keep-test
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
requires:
- migrate_contracts
- trigger_downstream_builds:
context: keep-test
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
requires:
- publish_npm_package
- build_token_dashboard_dapp:
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
requires:
- publish_npm_package
- publish_token_dashboard_dapp:
context: keep-test
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
requires:
- build_token_dashboard_dapp
jobs:
- keep_test_approval:
type: approval
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
- build_client_and_test_go:
context: keep-test
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
requires:
- keep_test_approval
- build_initcontainer:
context: keep-test
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
requires:
- migrate_contracts
- build_client_and_test_go
- migrate_contracts:
context: keep-test
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
requires:
- build_client_and_test_go
- publish_keep_client:
context: keep-test
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
requires:
- build_client_and_test_go
- build_initcontainer
- migrate_contracts
- publish_initcontainer_provision_keep_client:
context: keep-test
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
requires:
- build_client_and_test_go
- build_initcontainer
- migrate_contracts
- publish_contract_data:
context: keep-test
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
requires:
- build_client_and_test_go
- migrate_contracts
- publish_npm_package:
context: keep-test
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
requires:
- migrate_contracts
- trigger_downstream_builds:
context: keep-test
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
requires:
- publish_npm_package
build-publish-dashboard-keep-test:
jobs:
- keep_test_approval:
type: approval
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
- build_token_dashboard_dapp:
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
requires:
- keep_test_approval
- publish_token_dashboard_dapp:
context: keep-test
filters:
tags:
only: /^v.*/
branches:
only: /releases\/.*/
requires:
- build_token_dashboard_dapp
docs:
jobs:
- generate_docs_tex
Expand Down

0 comments on commit 3ffb957

Please sign in to comment.