Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into mf-master
- Loading branch information
Showing
49 changed files
with
713 additions
and
1,625 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
@Library('salt@master-1.3') _ | ||
|
||
// Define the maximum time, in hours, that a test run should run for | ||
def testrun_timeout = 6 | ||
|
||
def distro_name = 'fedora' | ||
def distro_version = '31' | ||
def python_version = 'py3' | ||
def nox_env_name = 'runtests-zeromq' | ||
def golden_images_branch = 'master' | ||
def nox_passthrough_opts = '--ssh-tests' | ||
def concurrent_builds = 1 | ||
def use_spot_instances = true | ||
def jenkins_slave_label = 'kitchen-slave' | ||
|
||
properties([ | ||
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '30')), | ||
parameters([ | ||
booleanParam(defaultValue: true, description: 'Run full test suite', name: 'runFull') | ||
]) | ||
]) | ||
|
||
// Only set milestones on PR builds | ||
if (env.CHANGE_ID) { | ||
// Be sure to cancel any previously running builds | ||
def buildNumber = env.BUILD_NUMBER as int | ||
if (buildNumber > concurrent_builds) { | ||
// This will cancel the previous build which also defined a matching milestone | ||
milestone(buildNumber - concurrent_builds) | ||
} | ||
// Define a milestone for this build so that, if another build starts, this one will be aborted | ||
milestone(buildNumber) | ||
} | ||
|
||
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, | ||
jenkins_slave_label: jenkins_slave_label) | ||
|
||
// vim: ft=groovy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -171,7 +171,6 @@ execution modules | |
hashutil | ||
heat | ||
hg | ||
hipchat | ||
hosts | ||
http | ||
ifttt | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,7 +115,6 @@ state modules | |
group | ||
heat | ||
hg | ||
hipchat | ||
host | ||
http | ||
icinga2 | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.