1
0

kitchen-macosxmojave-py3 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. // Now define a global pipeline timeout. This is the test run timeout with one(1) additional
  5. // hour to allow for artifacts to be downloaded, if possible.
  6. def global_timeout = testrun_timeout + 1;
  7. def distro_name = 'macosx'
  8. def distro_version = 'mojave'
  9. def python_version = 'py3'
  10. def nox_env_name = 'pytest-zeromq'
  11. def golden_images_branch = 'master'
  12. def nox_passthrough_opts = '--log-cli-level=warning --ignore=tests/utils'
  13. def concurrent_builds = 1
  14. def jenkins_slave_label = 'kitchen-slave-mac'
  15. def splits = ['unit', 'multimaster', 'integration']
  16. def kitchen_driver_file = '/var/jenkins/workspace/driver.yml'
  17. def kitchen_verifier_file = '/var/jenkins/workspace/nox-verifier.yml'
  18. def kitchen_platforms_file = '/var/jenkins/workspace/pre-golden-nox-platforms.yml'
  19. properties([
  20. buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '30')),
  21. parameters([
  22. booleanParam(defaultValue: true, description: 'Run full test suite', name: 'runFull')
  23. ])
  24. ])
  25. runTests(
  26. env: env,
  27. distro_name: distro_name,
  28. distro_version: distro_version,
  29. python_version: python_version,
  30. golden_images_branch: golden_images_branch,
  31. nox_env_name: nox_env_name,
  32. nox_passthrough_opts: nox_passthrough_opts,
  33. testrun_timeout: testrun_timeout,
  34. concurrent_builds: concurrent_builds,
  35. run_full: params.runFull,
  36. jenkins_slave_label: jenkins_slave_label,
  37. splits: splits,
  38. kitchen_driver_file: kitchen_driver_file,
  39. kitchen_verifier_file: kitchen_verifier_file,
  40. kitchen_platforms_file: kitchen_platforms_file)
  41. // vim: ft=groovy