Skip to content
Snippets Groups Projects
Commit dfe202dd authored by Sören Henning's avatar Sören Henning
Browse files

Add k3d test job

parent ffa5c7ff
No related branches found
No related tags found
1 merge request!214Test Helm chart in CI pipeline
Pipeline #5657 failed
...@@ -10,6 +10,7 @@ stages: ...@@ -10,6 +10,7 @@ stages:
- test - test
- check - check
- deploy - deploy
- post-deploy
default: default:
tags: tags:
...@@ -51,6 +52,32 @@ lint-helm: ...@@ -51,6 +52,32 @@ lint-helm:
entrypoint: [""] entrypoint: [""]
script: helm lint helm/ script: helm lint helm/
test-helm:
stage: post-deploy
extends: .dind
needs: []
# - deploy-theodolite
variables:
KUBECTL: v1.21.3
before_script:
- apk add -U wget bash curl
# install kubectl
- wget -O /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/${KUBECTL}/bin/linux/amd64/kubectl
- chmod +x /usr/local/bin/kubectl
# install k3d
- wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash
- k3d help
- k3d cluster create testgitlabci --agents 1 --wait -p "30000:30000@agent[0]"
# show cluster info
- kubectl cluster-info
script:
# Display initial pods, etc.
- kubectl get nodes -o wide
- kubectl get pods --all-namespaces -o wide
- kubectl get services --all-namespaces -o wide
after_script:
- k3d cluster delete testgitlabci
# Theodolite Benchmarks # Theodolite Benchmarks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment