platform
platform copied to clipboard
Speed up CI and reduce costs
Docker image build:
- [ ] Make sure we reuse docker layers
- [ ] cache error in docker build logs
Drive ABCI:
- [ ] Disable logs in Drive ABCI tests
- [ ] #2257
- [ ] Revisit dependency tree
- [ ] Too much RAM consuming
Rust complication and tests:
- [ ] Use nextest to split tests into separate jobs
- [ ] Enable rust build cache between runs
- [ ] Move all possible tests back to free runners
Workflows:
- [ ] Inpect current issues and errors
- [ ] Remove extra runs (i.e. for each PR we run twice on merge and push to master. also after merge CI is not canceling)
- [ ] Revisit dependecny of package tests
- [ ] #2308
- [ ] https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md
- [ ] Running jobs for PRs from forks
- [ ] https://github.com/dashpay/platform/pull/2295
TBD: Split into 2-3 categories when we can run light tests for free and then long-running (upgrade tests in drive abci) on demain or when we merge the PR
Infrastructure:
- [ ] Spot instances
- [ ] On-demand runners if we out of sport instances
- [ ] Use cheaper regions
- [ ] Choose and fine tune the instance types according to the jobs