-
Notifications
You must be signed in to change notification settings - Fork 36
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
Add job deploying contracts from dapp-development
branch
#392
Commits on Aug 3, 2022
-
Add job deploying contracts from
dapp-development
branchThere 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 upstream modules of `threshold-network/token-dashboard` CI module, which would store the code of these modified contracts. In this PR we create a `contracts-dapp-development-deployment-testnet` job which deploys the contracts, creates an NPM package (with `dappdev<environment>` suffix and `dapp-development-<environment>` tag) and publishes it to the NPM registry. At the end of the job we don't have a step informing CI about completion of the workflow because we don't want to start the deployment of the T Token Dashboard (which will soon be added as a downstream module to the CI config) on a public testnet using modified contracts. The job gets triggered only as a result of `workflow_dispath` event from a `dapp-development` branch. Currently only `goerli` environment is supported. We don't run system and unit tests for `dapp-development` branch, as the tests are not configured to work with the modified contracts. Generally, the goal of the changes is to have the full set of dapp-development-friendly contracts deployed to the NPM registry, so that the dApp developers could quickly use them by upgrading the `token-dashboard` dependencies using `yarn upgrade <package-name>@dapp-development-goerli`. If the workflow gets dispatched from a different branch than `dapp-development`, the deploy will behave as it used to, publishing package with deployed unmodified contracts to the NPM registry under `<environment>` tag.
Configuration menu - View commit details
-
Copy full SHA for 07ef60f - Browse repository at this point
Copy the full SHA 07ef60fView commit details -
Use different accounts for deploying 'normal' and 'dapp-dev' contracts
The contracts deployed in the `contracts-dapp-development-deployment-testnet` job will be used by dApp developers to build their local environments and deploy dApp previews. We want more flexibility there than on the public-facing testnet dApp and we want to use different deployer accounts for those two different types of testnet dApps.
Configuration menu - View commit details
-
Copy full SHA for 1789b50 - Browse repository at this point
Copy the full SHA 1789b50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35a59ae - Browse repository at this point
Copy the full SHA 35a59aeView commit details
Commits on Aug 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f71fe0b - Browse repository at this point
Copy the full SHA f71fe0bView commit details -
Bump up the actions to the latest versions
Newer versions of actions used in our workflows are available.
Configuration menu - View commit details
-
Copy full SHA for b8a50d7 - Browse repository at this point
Copy the full SHA b8a50d7View commit details -
Add temporary testing configuration
Changes not intended for merge to `main`.
Configuration menu - View commit details
-
Copy full SHA for bfdd3bb - Browse repository at this point
Copy the full SHA bfdd3bbView commit details
Commits on Aug 17, 2022
-
Remove the default value for
environment
inputWe don't want to fill the default value with value that is supported, to prevent from accidental dispatches of the workflow by people who don't fully understand how the inputs should be configured. Previously we used explicitely incorrect default value, but that may be too much and may be a bit confusing. Let's leave the input without default.
Configuration menu - View commit details
-
Copy full SHA for 6ad6907 - Browse repository at this point
Copy the full SHA 6ad6907View commit details -
Change value of the package name's suffix
Previously `-` was not supported as a value of `environment` property in the `npm-version-bump` action. Now action supports hyphens and we can change the suffix to more readible format.
Configuration menu - View commit details
-
Copy full SHA for 9e5091c - Browse repository at this point
Copy the full SHA 9e5091cView commit details
Commits on Sep 14, 2022
-
Fix getting upstream version of random-beacon and ecdsa package
We no longer use `/solidity` in the name of the `keep-core` CI modules. We already replaced the old names with the new ones, but we missed one place where the old names were still being used. This commit fixes that.
Configuration menu - View commit details
-
Copy full SHA for 2aef311 - Browse repository at this point
Copy the full SHA 2aef311View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb499af - Browse repository at this point
Copy the full SHA bb499afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d77871 - Browse repository at this point
Copy the full SHA 8d77871View commit details
Commits on Sep 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3ff852f - Browse repository at this point
Copy the full SHA 3ff852fView commit details