You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build previews using dapp-development tagged packages
BACKGROUND:
There are situations when team developing T Token Dashboard needs to
locally test some functionalities using modified contracts, for example
ones with shorter authorization decrease delay. We decided to create a
`dapp-development` branch in each of the expected upstream modules of
the `threshold-network/token-dashboard` CI module, which would store
the code of these modified contracts. (Although currently there's no
`@keep-network/random-beacon`, `@keep-network/ecdsa` and
`@keep-network/tbtc-v2` dependencies in the T dashboard yet, they're
expected to be added soon and we are already preparing for that).
Repositories with `dapp-development` branch containing modified
contracts:
`threshold-network/solidity-contracts`
`keep-network/keep-core`
`keep-network/tbtc-v2`
Using the code from the `dapp-development` branch we will build
packages that will be published to the NPM registry under
`dapp-development-<environment>` tag and with `dappdev<environment>`
suffix (`<environment>` currently being `goerli`).
Generally, the goal of the changes is to have the full set of
dapp-development-friendly contracts deployed to the NPM registry, so
that they could be used to create dApp previews that will be easily
testable. The dApp developers could also use the contracts to build
dashboard on their local envirionment by upgrading the
`token-dashboard` dependencies using
`yarn upgrade <package-name>@dapp-development-goerli`.
THIS CHANGE:
In this commit/PR we modify the GH Actions job which is used for
publishing of the testnet dashboard to the main and preview testnet
buckets. We're splitting this job into two separate jobs:
- `build-and-deploy-testnet`:
Executed after merges to `main` or when dispatched manually.
Uses unmodified contracts (tagged `goerli`).
Publishes testnet dApp to `dashboard.test.threshold.network`
bucket.
- `build-and-deploy-testnet-preview`:
Executed after PR creation/update.
Uses modified contracts when availible
(tagged `dappdevgoerli`).
Publishes testnet dApp to
`preview.dashboard.test.threshold.network` bucket.
Provides link to the preview in PR comment.
0 commit comments