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 2025/09/14 08:55:43 UTC

(camel-k) branch release-2.7.x updated (629ed4e0f -> 49f5ac3fa)

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

pcongiusti pushed a change to branch release-2.7.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git


    from 629ed4e0f chore(doc): remove cross references from other Camel components
     new e6e1d56df chore(e2e): remove github tests
     new 49f5ac3fa chore(deps): fix vuln

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 e2e/common/cli/run_test.go | 65 ----------------------------------------------
 go.mod                     |  2 +-
 go.sum                     |  4 +--
 3 files changed, 3 insertions(+), 68 deletions(-)


(camel-k) 02/02: chore(deps): fix vuln

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 49f5ac3fa2237a704d941c252d3733bce8412a4d
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Sat Sep 13 10:35:07 2025 +0200

    chore(deps): fix vuln
---
 go.mod | 2 +-
 go.sum | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/go.mod b/go.mod
index f922dca79..88dc1bd51 100644
--- a/go.mod
+++ b/go.mod
@@ -11,7 +11,7 @@ require (
 	github.com/gertd/go-pluralize v0.2.1
 	github.com/go-git/go-git/v5 v5.16.2
 	github.com/go-logr/logr v1.4.3
-	github.com/go-viper/mapstructure/v2 v2.3.0
+	github.com/go-viper/mapstructure/v2 v2.4.0
 	github.com/google/go-github/v72 v72.0.0
 	github.com/google/uuid v1.6.0
 	github.com/jpillora/backoff v1.0.0
diff --git a/go.sum b/go.sum
index 717ef2801..8d8f01e89 100644
--- a/go.sum
+++ b/go.sum
@@ -176,8 +176,8 @@ github.com/go-openapi/swag v0.23.0/go.mod h1:esZ8ITTYEsH1V2trKHjAN8Ai7xHb8RV+YSZ
 github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
 github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI=
 github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8=
-github.com/go-viper/mapstructure/v2 v2.3.0 h1:27XbWsHIqhbdR5TIC911OfYvgSaW93HM+dX7970Q7jk=
-github.com/go-viper/mapstructure/v2 v2.3.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
+github.com/go-viper/mapstructure/v2 v2.4.0 h1:EBsztssimR/CONLSZZ04E8qAkxNYq4Qp9LvH92wZUgs=
+github.com/go-viper/mapstructure/v2 v2.4.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
 github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
 github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
 github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=


(camel-k) 01/02: chore(e2e): remove github tests

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit e6e1d56dfa9e3197445dad67a4b9cd79a7cdf90d
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Thu Sep 11 07:49:45 2025 +0200

    chore(e2e): remove github tests
    
    As they are giving auth problem lately
---
 e2e/common/cli/run_test.go | 65 ----------------------------------------------
 1 file changed, 65 deletions(-)

diff --git a/e2e/common/cli/run_test.go b/e2e/common/cli/run_test.go
index e251ac52e..778f37480 100644
--- a/e2e/common/cli/run_test.go
+++ b/e2e/common/cli/run_test.go
@@ -24,7 +24,6 @@ package common
 
 import (
 	"context"
-	"os"
 	"testing"
 
 	. "github.com/onsi/gomega"
@@ -42,70 +41,6 @@ var sampleJar = "https://raw.githubusercontent.com/apache/camel-k/main/e2e/commo
 func TestKamelCLIRun(t *testing.T) {
 	t.Parallel()
 	WithNewTestNamespace(t, func(ctx context.Context, g *WithT, ns string) {
-
-		t.Run("Examples from GitHub", func(t *testing.T) {
-			t.Run("Java", func(t *testing.T) {
-				g.Expect(KamelRun(t, ctx, ns,
-					"github:apache/camel-k-examples/generic-examples/languages/Sample.java").Execute()).To(Succeed())
-				g.Eventually(IntegrationPodPhase(t, ctx, ns, "sample"), TestTimeoutLong).Should(Equal(corev1.PodRunning))
-				g.Eventually(IntegrationConditionStatus(t, ctx, ns, "sample", v1.IntegrationConditionReady), TestTimeoutShort).
-					Should(Equal(corev1.ConditionTrue))
-				g.Eventually(IntegrationLogs(t, ctx, ns, "sample"), TestTimeoutShort).Should(ContainSubstring("Hello Camel K!"))
-			})
-
-			t.Run("Java (RAW)", func(t *testing.T) {
-				g.Expect(KamelRun(t, ctx, ns,
-					"https://raw.githubusercontent.com/apache/camel-k-examples/main/generic-examples/languages/Sample.java").Execute()).
-					To(Succeed())
-				g.Eventually(IntegrationPodPhase(t, ctx, ns, "sample"), TestTimeoutLong).Should(Equal(corev1.PodRunning))
-				g.Eventually(IntegrationConditionStatus(t, ctx, ns, "sample", v1.IntegrationConditionReady), TestTimeoutShort).
-					Should(Equal(corev1.ConditionTrue))
-				g.Eventually(IntegrationLogs(t, ctx, ns, "sample"), TestTimeoutShort).Should(ContainSubstring("Hello Camel K!"))
-			})
-
-			t.Run("Java (branch)", func(t *testing.T) {
-				g.Expect(KamelRun(t, ctx, ns,
-					"github:apache/camel-k-examples/generic-examples/languages/Sample.java?branch=main").Execute()).To(Succeed())
-				g.Eventually(IntegrationPodPhase(t, ctx, ns, "sample"), TestTimeoutLong).Should(Equal(corev1.PodRunning))
-				g.Eventually(IntegrationConditionStatus(t, ctx, ns, "sample", v1.IntegrationConditionReady), TestTimeoutShort).
-					Should(Equal(corev1.ConditionTrue))
-				g.Eventually(IntegrationLogs(t, ctx, ns, "sample"), TestTimeoutShort).Should(ContainSubstring("Hello Camel K!"))
-				g.Eventually(DeleteIntegrations(t, ctx, ns), TestTimeoutLong).Should(Equal(0))
-			})
-
-			// GIST does not like GITHUB_TOKEN apparently, we must temporarily remove it
-			os.Setenv("GITHUB_TOKEN_TMP", os.Getenv("GITHUB_TOKEN"))
-			os.Unsetenv("GITHUB_TOKEN")
-
-			t.Run("Gist (ID)", func(t *testing.T) {
-				name := RandomizedSuffixName("github-gist-id")
-				g.Expect(KamelRun(t, ctx, ns, "--name", name,
-					"gist:e2c3f9a5fd0d9e79b21b04809786f17a").Execute()).To(Succeed())
-				g.Eventually(IntegrationPodPhase(t, ctx, ns, name), TestTimeoutLong).Should(Equal(corev1.PodRunning))
-				g.Eventually(IntegrationConditionStatus(t, ctx, ns, name, v1.IntegrationConditionReady), TestTimeoutShort).
-					Should(Equal(corev1.ConditionTrue))
-				g.Eventually(IntegrationLogs(t, ctx, ns, name), TestTimeoutShort).Should(ContainSubstring("Magicstring!"))
-				g.Eventually(IntegrationLogs(t, ctx, ns, name), TestTimeoutShort).Should(ContainSubstring("Tick!"))
-				g.Eventually(DeleteIntegrations(t, ctx, ns), TestTimeoutLong).Should(Equal(0))
-			})
-
-			t.Run("Gist (URL)", func(t *testing.T) {
-				name := RandomizedSuffixName("github-gist-url")
-				g.Expect(KamelRun(t, ctx, ns, "--name", name,
-					"https://gist.github.com/lburgazzoli/e2c3f9a5fd0d9e79b21b04809786f17a").Execute()).To(Succeed())
-				g.Eventually(IntegrationPodPhase(t, ctx, ns, name), TestTimeoutLong).Should(Equal(corev1.PodRunning))
-				g.Eventually(IntegrationConditionStatus(t, ctx, ns, name, v1.IntegrationConditionReady), TestTimeoutShort).
-					Should(Equal(corev1.ConditionTrue))
-				g.Eventually(IntegrationLogs(t, ctx, ns, name), TestTimeoutShort).Should(ContainSubstring("Magicstring!"))
-				g.Eventually(IntegrationLogs(t, ctx, ns, name), TestTimeoutShort).Should(ContainSubstring("Tick!"))
-				g.Eventually(DeleteIntegrations(t, ctx, ns), TestTimeoutLong).Should(Equal(0))
-			})
-
-			// Revert GITHUB TOKEN
-			os.Setenv("GITHUB_TOKEN", os.Getenv("GITHUB_TOKEN_TMP"))
-			os.Unsetenv("GITHUB_TOKEN_TMP")
-		})
-
 		t.Run("Run and update", func(t *testing.T) {
 			name := RandomizedSuffixName("run")
 			g.Expect(KamelRun(t, ctx, ns, "files/run.yaml", "--name", name).Execute()).To(Succeed())