Added test migration
This commit is contained in:
1 parent
e654a103f9
commit
147b396210
3 files changed
+34
No files matched your search
Vendored
+2
@@ -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'
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user