Gabriel
4e157fc4cc
Update Dockerfile
2025-05-21 23:46:29 +03:00
Gabriel
ac0caa2ed9
Merge pull request #402 from gabriel-samfira/fix-parse-error
...
Fix potential nil pointer dereference
2025-05-21 22:50:44 +03:00
Gabriel Adrian Samfira
cfe707e522
Fix potential nil pointer dereference
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-21 19:45:23 +00:00
Gabriel
8c16ee92b3
Merge pull request #400 from kaspar030/patch-1
...
Fix some typos in scalesets.md
2025-05-21 17:45:25 +03:00
Kaspar Schleiser
8e8d7fd364
Fix some typos in scalesets.md
2025-05-21 16:39:22 +02:00
Gabriel
7646ff4429
Merge pull request #399 from cloudbase/gabriel-samfira-patch-1
...
Update gitea.md
2025-05-21 13:52:45 +03:00
Gabriel
93768a2796
Update gitea.md
2025-05-21 13:52:15 +03:00
Gabriel
65aa92f517
Merge pull request #398 from gabriel-samfira/add-docker-compose-example
...
Add examples for setting up GARM with Gitea
2025-05-21 13:28:48 +03:00
Gabriel Adrian Samfira
1c758d010a
Add examples for setting up GARM with Gitea
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-21 10:27:59 +00:00
Gabriel
c85aea2d26
Merge pull request #396 from cloudbase/fix-schedule
...
Use default values for ref and push to project
2025-05-21 11:10:53 +03:00
Gabriel
f95bfee0d9
Merge pull request #397 from cloudbase/dependabot/go_modules/golang.org/x/mod-0.24.0
...
Bump golang.org/x/mod from 0.17.0 to 0.24.0
2025-05-21 09:43:07 +03:00
dependabot[bot]
4cf1468907
Bump golang.org/x/mod from 0.17.0 to 0.24.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.17.0 to 0.24.0.
- [Commits](https://github.com/golang/mod/compare/v0.17.0...v0.24.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-version: 0.24.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-21 06:30:29 +00:00
Gabriel Adrian Samfira
c5c35f1324
Use default values for ref and push to project
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-21 05:03:07 +00:00
Gabriel
0068119c34
Merge pull request #395 from gabriel-samfira/add-cli-to-docker-image
...
Add CLI to docker image
2025-05-21 00:15:54 +03:00
Gabriel Adrian Samfira
269c6064e7
Add CLI to docker image
...
This change adds the GARM cli to the docker image.
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-20 21:15:08 +00:00
Gabriel
b7798404f8
Merge pull request #394 from cloudbase/update-build-and-push
...
Allow for nightly builds
2025-05-20 23:20:55 +03:00
Gabriel Adrian Samfira
bdcc817def
Enable daily cron
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-20 20:10:08 +00:00
Gabriel Adrian Samfira
b41318c948
Allow for nightly builds
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-20 17:00:59 +00:00
Gabriel
dee6bf7c9a
Merge pull request #393 from gabriel-samfira/add-gitea
...
Add gitea
2025-05-20 19:26:46 +03:00
Gabriel Adrian Samfira
1fc72ab5c8
Add more tests
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-20 16:12:45 +00:00
Gabriel Adrian Samfira
1fe09548bc
Add more tests
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-20 13:52:16 +00:00
Gabriel Adrian Samfira
b4268e6bab
Fix tests
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-20 09:52:13 +00:00
Gabriel Adrian Samfira
6994c8ce05
Add copyright header
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-20 09:43:29 +00:00
Gabriel Adrian Samfira
f0753eeb22
Add more tests
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-20 09:22:55 +00:00
Gabriel Adrian Samfira
b2d5609352
Add some tests
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-19 19:45:45 +00:00
Gabriel Adrian Samfira
bb798a288a
Properly set webhook secret
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-16 23:58:39 +00:00
Gabriel Adrian Samfira
6a168ba813
Enable orgs
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-16 23:02:01 +00:00
Gabriel Adrian Samfira
5dfcfc542e
Implement webhooks install for gitea
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-16 20:24:11 +00:00
Gabriel Adrian Samfira
08511e2e7f
Account for gitea credentials in cache and watchers
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-15 09:15:44 +00:00
Gabriel Adrian Samfira
b4e92a69c9
Fix existing tests
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-14 23:20:18 +00:00
Gabriel Adrian Samfira
0270117e8d
Fix lint errors
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-14 22:01:11 +00:00
Gabriel Adrian Samfira
39ac658527
Add forge type to repo list
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-14 21:33:46 +00:00
Gabriel Adrian Samfira
3fe4cef884
Cleanup unused code
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-14 21:14:31 +00:00
Gabriel Adrian Samfira
f66b651b59
Fix findEndpointForJob
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-14 21:09:02 +00:00
Gabriel Adrian Samfira
56be5eb698
Do not load scalesets and runners in parallel
...
Both functions read and write to the same map. We should switch
to sync.Map
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-14 15:36:53 +00:00
Gabriel Adrian Samfira
8538a4ae8a
Make sure websocket hub exits properly
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-14 15:22:27 +00:00
Gabriel Adrian Samfira
823a9e4b82
Add Gitea endpoints and credentials
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-14 00:34:54 +00:00
Gabriel Adrian Samfira
40e6581a75
Rename GitHub specific types
...
This change renames a lot of variables, types and functions to be more
generic. The goal is to allow GARM to add more forges in the future.
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-12 21:47:13 +00:00
Gabriel Adrian Samfira
4890eb4732
Add EndpointType
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-12 17:32:37 +00:00
Gabriel Adrian Samfira
ef676488b7
Use cache for github client
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-10 20:08:51 +00:00
Gabriel
5dbaa351d2
Merge pull request #392 from gabriel-samfira/docs
...
Slight rewording
2025-05-10 09:15:11 +03:00
Gabriel Adrian Samfira
41700cd958
Slight rewording
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-10 06:14:38 +00:00
Gabriel
fd6f01d2c0
Merge pull request #391 from gabriel-samfira/add-some-docs
...
Add some info about scale sets
2025-05-10 00:29:19 +03:00
Gabriel Adrian Samfira
979c07adbe
Add some info about scale sets
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-09 21:28:29 +00:00
Gabriel
6b4c4f610e
Merge pull request #390 from gabriel-samfira/add-some-parallel-startup
...
Load entities in parallel
2025-05-09 01:31:10 +03:00
Gabriel Adrian Samfira
68183384dc
Load entities in parallel
...
This change uses an error group to load different DB resources
in parallel.
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-08 22:26:40 +00:00
Gabriel
49147a015a
Merge pull request #389 from gabriel-samfira/fixes-and-rate-limits
...
Add rate limit cache and fixes
2025-05-09 00:49:28 +03:00
Gabriel Adrian Samfira
1a719567ff
Add rate limit cache and fixes
...
This change adds a loop that keeps a cache of credentials rate limits
as reported by the github API. The cache is updated every 30 seconds
and is purely informational for the user.
This change also adds some caching improvements. Functions that return
values from the cache as lists, will now sort by ID or creation date.
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-08 21:39:55 +00:00
Gabriel
16af8fd97f
Merge pull request #387 from gabriel-samfira/add-tools-update
...
Add tools update routine and cleanup logging
2025-05-08 11:35:41 +03:00
Gabriel Adrian Samfira
2e9535530d
Fix entity update handler
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-08 08:27:41 +00:00