-
Notifications
You must be signed in to change notification settings - Fork 20
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
build: Build and deploy testnet #129
Conversation
7de229d
to
073c40d
Compare
run: | | ||
cd hardhat | ||
npm ci | ||
doppler run -- npx hardhat deploy --network arbitrumSepolia |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to validate this works locally, to confirm we get the same contract addresses every time.
@@ -0,0 +1,17 @@ | |||
name: Restart Testnet job creator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💃 🕺 🎉 thank you @bgins !
073c40d
to
abc2bbd
Compare
f8c77b0
to
42504b4
Compare
* docs: Update VM instructions to use Ubuntu * build: Add testnet contracts deploy action * build: Remove Cloudflare token and Doppler config * build: Add testnet solver and job-creator build and deploy * build: Add restart Testnet solver and job creator actions
Review Type Requested (choose one):
Summary
This pull request implements the following changes:
testnet_deploy_contracts
actiontestnet_deploy_services
action to build and deploy solver and job-creator to Testnettestnet_restart_solver
andtestnet_restart_job_creator
actions to restarts services individuallyAll GitHub actions are run on-demand for the moment.
Note that
testnet_deploy_contracts
depends on the #122 where thearbitrumSepolia
network is defined. We could wait on this one if we prefer to hold off until the other PR is merged.Task/Issue reference
Implements #124
Details
How to test this code?
Local builds for the Docker images should succeed and work with the local stack.
The GH actions can only be run on-demand once this PR reaches
main
, but here are the last runs while working on them:testnet_deploy_services
: https://github.com/Lilypad-Tech/lilypad/actions/runs/9310164136testnet_restart_solver
: https://github.com/Lilypad-Tech/lilypad/actions/runs/9312184243testnet_restart_job_creator
: https://github.com/Lilypad-Tech/lilypad/actions/runs/9312184244testnet_deploy_contracts
has not been tested, but is quite similar to the Devnet contract deploy action:lilypad/.github/workflows/devnet_deploy.yml
Lines 9 to 28 in acf81d1