garm/database/sql
Gabriel Adrian Samfira be4f303b82 Remove check for duplicate pool
This change removes a check that denies the creation of a pool
if the new pool has the same image and flavor set on the same
provider. The reasoning for that check was that if you need to
create another pool with identical settings to an existing one,
you might as well scale up the min-idle-runners on the old one.

This was done when runner groups were not yet added. This in
turn has forced users to alias images with new names in their
provider, leading to terrible UX. In the end, being too
opinionated in this case has caused more harm than good.

Fixes #245

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2024-05-10 08:12:44 +00:00
..
common_test.go fix: remove unused cobra args 2024-02-22 17:20:05 +01:00
controller.go fix: unused-parameter linter findings 2024-02-22 16:54:38 +01: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 Remove check for duplicate pool 2024-05-10 08:12:44 +00: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 Fix tests 2024-04-22 14:03:25 +00:00
jobs.go Rename PoolType to GithubEntityType 2024-03-17 06:58:03 +00:00
models.go Use database for github creds 2024-04-22 14:03:25 +00:00
organizations.go List credentials from db 2024-04-22 14:08:37 +00:00
organizations_test.go Remove check for duplicate pool 2024-05-10 08:12:44 +00:00
pools.go Remove check for duplicate pool 2024-05-10 08:12:44 +00:00
pools_test.go Fix tests 2024-04-22 14:03:25 +00:00
repositories.go Remove check for duplicate pool 2024-05-10 08:12:44 +00:00
repositories_test.go Remove check for duplicate pool 2024-05-10 08:12:44 +00: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