garm/database/sql
Gabriel Adrian Samfira 9748aa47af Move URLs from default section of config to DB
This change moves the callback_url, metadata_url and webhooks_url from
the config to the database. The goal is to move as much as possible from
the config to the DB, in preparation for a potential refactor that will
allow GARM to scale out. This would allow multiple nodes to share a single
source of truth.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2024-06-07 09:27:24 +00:00
..
common_test.go fix: remove unused cobra args 2024-02-22 17:20:05 +01:00
controller.go Move URLs from default section of config to DB 2024-06-07 09:27:24 +00:00
controller_test.go fix: unused-parameter linter findings 2024-02-22 16:54:38 +01:00
enterprise.go List credentials from db 2024-04-22 14:08:37 +00:00
enterprise_test.go feat: garm pools do not force default labels 2024-05-21 11:55:12 +02:00
github.go Move the name check before tx 2024-05-07 10:07:47 +00:00
github_test.go Add DB migration test 2024-05-07 11:52:26 +00:00
instances.go Slightly simplify code 2024-03-30 18:22:06 +00:00
instances_test.go feat: garm pools do not force default labels 2024-05-21 11:55:12 +02:00
jobs.go Rename PoolType to GithubEntityType 2024-03-17 06:58:03 +00:00
models.go Move URLs from default section of config to DB 2024-06-07 09:27:24 +00:00
organizations.go List credentials from db 2024-04-22 14:08:37 +00:00
organizations_test.go feat: garm pools do not force default labels 2024-05-21 11:55:12 +02:00
pools.go Remove check for duplicate pool 2024-05-10 08:12:44 +00:00
pools_test.go feat: garm pools do not force default labels 2024-05-21 11:55:12 +02:00
repositories.go Remove check for duplicate pool 2024-05-10 08:12:44 +00:00
repositories_test.go feat: garm pools do not force default labels 2024-05-21 11:55:12 +02:00
sql.go Update database/sql/sql.go 2024-05-07 13:13:16 +03:00
users.go Use database for github creds 2024-04-22 14:03:25 +00:00
users_test.go Update dependencies and tests 2024-04-22 13:39:04 +00:00
util.go Fetch credentials from DB 2024-04-24 13:59:15 +00:00