Forgejo: mirror actions locally and set DEFAULT_ACTIONS_URL = self #17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up from #15 /
docs/forgejo-runner-dns.md. Not urgent.Problem
Every Actions job starts with the runner fetching
https://data.forgejo.org/<action>for eachuses:that isn't an absolute URL (actions/checkout,docker/metadata-action,docker/setup-buildx-action, …). That is the only time the cluster resolvesdata.forgejo.org, and it was the single point of failure behind the "Could not resolve host: data.forgejo.org" job failures. #15 made the lookup resilient; this removes the external dependency at job start altogether.Proposed
[actions] DEFAULT_ACTIONS_URL = selfinapp.ini.actionsorg (anddockerorg, or whatever owners the workflows reference) on code.m.ac.nz and add pull mirrors of the actions in use fromhttps://data.forgejo.org/<owner>/<repo>. Inventory theuses:lines across simpleplayer-svc, simpleplayer-helper, iam.svc and this repo first.refresolution works for the pinned refs (@v7etc.) once mirrored, and that mirror sync intervals are sane.Notes
uses: https://data.forgejo.org/...) are unaffected and keep the external dependency; decide whether to normalise them.