Merge pull request #936 from grouville/ci/disable-kub-test

ci: disabled kubernetes tests temporarily
This commit is contained in:
Sam Alba 2021-09-02 11:54:26 -07:00 committed by GitHub
commit ea9e3d5745
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,102 +80,105 @@ setup() {
} }
@test "doc-1007-kube-kind" { @test "doc-1007-kube-kind" {
skip_unless_local_kube skip "debug CI issue"
# skip_unless_local_kube
#################### BASIC #################### # #################### BASIC ####################
# Copy deployment to sandbox # # Copy deployment to sandbox
copy_to_sandbox kube-kind-basic kube-kind # copy_to_sandbox kube-kind-basic kube-kind
# Add kubeconfig # # Add kubeconfig
dagger -w "$DAGGER_SANDBOX" -e kube-kind-basic input text kubeconfig -f "$HOME"/.kube/config # dagger -w "$DAGGER_SANDBOX" -e kube-kind-basic input text kubeconfig -f "$HOME"/.kube/config
# Up deployment # # Up deployment
dagger -w "$DAGGER_SANDBOX" -e kube-kind-basic up # dagger -w "$DAGGER_SANDBOX" -e kube-kind-basic up
# Check deployment # # Check deployment
kubectl describe deployment todoapp | grep 'True' # kubectl describe deployment todoapp | grep 'True'
# Clean # # Clean
kubectl delete deployments --all # kubectl delete deployments --all
kubectl delete services --all # kubectl delete services --all
#################### DEPLOYMENT #################### # #################### DEPLOYMENT ####################
# Copy deployment to sandbox # # Copy deployment to sandbox
copy_to_sandbox kube-kind-deployment kube-kind # copy_to_sandbox kube-kind-deployment kube-kind
# Add kubeconfig # # Add kubeconfig
dagger -w "$DAGGER_SANDBOX" -e kube-kind-deployment input text kubeconfig -f "$HOME"/.kube/config # dagger -w "$DAGGER_SANDBOX" -e kube-kind-deployment input text kubeconfig -f "$HOME"/.kube/config
# Up deployment # # Up deployment
dagger -w "$DAGGER_SANDBOX" -e kube-kind-deployment up # dagger -w "$DAGGER_SANDBOX" -e kube-kind-deployment up
# Check deployment # # Check deployment
kubectl describe deployment todoapp | grep 'True' # kubectl describe deployment todoapp | grep 'True'
# Clean # # Clean
kubectl delete deployments --all # kubectl delete deployments --all
kubectl delete services --all # kubectl delete services --all
#################### CUE MANIFEST #################### # #################### CUE MANIFEST ####################
# Copy deployment to sandbox # # Copy deployment to sandbox
copy_to_sandbox kube-kind-cue-manifest kube-kind # copy_to_sandbox kube-kind-cue-manifest kube-kind
# Add kubeconfig # # Add kubeconfig
dagger -w "$DAGGER_SANDBOX" -e kube-kind-cue-manifest input text kubeconfig -f "$HOME"/.kube/config # dagger -w "$DAGGER_SANDBOX" -e kube-kind-cue-manifest input text kubeconfig -f "$HOME"/.kube/config
# Up deployment # # Up deployment
dagger -w "$DAGGER_SANDBOX" -e kube-kind-cue-manifest up # dagger -w "$DAGGER_SANDBOX" -e kube-kind-cue-manifest up
# Check deployment # # Check deployment
kubectl describe deployment todoapp | grep 'True' # kubectl describe deployment todoapp | grep 'True'
# Clean # # Clean
kubectl delete deployments --all # kubectl delete deployments --all
kubectl delete services --all # kubectl delete services --all
} }
@test "doc-1007-kube-aws" { @test "doc-1007-kube-aws" {
#################### BASIC #################### skip "debug CI issue"
# Copy deployment to sandbox # #################### BASIC ####################
copy_to_sandbox kube-aws-basic kube-aws # # Copy deployment to sandbox
# copy_to_sandbox kube-aws-basic kube-aws
# Up deployment # # Up deployment
dagger -w "$DAGGER_SANDBOX" -e kube-aws-basic up # dagger -w "$DAGGER_SANDBOX" -e kube-aws-basic up
#################### DEPLOYMENT #################### # #################### DEPLOYMENT ####################
# Copy deployment to sandbox # # Copy deployment to sandbox
copy_to_sandbox kube-aws-deployment kube-aws # copy_to_sandbox kube-aws-deployment kube-aws
# Up deployment # # Up deployment
dagger -w "$DAGGER_SANDBOX" -e kube-aws-deployment up # dagger -w "$DAGGER_SANDBOX" -e kube-aws-deployment up
#################### CUE MANIFEST #################### # #################### CUE MANIFEST ####################
# Copy deployment to sandbox # # Copy deployment to sandbox
copy_to_sandbox kube-aws-cue-manifest kube-aws # copy_to_sandbox kube-aws-cue-manifest kube-aws
# Up deployment # # Up deployment
dagger -w "$DAGGER_SANDBOX" -e kube-aws-cue-manifest up # dagger -w "$DAGGER_SANDBOX" -e kube-aws-cue-manifest up
} }
@test "doc-1007-kube-gcp" { @test "doc-1007-kube-gcp" {
#################### BASIC #################### skip "debug CI issue"
# Copy deployment to sandbox # #################### BASIC ####################
copy_to_sandbox kube-gcp-basic kube-gcp # # Copy deployment to sandbox
# copy_to_sandbox kube-gcp-basic kube-gcp
# Up deployment # # Up deployment
dagger -w "$DAGGER_SANDBOX" -e kube-gcp-basic up # dagger -w "$DAGGER_SANDBOX" -e kube-gcp-basic up
#################### DEPLOYMENT #################### # #################### DEPLOYMENT ####################
# Copy deployment to sandbox # # Copy deployment to sandbox
copy_to_sandbox kube-gcp-deployment kube-gcp # copy_to_sandbox kube-gcp-deployment kube-gcp
# Up deployment # # Up deployment
dagger -w "$DAGGER_SANDBOX" -e kube-gcp-deployment up # dagger -w "$DAGGER_SANDBOX" -e kube-gcp-deployment up
#################### CUE MANIFEST #################### # #################### CUE MANIFEST ####################
# Copy deployment to sandbox # # Copy deployment to sandbox
copy_to_sandbox kube-gcp-cue-manifest kube-gcp # copy_to_sandbox kube-gcp-cue-manifest kube-gcp
# Up deployment # # Up deployment
dagger -w "$DAGGER_SANDBOX" -e kube-gcp-cue-manifest up # dagger -w "$DAGGER_SANDBOX" -e kube-gcp-cue-manifest up
} }
@test "doc-1008-aws-cloudformation" { @test "doc-1008-aws-cloudformation" {