Commit Graph

34 Commits

Author SHA1 Message Date
Nikola Jokic b308691b50
remove vault server tls 2025-06-09 08:35:19 +02:00
Nikola Jokic c3ce54cabc
Avoid envs and extend CRDs with vault config; remove controller dependency completely 2025-06-06 17:42:06 +02:00
Nikola Jokic 69dfa4e375
lint 2025-06-05 13:58:24 +02:00
Nikola Jokic e8c330d351
config test fix 2025-06-05 13:44:55 +02:00
Nikola Jokic da0ca64125
Lint again 2025-06-05 13:30:51 +02:00
Nikola Jokic 23685a774d
Fix tests 2025-06-05 13:23:40 +02:00
Nikola Jokic 88b8ba6aaf
Merge branch 'master' into nikola-jokic/key-vault 2025-06-05 09:28:26 +02:00
Nikola Jokic 379f466d8f
Refactor secret resolver implementation, add vault type and modify autoscaling listener controller to search for app config instead of secret 2025-06-05 09:15:46 +02:00
Ryo Sakamoto 97697e80b4
Add job_workflow_ref label to listener metrics (#4054)
Signed-off-by: rskmm0chang <rskmm0chang@hatena.ne.jp>
2025-06-05 08:33:30 +02:00
Nikola Jokic 74ed8e6838
wip: resolve conflicts 2025-06-04 20:07:43 +02:00
Nikola Jokic 25b32797ea
Adding config read to the ghalistener 2025-06-04 13:27:56 +02:00
Nikola Jokic 1dbb88cb9e
Allow use of client id as an app id (#4057) 2025-05-16 16:21:06 +02:00
Ryosei Karaki f832b0b254
upgrade(golangci-lint): v2.1.2 (#4023)
Signed-off-by: karamaru-alpha <mrnk3078@gmail.com>
2025-04-17 16:14:31 +02:00
David Maxwell ea27448da5
Fix busy runners metric (#4016) 2025-04-04 17:17:09 +02:00
Nikola Jokic 5a960b5ebb
Create configurable metrics (#3975) 2025-03-24 15:27:42 +01:00
Nikola Jokic fb9b96bf75
Update all dependencies, conforming to the new controller-runtime API (#3949) 2025-03-11 15:52:52 +01:00
Nikola Jokic 7a5996f467
Remove old githubrunnerscalesetlistener, remove warning and fix config bug (#3937) 2025-03-07 11:58:16 +01:00
Chris Johnston ddc872d3ee
metrics cardinality for ghalistener (#3671)
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>
Co-authored-by: Nikola Jokic <jokicnikola07@gmail.com>
2025-02-26 15:34:17 +01:00
Han-Wen Nienhuys f673a085b0
cmd/ghalistener/config: export Validate (#3870)
Co-authored-by: Han-Wen Nienhuys <hanwenn@gmail.com>
2025-01-17 12:25:33 +01:00
Nikola Jokic 3bda9bb240
Refresh session if token expires during delete message (#3529) 2024-05-17 15:16:38 +02:00
Nikola Jokic ab92e4edc3
Re-use the last desired patch on empty batch (#3453) 2024-05-17 15:12:16 +02:00
Nikola Jokic f965dfef73
Shutdown metrics server when listener exits (#3445) 2024-04-16 21:29:03 +02:00
Nikola Jokic 4ee49fee14
Propagate max capacity information to the actions back-end (#3431) 2024-04-16 14:00:40 +02:00
Nikola Jokic 963ae48a3f
Include self correction on empty batch and avoid removing pending runners when cluster is busy (#3426) 2024-04-16 12:55:25 +02:00
Nikola Jokic 7a643a5107
Fix overscaling when the controller is much faster then the listener (#3371)
Co-authored-by: Francesco Renzi <rentziass@gmail.com>
2024-03-20 15:36:12 +01:00
Nikola Jokic 814947c60e
Update metrics to include repository on job-based label (#3310)
Co-authored-by: Samuel Rats <samuel.rats@teads.com>
2024-03-18 12:45:52 +01:00
Nikola Jokic 7da2d7f96a
Fix acquire jobs after session refresh ghalistener (#3307) 2024-02-27 17:37:42 +01:00
Nikola Jokic f7b6ad901d
Add listener graceful termination period and background context after the message is received (#3187) 2024-01-25 15:45:07 +01:00
Nikola Jokic 728f05c844
Delete message session when `listener.Listen` returns (#3240) 2024-01-25 15:12:19 +01:00
Nikola Jokic c00465973e
Publish metrics in the new ghalistener (#3193) 2024-01-25 14:46:42 +01:00
Nikola Jokic a029b705cd
Fix proxy issue in new listener client (#3181) 2023-12-21 15:35:36 +01:00
Nikola Jokic f7eb88ce9c
Change minRunners behavior and fix the new listener min runners (#3139) 2023-12-13 19:39:21 +01:00
Nikola Jokic 0fd8eac305
Update user agent for new ghalistener (#3138) 2023-12-08 14:01:22 +01:00
Nikola Jokic b78cadd901
Refactoring listener app with configurable fallback (#3096) 2023-12-08 13:41:06 +01:00