ci: disabled kubernetes tests temporarily

Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
This commit is contained in:
Guillaume de Rouville 2021-09-02 19:39:10 +02:00
parent 28eb785203
commit 6348686231

View File

@ -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" {