Added test migration

This commit is contained in:
Michel ten Voorde committed 2024-11-05 14:33:29 +01:00
1 parent e654a103f9
commit 147b396210
3 files changed
+34

No files matched your search

Vendored
+2
View File
@@ -48,6 +48,8 @@ pipeline {
steps {
script {
kubeconfig(credentialsId: 'k3s-kubeconfig') {
sh 'cat k8s/deployment-test.yaml | sed "s/latest/$BUILD_NUMBER/g" | kubectl apply -n swiss -f -'
sh 'kubectl apply -f k8s/service-test.yaml -n swiss'
sh 'cat k8s/deployment.yaml | sed "s/latest/$BUILD_NUMBER/g" | kubectl apply -n swiss -f -'
sh 'kubectl apply -f k8s/service.yaml -n swiss'
}