usecannon / cannon

Manage EVM protocol deployments. Inspired by Docker, Terraform, and npm.
https://usecannon.com
GNU General Public License v3.0
104 stars 21 forks source link

feat(cli): add `--write-deployments` to the build command #1216

Closed saeta-eth closed 3 months ago

saeta-eth commented 3 months ago

Closes https://linear.app/usecannon/issue/CAN-412/add-write-deployments-to-build-command

This PR adds the --write-deployments flag to the build command.

Example: cannon build omnibus-base-mainnet-andromeda.toml --keep-alive --write-deployments ./deployments --dry-run --port 8545 --upgrade-from synthetix-omnibus:latest@andromeda --chain-id 8453 --provider-url https://base-rpc.publicnode.com

Screenshot 2024-07-23 at 1 23 44 PM
changeset-bot[bot] commented 3 months ago

⚠️ No Changeset found

Latest commit: 0e8ffb773571f444f3094ae60bd75d49ad73738d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

nx-cloud[bot] commented 3 months ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 0e8ffb773571f444f3094ae60bd75d49ad73738d. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target - [`lerna run build --ignore cannon-website --ignore @usecannon/indexer --ignore repo --ignore @usecannon/api`](https://cloud.nx.app/runs/M4rwbJz0xJ?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.

saeta-eth commented 3 months ago

Output example:

Screenshot 2024-07-23 at 1 29 33 PM