From cabc374014cc133472c7ef12b28db10d7411bd9a Mon Sep 17 00:00:00 2001 From: eding Date: Thu, 30 Jul 2026 01:30:20 +0200 Subject: [PATCH] fix: default Tekton catalog to Forgejo --- internal/config/config.go | 2 +- internal/config/config_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index 0d0a656..f84167d 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -110,7 +110,7 @@ func applyDefaults(cfg *Config) { cfg.Templates.ManifestsRepoRef = "main" } if cfg.Templates.TektonCatalogRepoURL == "" { - cfg.Templates.TektonCatalogRepoURL = "https://github.com/Pingu-Studio/tekton-pipelines.git" + cfg.Templates.TektonCatalogRepoURL = "https://git.pingu.pw/Maidn/tekton-pipelines.git" } if cfg.Templates.TektonCatalogRepoRef == "" { cfg.Templates.TektonCatalogRepoRef = "main" diff --git a/internal/config/config_test.go b/internal/config/config_test.go index f427cb6..3f3e126 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -35,7 +35,7 @@ func TestResolveDefaultsWebhookEndpoint(t *testing.T) { if cfg.Delivery.WebhookURL() != "https://tekton.example.test/" { t.Fatalf("WebhookURL() = %q", cfg.Delivery.WebhookURL()) } - if cfg.Templates.TektonCatalogRepoURL != "https://github.com/Pingu-Studio/tekton-pipelines.git" || cfg.Templates.TektonCatalogRepoRef != "main" { + if cfg.Templates.TektonCatalogRepoURL != "https://git.pingu.pw/Maidn/tekton-pipelines.git" || cfg.Templates.TektonCatalogRepoRef != "main" { t.Fatalf("Tekton catalog defaults = %q@%q", cfg.Templates.TektonCatalogRepoURL, cfg.Templates.TektonCatalogRepoRef) } } -- 2.43.7