You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The files starting with `0n` (`n` greater than 0) are the scripts that are run
50
50
in order.
51
51
52
-
###Cache
52
+
## Cache
53
53
54
54
In order to avoid rebuilding all dependencies for each build, the binaries are
55
55
cached and reused when possible. Changes in the dependency-generator will
56
56
trigger cache-invalidation and rebuilds as necessary.
57
+
58
+
## Configuring a repository for CI
59
+
60
+
### Primary repository
61
+
62
+
To configure the primary repository, follow these steps:
63
+
64
+
1. Register with [Cirrus Runners](https://cirrus-runners.app/) and purchase runners.
65
+
2. Install the Cirrus Runners GitHub app against the GitHub organization.
66
+
3. Enable organisation-level runners to be used in public repositories:
67
+
1.`Org settings -> Actions -> Runner Groups -> Default -> Allow public repos`
68
+
4. Permit the following actions to run:
69
+
1. cirruslabs/cache/restore@\*
70
+
1. cirruslabs/cache/save@\*
71
+
1. docker/setup-buildx-action@\*
72
+
1. actions/github-script@\*
73
+
74
+
### Forked repositories
75
+
76
+
When used in a fork the CI will run on GitHub's free hosted runners by default.
77
+
In this case, due to GitHub's 10GB-per-repo cache size limitations caches will be frequently evicted and missed, but the workflows will run (slowly).
78
+
79
+
It is also possible to use your own Cirrus Runners in your own fork with an appropriate patch to the `REPO_USE_CIRRUS_RUNNERS` variable in ../.github/workflows/ci.yml
80
+
NB that Cirrus Runners only work at an organisation level, therefore in order to use your own Cirrus Runners, *the fork must be within your own organisation*.
0 commit comments