Pedro Algarvio
de86ed6303
The default value is not None
2014-04-15 12:35:48 +01:00
Pedro Algarvio
aad0e33af8
Fix and quote the compound matcher
2014-04-15 12:28:01 +01:00
Pedro Algarvio
af42254974
Log the commands being executed
2014-04-15 12:18:45 +01:00
Pedro Algarvio
7a945b438a
Allow matching minions using compound match(ID + grains)
2014-04-15 11:21:15 +01:00
Pedro Algarvio
244967a9b5
Allow for a 2nd system preparation sls file.
2014-04-15 09:42:33 +01:00
Pedro Algarvio
ba96fbc159
Some sleeping between steps
2014-04-14 11:08:24 +01:00
Pedro Algarvio
546dc2463d
Only one forward slash
2014-04-13 23:32:27 +01:00
Pedro Algarvio
073bf3c971
Allow passing additional remote log file paths
2014-04-13 15:52:57 +01:00
Pedro Algarvio
bb59d7a9db
Don't let YAML split long lines
2014-04-13 13:17:12 +01:00
Pedro Algarvio
e85bc09a63
Only check minion version if a specific commit is passed.
2014-04-13 12:49:00 +01:00
Pedro Algarvio
857078e68a
Separate the salt and testing git URL and COMMIT values
2014-04-13 12:07:56 +01:00
Pedro Algarvio
5a42ca483c
Allow bootstrapping a stable minion
2014-04-13 11:45:26 +01:00
Pedro Algarvio
26570d5efc
Build pillar data while allowing extra pillar key/values
2014-04-13 11:05:18 +01:00
Pedro Algarvio
aaf70f2f68
The returned value can also be None
2014-04-08 19:19:33 +01:00
Pedro Algarvio
469ab4abaf
Take into account None
2014-04-08 15:51:09 +01:00
Pedro Algarvio
723ce8c97f
Improve script output
2014-04-08 15:13:59 +01:00
Pedro Algarvio
34e8eb52ab
Print some more additional information.
2014-04-08 14:50:03 +01:00
Pedro Algarvio
6dd262a6d4
delete_vm
only accepts a dict, not a string
2014-04-08 14:37:40 +01:00
Pedro Algarvio
148c8063e4
Prefer subprocess.Popen
, we're not streaming anything.
2014-04-07 23:26:23 +01:00
Pedro Algarvio
a22a3af684
Prefer subprocess.Popen
for now
2014-04-07 23:14:27 +01:00
Pedro Algarvio
20adbd725a
Prefer testrun-no-deps
over testrun
.
2014-04-07 23:00:53 +01:00
Pedro Algarvio
0705d46ca7
Also check for the proper remote URL
2014-04-07 21:16:36 +01:00
Pedro Algarvio
179bef1de8
Remove unnecessary code
2014-04-07 21:07:47 +01:00
Pedro Algarvio
b5c950d3f3
We don't need this information streamed to stdout
2014-04-07 00:39:17 +01:00
Pedro Algarvio
54355c0184
It's a keyword argument
2014-04-06 23:41:58 +01:00
Pedro Algarvio
80e0886bdd
Check the cloned repository commit for the appropriate match
...
This split's the Jenkins script execution into one additional step.
Prepare the source to match the cloned repository commit, then resume
previous steps.
2014-04-06 19:10:56 +01:00
Pedro Algarvio
32597a7083
Compare the bootstrapped minion commit SHA with the desired one.
2014-04-06 15:50:39 +01:00
Pedro Algarvio
69d0f907f9
Make use of the print()
function.
2014-02-03 11:07:43 +00:00
Pedro Algarvio
3a1cdd13fc
Add salt's git repo as upstream and fetch tags if using a custom git url
2014-01-11 16:30:23 +00:00
Pedro Algarvio
f687663690
Fix the comma placement
2014-01-10 22:53:44 +00:00
Pedro Algarvio
07667df90f
The git url pillar value needs to be quoted
2014-01-10 22:47:52 +00:00
Pedro Algarvio
f5e4b9f52b
When running "single-shot", it needs the params right away.
2014-01-10 21:31:36 +00:00
Pedro Algarvio
fab35cd00f
Remove un-necessary pass
2014-01-10 19:39:37 +00:00
Pedro Algarvio
b0a73d8b8e
We're using args not kwargs
2014-01-10 19:24:23 +00:00
Pedro Algarvio
ba62367e90
Fix attribute name
2014-01-10 18:32:05 +00:00
Pedro Algarvio
583de5a2dd
The env generated from PR's should be a separate step.
2014-01-10 18:29:01 +00:00
Pedro Algarvio
8f1df67857
Let's not require these for now.
2014-01-10 18:15:47 +00:00
Pedro Algarvio
bd2c7413f7
Not strictly necessary now(at least on the 1st stage)
2014-01-10 18:02:09 +00:00
Pedro Algarvio
932a2ba8ab
Split the env genertion into parts
2014-01-10 17:28:07 +00:00
Pedro Algarvio
eaf3a50725
Get more info about a PR.
...
Since the Jenkins PR plugin does now set it in the environ.
2014-01-10 17:24:55 +00:00
Pedro Algarvio
b3a029dd8a
Handle the xml unittest reports as a single, "chained" command.
2014-01-05 00:15:12 +00:00
Pedro Algarvio
d2bcd53e37
Don't ignore the workspace path option
2014-01-05 00:10:24 +00:00
Mathieu Le Marec - Pasquet
d96a5c8c6c
configurable salt-bootstrap url
2014-01-03 19:13:06 +01:00
Mathieu Le Marec - Pasquet
0e430e531d
configurable salt git url for jenkins
2014-01-02 22:46:12 +01:00
Pedro Algarvio
561b97f475
Revert "Migrate the Jenkins script to the new Terminal class."
...
This reverts commit aae6f0c4a1
.
2013-12-09 23:06:17 +00:00
Pedro Algarvio
686d75889b
Revert "Make it run!"
...
This reverts commit a295af62fd
.
2013-12-09 23:05:47 +00:00
Pedro Algarvio
363c9b828f
Revert "Try to get the tests suite output streamed."
...
This reverts commit 1ef452a03a
.
2013-12-09 23:05:17 +00:00
Pedro Algarvio
8ea7390789
Revert "Let's be explicit in passed keyword arguments."
...
This reverts commit 60f759dc68
.
2013-12-09 23:05:08 +00:00
Pedro Algarvio
3304fe3376
Revert "The minion, needs to be synced first?"
...
This reverts commit 8b12dd743e
.
2013-12-09 23:04:47 +00:00
Pedro Algarvio
8b12dd743e
The minion, needs to be synced first?
2013-12-09 21:38:06 +00:00
Pedro Algarvio
60f759dc68
Let's be explicit in passed keyword arguments.
2013-12-09 19:54:00 +00:00
Pedro Algarvio
1ef452a03a
Try to get the tests suite output streamed.
2013-12-09 19:34:29 +00:00
Pedro Algarvio
a295af62fd
Make it run!
2013-12-09 18:20:22 +00:00
Pedro Algarvio
aae6f0c4a1
Migrate the Jenkins script to the new Terminal class.
2013-12-09 17:23:08 +00:00
Pedro Algarvio
d02a2bc224
Include the python encoding file header on tests.
2013-11-27 11:19:24 +00:00
Pedro Algarvio
1a3c11c1ca
Logs download should be done in a separate step.
2013-10-03 18:49:34 +01:00
Pedro Algarvio
58b5a85b58
Some sleeping between commands.
2013-10-03 15:08:50 +01:00
Pedro Algarvio
67abab7b21
Set the VM name.
2013-10-03 13:36:08 +01:00
Pedro Algarvio
36e889b8ed
Support downloading remote logs in Jenkins.
2013-10-03 12:52:05 +01:00
Pedro Algarvio
1a071c0d2f
opts
not `options'
2013-09-10 12:21:41 +01:00
Pedro Algarvio
d7c2266eed
Set the proper variables to chain the remote reports download.
2013-09-10 12:15:39 +01:00
Pedro Algarvio
ddd68a4dc1
Grab the proper option name
2013-09-10 12:15:19 +01:00
Pedro Algarvio
40ba994141
Support "chained" remote reports download with the test run execution.
2013-09-10 12:05:59 +01:00
Pedro Algarvio
5874f171b5
Re-work the report download steps.
2013-09-09 21:52:58 +01:00
Pedro Algarvio
ab2168885b
Pass the parsed options to the methods.
2013-09-09 20:45:57 +01:00
Pedro Algarvio
db017a4edf
Support passing the workspace to work in.
2013-09-09 20:43:27 +01:00
Pedro Algarvio
6ef007de78
Typo
2013-09-09 11:56:48 +01:00
Pedro Algarvio
ba276f0b2a
More generic error message since the commands continue to execute.
2013-09-09 11:48:59 +01:00
Pedro Algarvio
022fd37cae
Remove existing local coverage xml report prior to downloading a new one.
2013-09-09 11:24:58 +01:00
Pedro Algarvio
35fe2cf951
Of course the VM's are always being deleted!!!!
2013-09-09 00:02:08 +01:00
Pedro Algarvio
581f498c9f
Are any exceptions being raised?
2013-09-08 23:41:38 +01:00
Pedro Algarvio
6ba8b9efeb
Fix removed back slashed single quote. More info displayed.
2013-09-08 18:48:32 +01:00
Pedro Algarvio
d11e9fdc2f
Also pipe stdout
2013-09-08 18:18:21 +01:00
Pedro Algarvio
68bcc826c5
Don't split up commands.
2013-09-08 18:14:03 +01:00
Pedro Algarvio
799fa765b9
Add support to download xml coverage reports
2013-09-08 17:43:55 +01:00
Pedro Algarvio
2cc993a0d5
Add code to download XML unit test reports
2013-09-08 16:32:35 +01:00
Pedro Algarvio
5679c04874
Remove the quotes.
2013-09-08 12:07:27 +01:00
Pedro Algarvio
d0e006eff3
Flush output.
2013-09-08 12:07:27 +01:00
Pedro Algarvio
9ca574a2b3
Sleep a little before running the test suite remotely.
2013-09-06 17:36:05 +01:00
Pedro Algarvio
c2fd114496
Better VM name. Zero left padding build numbers.
2013-09-06 17:13:05 +01:00
Pedro Algarvio
23aa412ae2
Random part of VM name from build number if available.
2013-09-06 16:36:26 +01:00
Pedro Algarvio
03491874d0
Get the correct environment variable name.
2013-09-06 14:42:20 +01:00
Pedro Algarvio
3d6debf33a
More explicit environment variable names. Detect Jenkins environment.
2013-09-06 14:40:01 +01:00
Pedro Algarvio
63f4dedfa4
Fix script
2013-09-06 12:59:24 +01:00
Pedro Algarvio
768796aab9
Some more env printing
2013-09-06 12:55:27 +01:00
Pedro Algarvio
e7c4d1ca55
Separate output
2013-09-06 12:46:52 +01:00
Pedro Algarvio
3414e6b1f0
Need a peek at the environment for debugging purposes.
2013-09-06 12:45:01 +01:00
Pedro Algarvio
41079433a6
Use the __dict__
attribute.
2013-09-06 12:32:22 +01:00
Pedro Algarvio
363e6fa3d2
Allow for a stepped Jenkins execution.
2013-09-06 12:14:27 +01:00
Pedro Algarvio
2170af5717
Non zero exit codes should be considered errors.
2013-09-05 05:38:07 +01:00
Seth House
1ff3c953e6
Added sls and pillar as params
...
This change is backward compatible...but untested.
2013-09-04 14:29:41 -06:00
Pedro Algarvio
f9176a9064
Let's try Popen
.
2013-08-22 12:27:58 +01:00
Pedro Algarvio
e817f0087a
Redirect stderr
to stdout
.
2013-08-22 11:59:25 +01:00
Pedro Algarvio
0860da1852
Add debug print to check if communicate is doin' the right thing.
2013-08-21 23:41:27 +01:00
Pedro Algarvio
49a6cfdc51
On bootstrap failure, also cleanup.
2013-08-17 07:59:13 +01:00
Pedro Algarvio
d66609c630
Revert "Make salt-cloud run our testrun state to get a streamed output"
...
This reverts commit d8b011d103
.
2013-08-17 06:06:51 +01:00
Pedro Algarvio
09cb137ec7
Revert "salt-call
does not support timeout
"
...
This reverts commit 20de21df07
.
2013-08-17 06:06:41 +01:00
Pedro Algarvio
2dd1cb2a83
Revert "Let's try to get the test suite output"
...
This reverts commit 1ab4b0ca7b
.
2013-08-17 06:06:29 +01:00
Pedro Algarvio
1ab4b0ca7b
Let's try to get the test suite output
2013-08-17 05:40:05 +01:00
Pedro Algarvio
20de21df07
salt-call
does not support timeout
2013-08-17 05:32:32 +01:00