| Jakub Josef | 79ecec3 | 2017-02-17 14:36:28 +0100 | [diff] [blame] | 1 | package com.mirantis.mk |
| 2 | |||||
| 3 | /** | ||||
| 4 | * | ||||
| 5 | * Tests providing functions | ||||
| 6 | * | ||||
| 7 | */ | ||||
| 8 | |||||
| 9 | /** | ||||
| 10 | * Run e2e conformance tests | ||||
| 11 | * | ||||
| 12 | * @param k8s_api Kubernetes api address | ||||
| 13 | * @param image Docker image with tests | ||||
| 14 | */ | ||||
| 15 | def runConformanceTests(master, k8s_api, image) { | ||||
| 16 | def salt = new com.mirantis.mk.Salt() | ||||
| 17 | salt = runSaltProcessStep(master, 'ctl01*', 'cmd.run', ["docker run --rm --net=host -e API_SERVER=${k8s_api} ${image} >> e2e-conformance.log"]) | ||||
| 18 | } | ||||