From 63486862313b8f7065ea5c60a1366a7f6ee0e7c0 Mon Sep 17 00:00:00 2001 From: Guillaume de Rouville Date: Thu, 2 Sep 2021 19:39:10 +0200 Subject: [PATCH] ci: disabled kubernetes tests temporarily Signed-off-by: Guillaume de Rouville --- docs/learn/tests/doc.bats | 137 +++++++++++++++++++------------------- 1 file changed, 70 insertions(+), 67 deletions(-) diff --git a/docs/learn/tests/doc.bats b/docs/learn/tests/doc.bats index 519e6a81..2ab82ed8 100644 --- a/docs/learn/tests/doc.bats +++ b/docs/learn/tests/doc.bats @@ -80,102 +80,105 @@ setup() { } @test "doc-1007-kube-kind" { - skip_unless_local_kube + skip "debug CI issue" + # skip_unless_local_kube - #################### BASIC #################### - # Copy deployment to sandbox - copy_to_sandbox kube-kind-basic kube-kind + # #################### BASIC #################### + # # Copy deployment to sandbox + # copy_to_sandbox kube-kind-basic kube-kind - # Add kubeconfig - dagger -w "$DAGGER_SANDBOX" -e kube-kind-basic input text kubeconfig -f "$HOME"/.kube/config + # # Add kubeconfig + # dagger -w "$DAGGER_SANDBOX" -e kube-kind-basic input text kubeconfig -f "$HOME"/.kube/config - # Up deployment - dagger -w "$DAGGER_SANDBOX" -e kube-kind-basic up + # # Up deployment + # dagger -w "$DAGGER_SANDBOX" -e kube-kind-basic up - # Check deployment - kubectl describe deployment todoapp | grep 'True' + # # Check deployment + # kubectl describe deployment todoapp | grep 'True' - # Clean - kubectl delete deployments --all - kubectl delete services --all + # # Clean + # kubectl delete deployments --all + # kubectl delete services --all - #################### DEPLOYMENT #################### - # Copy deployment to sandbox - copy_to_sandbox kube-kind-deployment kube-kind + # #################### DEPLOYMENT #################### + # # Copy deployment to sandbox + # copy_to_sandbox kube-kind-deployment kube-kind - # Add kubeconfig - dagger -w "$DAGGER_SANDBOX" -e kube-kind-deployment input text kubeconfig -f "$HOME"/.kube/config + # # Add kubeconfig + # dagger -w "$DAGGER_SANDBOX" -e kube-kind-deployment input text kubeconfig -f "$HOME"/.kube/config - # Up deployment - dagger -w "$DAGGER_SANDBOX" -e kube-kind-deployment up + # # Up deployment + # dagger -w "$DAGGER_SANDBOX" -e kube-kind-deployment up - # Check deployment - kubectl describe deployment todoapp | grep 'True' + # # Check deployment + # kubectl describe deployment todoapp | grep 'True' - # Clean - kubectl delete deployments --all - kubectl delete services --all + # # Clean + # kubectl delete deployments --all + # kubectl delete services --all - #################### CUE MANIFEST #################### - # Copy deployment to sandbox - copy_to_sandbox kube-kind-cue-manifest kube-kind + # #################### CUE MANIFEST #################### + # # Copy deployment to sandbox + # copy_to_sandbox kube-kind-cue-manifest kube-kind - # Add kubeconfig - dagger -w "$DAGGER_SANDBOX" -e kube-kind-cue-manifest input text kubeconfig -f "$HOME"/.kube/config + # # Add kubeconfig + # dagger -w "$DAGGER_SANDBOX" -e kube-kind-cue-manifest input text kubeconfig -f "$HOME"/.kube/config - # Up deployment - dagger -w "$DAGGER_SANDBOX" -e kube-kind-cue-manifest up + # # Up deployment + # dagger -w "$DAGGER_SANDBOX" -e kube-kind-cue-manifest up - # Check deployment - kubectl describe deployment todoapp | grep 'True' + # # Check deployment + # kubectl describe deployment todoapp | grep 'True' - # Clean - kubectl delete deployments --all - kubectl delete services --all + # # Clean + # kubectl delete deployments --all + # kubectl delete services --all } @test "doc-1007-kube-aws" { - #################### BASIC #################### - # Copy deployment to sandbox - copy_to_sandbox kube-aws-basic kube-aws + skip "debug CI issue" + # #################### BASIC #################### + # # Copy deployment to sandbox + # copy_to_sandbox kube-aws-basic kube-aws - # Up deployment - dagger -w "$DAGGER_SANDBOX" -e kube-aws-basic up + # # Up deployment + # dagger -w "$DAGGER_SANDBOX" -e kube-aws-basic up - #################### DEPLOYMENT #################### - # Copy deployment to sandbox - copy_to_sandbox kube-aws-deployment kube-aws + # #################### DEPLOYMENT #################### + # # Copy deployment to sandbox + # copy_to_sandbox kube-aws-deployment kube-aws - # Up deployment - dagger -w "$DAGGER_SANDBOX" -e kube-aws-deployment up - #################### CUE MANIFEST #################### - # Copy deployment to sandbox - copy_to_sandbox kube-aws-cue-manifest kube-aws + # # Up deployment + # dagger -w "$DAGGER_SANDBOX" -e kube-aws-deployment up + # #################### CUE MANIFEST #################### + # # Copy deployment to sandbox + # copy_to_sandbox kube-aws-cue-manifest kube-aws - # Up deployment - dagger -w "$DAGGER_SANDBOX" -e kube-aws-cue-manifest up + # # Up deployment + # dagger -w "$DAGGER_SANDBOX" -e kube-aws-cue-manifest up } @test "doc-1007-kube-gcp" { - #################### BASIC #################### - # Copy deployment to sandbox - copy_to_sandbox kube-gcp-basic kube-gcp + skip "debug CI issue" + # #################### BASIC #################### + # # Copy deployment to sandbox + # copy_to_sandbox kube-gcp-basic kube-gcp - # Up deployment - dagger -w "$DAGGER_SANDBOX" -e kube-gcp-basic up + # # Up deployment + # dagger -w "$DAGGER_SANDBOX" -e kube-gcp-basic up - #################### DEPLOYMENT #################### - # Copy deployment to sandbox - copy_to_sandbox kube-gcp-deployment kube-gcp + # #################### DEPLOYMENT #################### + # # Copy deployment to sandbox + # copy_to_sandbox kube-gcp-deployment kube-gcp - # Up deployment - dagger -w "$DAGGER_SANDBOX" -e kube-gcp-deployment up - #################### CUE MANIFEST #################### - # Copy deployment to sandbox - copy_to_sandbox kube-gcp-cue-manifest kube-gcp + # # Up deployment + # dagger -w "$DAGGER_SANDBOX" -e kube-gcp-deployment up + # #################### CUE MANIFEST #################### + # # Copy deployment to sandbox + # copy_to_sandbox kube-gcp-cue-manifest kube-gcp - # Up deployment - dagger -w "$DAGGER_SANDBOX" -e kube-gcp-cue-manifest up + # # Up deployment + # dagger -w "$DAGGER_SANDBOX" -e kube-gcp-cue-manifest up } @test "doc-1008-aws-cloudformation" {