You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/08/22 12:15:14 UTC

[camel-k] 05/06: chore: default catalog build time to 2 mins

This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit aece6c9937ccbeafe0d20091df899771dedb6c02
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon Aug 21 13:07:48 2023 +0200

    chore: default catalog build time to 2 mins
---
 e2e/support/test_support.go | 2 +-
 pkg/platform/defaults.go    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/e2e/support/test_support.go b/e2e/support/test_support.go
index 3de4c50fe..9e8e07b1f 100644
--- a/e2e/support/test_support.go
+++ b/e2e/support/test_support.go
@@ -1523,7 +1523,7 @@ func CreatePlainTextSecret(ns string, name string, data map[string]string) error
 	return CreatePlainTextSecretWithLabels(ns, name, data, map[string]string{})
 }
 
-func UpdateCreatePlainTextSecret(ns string, name string, data map[string]string) error {
+func UpdatePlainTextSecret(ns string, name string, data map[string]string) error {
 	sec := corev1.Secret{
 		TypeMeta: metav1.TypeMeta{
 			Kind:       "Secret",
diff --git a/pkg/platform/defaults.go b/pkg/platform/defaults.go
index a7711e4cc..fe732420b 100644
--- a/pkg/platform/defaults.go
+++ b/pkg/platform/defaults.go
@@ -378,9 +378,9 @@ func setPlatformDefaults(p *v1.IntegrationPlatform, verbose bool) error {
 
 	// Catalog tools build timeout
 	if p.Status.Build.GetBuildCatalogToolTimeout().Duration == 0 {
-		log.Debugf("Integration Platform %s [%s]: setting default build camel catalog tool timeout (1 minute)", p.Name, p.Namespace)
+		log.Debugf("Integration Platform %s [%s]: setting default build camel catalog tool timeout (2 minutes)", p.Name, p.Namespace)
 		p.Status.Build.BuildCatalogToolTimeout = &metav1.Duration{
-			Duration: 1 * time.Minute,
+			Duration: 2 * time.Minute,
 		}
 	} else {
 		d := p.Status.Build.GetBuildCatalogToolTimeout().Duration.Truncate(time.Second)