salt/.ci/kitchen-centos7-py3-cloud

38 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2019-11-10 20:03:41 +00:00
@Library('salt@master-1.3') _
2019-11-06 21:42:22 +00:00
// Define the maximum time, in hours, that a test run should run for
def testrun_timeout = 6
def distro_name = 'centos'
def distro_version = '7'
def python_version = 'py3'
def nox_env_name = 'runtests-cloud'
def golden_images_branch = 'master'
2019-11-06 21:42:22 +00:00
def nox_passthrough_opts = ''
def use_spot_instances = true
def jenkins_slave_label = 'kitchen-slave'
2019-11-19 18:34:24 +00:00
def kitchen_platforms_file = '/var/jenkins/workspace/nox-cloud-platforms.yml'
2019-11-06 21:42:22 +00:00
properties([
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '30')),
parameters([
booleanParam(defaultValue: true, description: 'Run full test suite', name: 'runFull')
])
])
runTests(
env: env,
distro_name: distro_name,
distro_version: distro_version,
python_version: python_version,
golden_images_branch: golden_images_branch,
nox_env_name: nox_env_name,
nox_passthrough_opts: nox_passthrough_opts,
testrun_timeout: testrun_timeout,
run_full: params.runFull,
use_spot_instances: use_spot_instances,
2019-11-19 18:34:24 +00:00
jenkins_slave_label: jenkins_slave_label,
kitchen_platforms_file: kitchen_platforms_file)
2019-11-06 21:42:22 +00:00
// vim: ft=groovy