Skip to content
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

init should generate a simple CI script that compiles and deploys contracts on main branch #112

Open
4 tasks
codespool opened this issue Feb 24, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@codespool
Copy link
Collaborator

codespool commented Feb 24, 2023

Overview (What and Why)

New projects should have an (optional) CI pipeline added to them.
Pipeline should compile and deploy the included contracts to swanky-node

How

  • add template for CI pipeline
  • add prompt on init and copy template if confirmed

Definition of Done

  • Above is implemented and merged
  • Docs updated

Open Issues and Blockers

@codespool codespool added the enhancement New feature or request label Feb 24, 2023
@shunsukew
Copy link
Contributor

Is this resolved by PR #122?

Or something else?

@shunsukew
Copy link
Contributor

shunsukew commented Mar 28, 2023

Having deploy scripts written in TS by default must be useful, but don't think we can call it CI.
Idea is TS script for deployment by default in scripts folder, executable by swanky contract run "filename", users can add scripts under that folder.

Use cases are

  • contract deploy automation
  • automate frequent operation of contracts
  • etc

@codespool
Copy link
Collaborator Author

Yes, the PR closes this.
Let's move it to "under review" until the docs are updated and it's included in a release.

Scripts are a good idea - can you create a new issue in the New/Idea section so we can discuss for next sprint?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants