1
0

kitchen-archlts-py2 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. @Library('salt@master-1.4') _
  2. // Define the maximum time, in hours, that a test run should run for
  3. def testrun_timeout = 6
  4. def distro_name = 'arch'
  5. def distro_version = 'lts'
  6. def python_version = 'py2'
  7. def nox_env_name = 'pytest-zeromq'
  8. def golden_images_branch = 'master'
  9. def nox_passthrough_opts = '--log-cli-level=warning --ignore=tests/utils tests/integration/modules/test_pkg.py'
  10. def concurrent_builds = 1
  11. def use_spot_instances = true
  12. def jenkins_slave_label = 'kitchen-slave'
  13. properties([
  14. buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '20')),
  15. parameters([
  16. booleanParam(defaultValue: true, description: 'Run full test suite', name: 'runFull')
  17. ])
  18. ])
  19. runTests(
  20. env: env,
  21. distro_name: distro_name,
  22. distro_version: distro_version,
  23. python_version: python_version,
  24. golden_images_branch: golden_images_branch,
  25. nox_env_name: nox_env_name,
  26. nox_passthrough_opts: nox_passthrough_opts,
  27. testrun_timeout: testrun_timeout,
  28. concurrent_builds: concurrent_builds,
  29. run_full: params.runFull,
  30. use_spot_instances: use_spot_instances,
  31. jenkins_slave_label: jenkins_slave_label)
  32. // vim: ft=groovy