kitchen-centos7-py3-proxy 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 = 'centos'
  5. def distro_version = '7'
  6. def python_version = 'py3'
  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 -k proxy'
  10. def concurrent_builds = 1
  11. def use_spot_instances = true
  12. def jenkins_slave_label = 'kitchen-slave'
  13. def splits = ['unit', 'integration']
  14. properties([
  15. buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '30')),
  16. parameters([
  17. booleanParam(defaultValue: true, description: 'Run full test suite', name: 'runFull')
  18. ])
  19. ])
  20. runTests(
  21. env: env,
  22. distro_name: distro_name,
  23. distro_version: distro_version,
  24. python_version: python_version,
  25. golden_images_branch: golden_images_branch,
  26. nox_env_name: nox_env_name,
  27. nox_passthrough_opts: nox_passthrough_opts,
  28. testrun_timeout: testrun_timeout,
  29. concurrent_builds: concurrent_builds,
  30. run_full: params.runFull,
  31. use_spot_instances: use_spot_instances,
  32. jenkins_slave_label: jenkins_slave_label,
  33. splits: splits,
  34. extra_codecov_flags: ["proxy"])
  35. // vim: ft=groovy