garm/util
Gabriel Adrian Samfira 5fdb69ac18 Add the ability to set tools download source (Gitea)
This change adds 2 new options to gitea forge endpoints:

* Tools metadata URL
* Use internal tools URLs

By default, GARM looks in the releases page of the gitea arc_runner
to determine where it can download the runner binary from for a particular
OS/arch. The tools metadata URL option can be set on an endpoint and can point
to a mirror of the upstream repo. The requirement is that the asset names
exactly mirror upstream naming conventions.

The second option disables GARM calling out to the tools metadata URL entirely.
GARM has some hardcoded values for nightly binaries. If this option is checked,
GARM will use those values, without making any kind of outgoing API call to
determine availability. This is useful in air-gapped environments.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-09-26 18:59:15 +03:00
..
appdefaults Add the ability to set tools download source (Gitea) 2025-09-26 18:59:15 +03:00
github Attempt to use the scalset API and caching 2025-08-24 22:36:44 +00:00
logging.go Make the debug-log command more useful 2025-08-27 13:21:56 +00:00
util.go Add runner install template management (#525) 2025-09-23 13:46:27 +03:00
util_test.go Add SPA UI for GARM 2025-08-16 09:09:13 +00:00