Gabriel Adrian Samfira
f40420bfb6
Add ability to specify github enpoints for creds
...
The GitHub credentials section now allows setting some API endpoints
that point the github client and the runner setup script to the propper
URLs. This allows us to use garm with an on-prem github enterprise server.
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2022-10-21 17:14:03 +03:00
Gabriel Adrian Samfira
b4ac128673
Create a testing package for common utilities
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2022-09-15 17:48:09 +03:00
mihaelabalutoiu
8c910d904f
Cleanup duplicate code
2022-09-14 12:55:26 +03:00
Gabriel Adrian Samfira
afb1d31394
Slight cleanup
...
* added interface for the github client. This will help mocking it
out for testing.
* removed some unused code
* moved some code around
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2022-07-07 16:48:00 +00:00
Gabriel Adrian Samfira
63824247be
Optimize orphan cleanup and add Debian to OS list
...
* Runner names are unique. Skip querying pool, then runner name. Just fetch
the runner, which has a PoolID field set that can be used to determine the
pool.
* Add Debian to the list of Linux OSs
2022-06-24 10:01:20 +00:00
Gabriel Adrian Samfira
0b70a30944
Add external providers and an example
...
Add the ability to externalize providers to a binary on disk.
2022-05-09 17:11:47 +00:00
Gabriel Adrian Samfira
5e0a64f909
Add license headers
2022-05-05 13:25:50 +00:00
Gabriel Adrian Samfira
1dda4a835c
Rename project to garm
...
Project renamed to garm (Github Actions Runner Manager)
2022-05-04 11:44:10 +00:00
Gabriel Adrian Samfira
1bb7f51f56
Format error messages
2022-05-03 20:49:39 +00:00
Gabriel Adrian Samfira
2bd128af13
Runners now send status messages
2022-05-03 19:49:14 +00:00
Gabriel Adrian Samfira
7ec937a138
Main webhook cases implemented
...
Queued, completed and in_progress workflow_job messages are now
acted upon.
2022-04-29 23:43:37 +00:00
Gabriel Adrian Samfira
0883fcd5cd
Add some basic auth
2022-04-28 16:13:20 +00:00
Gabriel Adrian Samfira
66b46ae0ab
Implement some more db functions
2022-04-27 16:56:28 +00:00
Gabriel Adrian Samfira
62ba5a5a08
WiP
2022-04-26 20:29:58 +00:00
Gabriel Adrian Samfira
2be5653683
Added some DB logic
2022-04-25 00:21:44 +00:00
Gabriel Adrian Samfira
ebec0dda52
Handle org runners
2022-04-22 14:46:27 +00:00
Gabriel Adrian Samfira
d68b842375
LXD provider can create workers
...
The bare minimum needed code to successfully create an instance that
installs and launches a runner is there.
2022-04-19 14:42:10 +00:00
Gabriel Adrian Samfira
eb28542110
Added cloud config
2022-04-18 17:26:13 +00:00
Gabriel Adrian Samfira
9d2ab57603
Add some LXD provider code
2022-04-15 15:22:47 +00:00