You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CLD-678 Automate HC tests in Kubernetes pipeline (#138)
* update email list
* Add HC e2e tests to the pipeline
* disable HC tests by default
* add cleanup
* fix minikube cleanup
* test specific tls version
* java fix
* update dependencies for Jenkins
* update log redirect
* enable full e2e suite
* change step sequence
* add comment about test duration
* - Add a new stage and option to execute HC e2e tests
- Add a helper shell script to handle the execution and background tasks
- Update notification email list
- CLD-789 fix minikube cleanup step
* Add HC tests to nightly runs
* remove forgotten 'date'
* Add Romain to the mailing list
choice(name: 'PREV_ML_VERSION', choices: '10.0\n9.0', description: 'Previous MarkLogic version for MarkLogic upgrade tests')
185
186
string(name: 'prevDockerReleaseVer', defaultValue: '1.0.2', description: 'Previous Docker version for MarkLogic upgrade tests. (e.g. 1.0.1)', trim: true)
@@ -211,11 +212,22 @@ pipeline {
211
212
}
212
213
steps {
213
214
sh """
214
-
export MINIKUBE_HOME=/space;
215
+
export MINIKUBE_HOME=/space
215
216
make test dockerImage=${dockerRepository}:${dockerVersion} prevDockerImage=${dockerRepository}:${prevDockerVersion} kubernetesVersion=${params.K8_VERSION} saveOutput=true
216
217
"""
217
218
}
218
219
}
220
+
stage('Kubernetes-Run-HC-Tests') {
221
+
when {
222
+
expression { return params.HC_TESTS }
223
+
}
224
+
steps {
225
+
sh """
226
+
export MINIKUBE_HOME=/space;
227
+
make hc-test dockerImage=${dockerRepository}:${dockerVersion} kubernetesVersion=${params.K8_VERSION}
#This helper script will run E2E UI tests for Hub Central (https://github.com/marklogic/marklogic-data-hub/tree/develop/marklogic-data-hub-central/ui/e2e)
0 commit comments