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

Setup CI & CD for fil-deal-ingester #28

Open
5 tasks
bajtos opened this issue Jan 6, 2025 · 1 comment
Open
5 tasks

Setup CI & CD for fil-deal-ingester #28

bajtos opened this issue Jan 6, 2025 · 1 comment

Comments

@bajtos
Copy link
Member

bajtos commented Jan 6, 2025

Whenever a new commit is pushed to main, we want to update the Fly machine to run the latest version. Here is a good example for inspiration:

https://github.com/filecoin-station/spark-evaluate/blob/7cb6cea026d16cdfbe4fecbb0d2fa018c543f0ed/.github/workflows/ci.yml#L74-L126

To prevent landing of pull requests that will break the service, we should implement at least a minimal CI workflow:

CI/CD steps to implement:

  • Ensure cargo build passes
  • Consider running cargo clippy and cargo fmt checks too
  • Consider running npx standard to enforce consistent formatting of the JavaScript code
  • Ensure docker build passes
  • Automatically deploy the main branch to Fly.io
@bajtos
Copy link
Member Author

bajtos commented Jan 6, 2025

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

No branches or pull requests

1 participant