Skip to content

Build previews using dapp-development-goerli packages #161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 20, 2022
Merged

Conversation

michalinacienciala
Copy link
Contributor

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 dapp-development-<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 we configure the dashboard-ci.yml workflow to use the
packages tagged dapp-development-goerli when building PR previews.
We also upgrade actions to newer versions.

Refs:
#136
threshold-network/solidity-contracts#119
threshold-network/keep-core#3121
threshold-network/tbtc-v2#392

**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 `dapp-dev-<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 we configure the `dashboard-ci.yml` workflow to use the
packages tagged `dapp-dev-goerli` when building PR previews.
@github-actions
Copy link

@michalsmiarowski michalsmiarowski added the ☁️ infrastructure CI, Infrastructure, Workflows label Aug 22, 2022
@github-actions
Copy link

1 similar comment
@github-actions
Copy link

@nkuba nkuba merged commit c8622a7 into main Sep 20, 2022
@nkuba nkuba deleted the ci-dapp-dev-2 branch September 20, 2022 12:16
@r-czajkowski r-czajkowski added this to the v1.3.0 milestone Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
☁️ infrastructure CI, Infrastructure, Workflows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants