ubuntu-latest now gets the machine it gets on GitHub, and the job is billed as that machine.
Closes #169
ubuntu-latest in | GitHub | g1t before | g1t now |
|---|---|---|---|
| A public repository | 4 vCPU, 16 GB | 2 vCPU, 8 GiB | 4 vCPU, 12 GiB (standard-4), $0.007/min |
| A private repository | 2 vCPU, 8 GB | 2 vCPU, 8 GiB | 2 vCPU, 8 GiB (standard-3), $0.004/min |
- A machine named in
runs-on(g1t-2core,g1t-4core) is that machine in any repository. - 12 GiB is the most a Containers instance has without a raised account limit.
- The plan service reads visibility from the run's event (
repository.private). - The runner keeps the resolved label on the job's meter, and billing prices the job by it.
- g1t's workflows use
ubuntu-latestthroughout. This repository is public, so its jobs get 4 vCPU.
Docs
The machine tables are updated. The open-source pool and the trial now give minutes per machine.
Checks
cargo test -p g1t-contracts -p g1t-billing -p g1t-actions-service, with new tests.- The runner's and the deploy tool's tests.
prettier --check .