This repository has been archived by the owner on Mar 28, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Intro
On contract migration in Circle we're using the Tenderly CLI to push the newly deployed contracts to our Tenderly dashboard. This lets the folks at Tenderly associate transactions from our private networks, or ropsten with contracts and offer all the sweet insights they do.
What We Did
Circle Context / Access
A new Circle Context for
TENDERLY_TOKEN
. This is used with thetenderly login
step and is required before we can push contracts. We've addedhemidall@thesis.co
to our Tenderly dashboard and are using the token for that account for Circle migrations. This token as push only access to the dashboard. Login info for Heimdalls account on Tenderly is in 1Password.circleci-migrate-contracts.sh
We've added an additional step post contract migration that does
tenderly login
andtenderly push
. You can see the output of our initial test on this job. If you're already logged in the login step doesn't fail, it just continues to push.utility-box
Installed Tenderly via curl instructions here. There will be a follow up PR to integrate this install with utility-box setup, on the Terraform side. That should not block merging here though, I've manually installed the tool for now in both keep-dev and keep-test.