Erik Johnson
fcfa1a244e
Revert "Re-enable test run SLS"
...
This reverts commit 8bcc418aa2
.
2014-09-11 17:44:00 -05:00
Erik Johnson
8883f974a8
Add command-line options for package build options
...
Also add these to pillar data so they make it to the buildpackage SLS
2014-09-11 17:05:09 -05:00
Erik Johnson
8bcc418aa2
Re-enable test run SLS
...
Now that the buildpackage stuff is ready, this no longer needs to be
commented out.
2014-09-11 13:35:40 -05:00
Erik Johnson
cb31726500
Download packages only when buildpackage.py was run
2014-09-11 13:19:44 -05:00
Erik Johnson
e22c000d5c
Create the build log in the artifact dir
...
This allows the jenkins master to receive the log file even if the build
script aborted. Before I was just copying the log file to the artifact
dir at the end of the script, which meant that jenkins only gets the log
when the script succeeds.
2014-09-11 13:08:40 -05:00
Erik Johnson
a146a80034
Fix tarfile name
2014-09-11 12:56:45 -05:00
Erik Johnson
2256dc786a
Fix path to cached packages
2014-09-11 12:42:40 -05:00
Pedro Algarvio
da1fb62a67
Fix typo in comment
2014-09-11 18:18:39 +01:00
Erik Johnson
12ca973f10
Fix path for cp.push
2014-09-11 12:07:00 -05:00
Erik Johnson
8c89d7e193
Fix block comment
...
I wasn't letting the prep sls run when testing package auto-builds
2014-09-11 11:33:49 -05:00
Erik Johnson
07a58c4bae
Revert "Uncomment test run code"
...
This reverts commit e45b816341
.
2014-09-10 17:20:08 -05:00
rallytime
690e85a089
Change expected return for deleting digital ocean instance
2014-09-08 14:13:26 -06:00
Erik Johnson
e45b816341
Uncomment test run code
...
I was unaware that the tests run using a hard-coded jenkins.py, so
commenting it out as I did has no effect.
2014-09-08 14:02:27 -05:00
Erik Johnson
9452709cb3
Lint fixes
2014-09-08 14:02:18 -05:00
Erik Johnson
ec842a754c
Add RPM building to jenkins.py
...
This is a work-in-progress commit. The running of the actual test suite
has been commented out to facilitate quicker testing of the RPM builds,
I will need to uncomment this before this is merged.
2014-09-08 12:23:44 -05:00
Erik Johnson
60e606d250
Fix relative paths, move build log to artifact dir
2014-09-08 12:07:29 -05:00
rallytime
1727d04701
Generate random cloud provider names on digital ocean
2014-09-05 15:57:00 -06:00
Erik Johnson
40ce199736
make logger global for buildpackage.py
2014-09-05 16:30:26 -05:00
Erik Johnson
9ea317d510
Add spec file for git builds
2014-09-05 15:11:02 -05:00
rallytime
6de2a37ec8
Generate random cloud instance name on rackspace tests
2014-09-05 14:09:42 -06:00
Erik Johnson
aa9a0555e0
Add buildpackage.py
2014-09-05 15:04:46 -05:00
rallytime
df504928b6
Update linode tests to use a randomly generated instance name
2014-09-05 09:23:40 -06:00
Thomas S Hatch
70950a1543
Merge pull request #15510 from lyft/boto_elb_resolve_error_on_deregister_instances_call
...
deregister_instances and register_instances methods return True/False/None
2014-09-04 15:32:45 -06:00
Colin Johnson
754c01448e
provide True, False and None returns on deregister_instances and register_instances methods
2014-09-04 05:53:52 +00:00
rallytime
155b548eae
Remove unnecessary import requirements to cloud integration tests
2014-09-03 20:12:44 -06:00
Colton Myers
3a5f8281da
Merge pull request #15490 from basepi/backport_boto
...
Backport boto modules/states/tests
2014-09-03 16:23:35 -06:00
Colton Myers
c7b666fe43
Bring boto state tests from develop to 2014.7
2014-09-03 15:22:55 -06:00
Colton Myers
c127b4bafe
Bring boto module tests from develop to 2014.7
2014-09-03 15:22:17 -06:00
Mike Place
c8f67c2b89
Fix tests and lint
2014-09-03 14:17:27 -06:00
rallytime
bd59d3a6b2
Correct cloud_prep_sls reference
2014-08-31 09:31:12 -06:00
rallytime
520e5e6676
Remove 'is True'
2014-08-30 20:18:12 -06:00
rallytime
61478de6e8
First pass at allowing jenkins.py to only run cloud tests
2014-08-30 17:38:39 -06:00
rallytime
72de420e2d
Tell jenkins to run integration tests for salt/runner.py
2014-08-28 10:53:22 -06:00
Thomas S Hatch
55422ccc42
Merge pull request #15303 from whiteinge/fix-wheelclient-auth-tests
...
Fix failing integration tests for the wheel client
2014-08-27 15:50:25 -06:00
Erik Johnson
ff6a228746
Remove reference to nonexistant function in pkg tests
...
This fixes a ref that was missed in 7984a8c
.
2014-08-27 13:52:36 -05:00
rallytime
e1dde7c574
Enable wheel integration tests in runtests.py
2014-08-27 09:34:44 -06:00
Seth House
a96d58cfba
Fix failing integration tests for the wheel client
2014-08-26 19:20:25 -06:00
Thomas S Hatch
d49f46786e
Merge pull request #15250 from saltstack/bp-14975
...
Backport #14975 to 2014.7
2014-08-26 10:11:07 -06:00
Jon Henry
5b47b0bdb7
Fix gem unit test with new proxy parameter
2014-08-25 13:55:59 -06:00
Kamal Nasser
c613c08869
Replace all occurrences of "Digital Ocean" with "DigitalOcean"
2014-08-25 13:42:01 -06:00
Erik Johnson
ec07a8efea
Get effective username using pwd.getpwduid()
2014-08-21 15:22:54 -05:00
Erik Johnson
43de873bb2
D'oh, needed to capitalize USERNAME
2014-08-21 14:35:36 -05:00
Erik Johnson
26a3db2ac8
Set USERNAME env var manually in test suite
...
This works around a known issue in GitPython when the USERNAME
environment variable is missing.
2014-08-21 12:19:31 -05:00
Erik Johnson
bf982d6893
Update gitfs test opts to reflect new gitfs config opts
2014-08-20 22:23:45 -05:00
C. R. Oldham
5caf4e35c9
Merge pull request #15098 from s0undt3ch/issues/14979-output-file-permissions
...
Trim the output file as opposed to delete to keep same permissions.
2014-08-20 11:16:42 -06:00
rallytime
e7a09640fa
put -C tar command back in
2014-08-20 10:07:12 -06:00
rallytime
286de2466d
Remove compound matching from jenkins.py
2014-08-20 09:49:49 -06:00
Pedro Algarvio
b6e259c21e
Add test case for output file permissions
...
Refs #14979
2014-08-20 02:28:13 +01:00
Thomas S Hatch
02da0dda32
Merge pull request #15016 from whiteinge/netapi-fix-logout
...
Add tests and a fix for the rest_cherrypy logout view
2014-08-15 23:20:35 -06:00
rallytime
b8db5ff56b
Change lxc skipIf message to be more helpful
2014-08-15 14:21:09 -06:00
rallytime
396a4de7c5
Make lxc tests run!
2014-08-15 11:09:20 -06:00
Seth House
2b5bed43b9
Add integration test for logging out of the rest_cherrypy app
2014-08-15 09:45:30 -04:00
rallytime
e8fab3d28a
Fix psutil version
2014-08-14 21:22:55 -06:00
rallytime
0683c704dd
Move psutil version check
2014-08-14 21:20:25 -06:00
rallytime
8dca2515ee
Skip virtual_memory and swap_memory tests if psutil < 0.6.0
2014-08-14 16:16:38 -06:00
rallytime
7f170c126f
Remove 'RC1' from GIT_VERSION comparison
2014-08-14 11:06:18 -06:00
rallytime
fe5b8d22ec
Fix gitpillar skipIfs
2014-08-14 10:34:38 -06:00
Thomas S Hatch
a0d7163abb
Merge pull request #14967 from rallytime/pillar_tests
...
Add skipIfs to pillar tests if GitPillar 0.3.2rc1 or > isn't installed
2014-08-13 16:53:56 -06:00
rallytime
496cfe25b3
Add skipIfs to ext_pillar tests if GitPillar 0.3.2rc1 or > isn't installed
2014-08-13 14:14:53 -06:00
Thomas S Hatch
1a5c0c5dca
Merge pull request #14895 from whiteinge/npm-cleanup
...
Fix npm test; npm state pylint fix
2014-08-12 11:44:42 -06:00
Seth House
11f4e20bd8
Fix incorrect call to state.single in npm pkgs test
2014-08-11 11:03:00 -04:00
Pedro Algarvio
7b2126c550
Make pylint ignore "non issues"
2014-08-10 06:06:41 +01:00
Pedro Algarvio
9ebe6f3873
Test exc_info
per handler
2014-08-10 03:44:53 +01:00
Thomas S Hatch
b0561a703b
Revert "Pull out pending_events changes and reuse"
...
This reverts commit e832a3a17f
.
2014-08-08 12:49:46 -06:00
Pedro Algarvio
c9be462f00
Skip tests if real mock library is not available
2014-08-08 00:52:47 +01:00
Pedro Algarvio
a399e62ca2
Skip tests if real mock library is not available
2014-08-08 00:46:21 +01:00
Pedro Algarvio
97f1b00818
Skip tests if real mock library is not available
2014-08-08 00:46:21 +01:00
Pedro Algarvio
faf3157637
Skip tests if real mock library is not available
2014-08-08 00:46:21 +01:00
Pedro Algarvio
21141af46a
Skip tests if real mock library is not available
2014-08-08 00:46:21 +01:00
Pedro Algarvio
239b2480ae
Skip tests if real mock library is not available
2014-08-08 00:46:21 +01:00
Seth House
429cc40376
Minor checks to the saltsh.py repl
2014-08-07 14:24:30 -04:00
Seth House
ed4bb5119e
Added pkgs support to the npm module/state
2014-08-07 12:36:39 -04:00
rallytime
6be33dcdc9
Change install package to help Arch tests pass
2014-08-05 14:35:32 -06:00
Colton Myers
2bfcbe01d0
Merge pull request #14661 from rallytime/fix_rhel7_test
...
Add GPG key file to integration tests
2014-07-31 16:34:47 -06:00
Michael Birtwell
32acb7aeae
Pull out pending_events changes and reuse
...
PendingEventsBase implements all the pending_events queue management
Make both normal SaltEvent and raetevent.SaltEvent inherit from this to
standardise the get_event interface.
Update tests for event.SaltEvent (Couldn't find tests for
raetevent.SaltEvent)
2014-07-31 12:23:38 -06:00
rallytime
f5597010ca
Add GPG key file to integration tests
2014-07-31 10:57:49 -06:00
Pedro Algarvio
3a16b42eb9
Add another which only changes the noc
2014-07-30 18:10:22 +01:00
Pedro Algarvio
7a77942a82
Add another example for version comparison
2014-07-30 18:10:16 +01:00
Pedro Algarvio
fc239f8cd9
Add another version example to the tests
2014-07-30 18:10:09 +01:00
Pedro Algarvio
827ccd5338
Support a minor bugfix attribute in the version string
2014-07-30 18:10:02 +01:00
Seth House
adabf74852
Added utils module for working with hash functions
2014-07-25 16:12:37 -06:00
Thomas S Hatch
6e575491ee
Merge pull request #14506 from whiteinge/netapi-client-config
...
Load netapi modules using client config instead of master config
2014-07-25 15:49:02 -06:00
Seth House
ac6c7d0d6d
Added utils-style IP-check functions to the network module
2014-07-25 15:20:14 -06:00
Seth House
c046f1cac7
Revert "Switch NetapiClient to use client_config instead of master_config"
...
This partially reverts commit 2bc1ed8afb
.
2014-07-25 14:42:19 -06:00
Thomas S Hatch
db5e572760
Merge pull request #14269 from whiteinge/test-dotlookup-notation
...
Add a bug fix plus tests for calling functions in Jinja via dot-lookup notation
2014-07-25 14:04:03 -06:00
C. R. Oldham
253de7a995
PyLint fix.
2014-07-25 12:48:07 -06:00
Seth House
0d8cc41c61
Added tests for calling functions via Jinja with dot-lookup syntax
...
Yay!
2014-07-25 12:27:45 -06:00
C. R. Oldham
f53e477735
Merge commit, resolve conflict
2014-07-25 11:16:22 -06:00
C. R. Oldham
c94808689d
Extend dot-in-pkg test to RHEL 5 as well
2014-07-25 10:57:18 -06:00
Thomas S Hatch
288e9bba29
TABS?!?!? Really @cro ??
2014-07-25 10:39:19 -06:00
Thomas S Hatch
35c3614f7f
Merge branch 'rhel7_pkgtests' of https://github.com/cro/salt into cro-rhel7_pkgtests
2014-07-25 10:38:10 -06:00
Thomas S Hatch
0577b4070b
lint fix
2014-07-25 10:21:31 -06:00
Thomas S Hatch
f3e6841401
Merge pull request #14452 from s0undt3ch/hotfix/osx-pyt-nr
...
Skip test on Darwin after making an effort
2014-07-25 10:20:10 -06:00
C. R. Oldham
1891b07856
Make this test check for diff packages on RHEL/Centos 6 vs 7
2014-07-24 19:11:56 -04:00
C. R. Oldham
b6f70ac80f
Make this test check for diff packages on RHEL/Centos 6 vs 7
2014-07-24 19:09:52 -04:00
Seth House
2bc1ed8afb
Switch NetapiClient to use client_config instead of master_config
...
We access the Salt master through client interfaces and should use the
correct config when doing so. We should also reuse the already-loaded
opts when instantiating LocalClient().
2014-07-24 16:08:31 -06:00
Seth House
33043ef919
Added NetapiClient integration tests
2014-07-24 16:08:31 -06:00
Seth House
bd72c35f7c
Add tests for the cmd_sync and cmd_async RunnerClient methods
2014-07-24 16:08:30 -06:00
Seth House
c34cddcfbb
Move eauth_creds to class-level for reuse
2014-07-24 16:08:30 -06:00
Seth House
b077b2436e
Add 'auto' eauth backend for tests
2014-07-24 16:08:30 -06:00