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

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


The following commit(s) were added to refs/heads/main by this push:
     new 83914a59 ci: test camel-k redirects against the container trait page
83914a59 is described below

commit 83914a59a6193ea05aa09fabb6967b3207beaf83
Author: Claus Ibsen <[email protected]>
AuthorDate: Sun Sep 20 11:40:54 2026 +0200

    ci: test camel-k redirects against the container trait page
    
    camel-k main dropped the deprecated master trait (apache/camel-k#6805),
    so /camel-k/next/traits/master.html no longer exists and the redirect
    test failed. Use the container trait page instead, which exists on all
    camel-k branches the website builds.
    
    Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
---
 tests/redirect.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/redirect.sh b/tests/redirect.sh
index 1c4247b8..f096e6e6 100755
--- a/tests/redirect.sh
+++ b/tests/redirect.sh
@@ -183,10 +183,10 @@ test "$BASE_URL/camel-k/next" 301 
"$BASE_URL/camel-k/next/"
 test "$BASE_URL/camel-k/next/" 200
 test "$BASE_URL/camel-k/latest" 302 "$BASE_URL/camel-k/${CAMEL_K_VERSION}"
 test "$BASE_URL/camel-k/latest/" 302 "$BASE_URL/camel-k/${CAMEL_K_VERSION}/"
-test "$BASE_URL/camel-k/traits/master.html" 302 
"$BASE_URL/camel-k/${CAMEL_K_VERSION}/traits/master.html"
-test "$BASE_URL/camel-k/latest/traits/master.html" 302 
"$BASE_URL/camel-k/${CAMEL_K_VERSION}/traits/master.html"
-test "$BASE_URL/camel-k/${CAMEL_K_VERSION}/traits/master.html" 200
-test "$BASE_URL/camel-k/next/traits/master.html" 200
+test "$BASE_URL/camel-k/traits/container.html" 302 
"$BASE_URL/camel-k/${CAMEL_K_VERSION}/traits/container.html"
+test "$BASE_URL/camel-k/latest/traits/container.html" 302 
"$BASE_URL/camel-k/${CAMEL_K_VERSION}/traits/container.html"
+test "$BASE_URL/camel-k/${CAMEL_K_VERSION}/traits/container.html" 200
+test "$BASE_URL/camel-k/next/traits/container.html" 200
 
 #test "$BASE_URL/camel-karaf" 302 
"$BASE_URL/camel-karaf/${COMPONENTS_VERSION}/"
 #test "$BASE_URL/camel-karaf/" 302 
"$BASE_URL/camel-karaf/${COMPONENTS_VERSION}/"

Reply via email to