srid / nixci

Define and build CI for Nix projects anywhere; superceded by Omnix https://omnix.page/om/ci.html
GNU Affero General Public License v3.0
108 stars 5 forks source link

Stop using `github:nix-systems` #83

Closed srid closed 2 weeks ago

srid commented 1 month ago

https://github.com/srid/nixci/blob/25e8fd4e548573f6f703e9aa3c7d8623d20d17bc/src/nix/system_list.rs#L23-L25

Rationale

We keep hitting GitHub rate limits despite passing a token at the nixci CLI level:

https://github.com/juspay/omnix/actions/runs/9910699850/job/27381695570

image

Solution

We could embed all the system lists of https://github.com/nix-systems locally in nixci, and refer to it using local path, which should not require network access.

srid commented 1 month ago

For now, this seems to do the trick:

https://github.com/juspay/omnix/blob/7f9eaf29f67a2d4b3cc5be7740fc323ef5414ce8/.github/workflows/ci.yaml#L19-L23

image
srid commented 2 weeks ago

https://github.com/juspay/omnix/issues/210