Hunter Haugen [Fri, 27 Jun 2014 17:17:01 +0000 (10:17 -0700)]
Merge remote-tracking branch 'laurenrother/readme' into 1.0.x
Lauren Rother [Wed, 25 Jun 2014 17:39:37 +0000 (10:39 -0700)]
Add supported information and reorder to highlight support
Include notice that Git is the only supported provider and reorder README so Git is the first VCS addressed.
Hunter Haugen [Thu, 19 Jun 2014 21:55:15 +0000 (14:55 -0700)]
Merge pull request #175 from hunner/revert_sles
Revert "Remove compatability guarantees for SLES"
Hunter Haugen [Wed, 18 Jun 2014 22:15:12 +0000 (15:15 -0700)]
Merge pull request #174 from justinstoller/update-helpers
(QENG-798) Update acceptance helpers to create distmoduledir
Hunter Haugen [Wed, 18 Jun 2014 22:13:43 +0000 (15:13 -0700)]
Revert "Remove compatability guarantees for SLES"
This reverts commit
40c4826933848bf827e69e2276f0c9be05877344.
Justin Stoller [Wed, 18 Jun 2014 21:02:33 +0000 (14:02 -0700)]
(QENG-798) Update acceptance helpers to create distmoduledir
Previously we were creating the module dir on foss installs, but not on PE.
PE agents do not have a module dir deployed as part of the base PE install,
so to test on PE agents we need to create the module dir. `mkdir -p` is
idempotent, so we use it as a cudgle here. We also update the beaker_helper
and spec_helper_acceptance to contain the same installation steps for test
dependencies, warnings, and installation methods.
Hunter Haugen [Wed, 18 Jun 2014 18:17:15 +0000 (11:17 -0700)]
Merge branch 'add-group-to-clone-spec' into 1.0.x
John Duarte [Sun, 15 Jun 2014 17:57:25 +0000 (10:57 -0700)]
Define group in clone_repo_spec test
A matching group is not added for a user when added on SLES 11.
This commit adds a group to the setup manifests in order to
ensure that the proper group is added to the system during the
test preparation.
Hunter Haugen [Wed, 18 Jun 2014 16:45:41 +0000 (09:45 -0700)]
Merge pull request #172 from hunner/pending_overflow
Pending overflow depth test
Hunter Haugen [Wed, 18 Jun 2014 16:43:59 +0000 (09:43 -0700)]
Pending overflow depth test
This test is pending as git cannot handle the overflow correctly, though
vcsrepo handles it fine.
Hunter Haugen [Wed, 18 Jun 2014 16:02:16 +0000 (09:02 -0700)]
Merge branch 'release_1.0.1' into 1.0.x
Hunter Haugen [Wed, 18 Jun 2014 00:05:12 +0000 (17:05 -0700)]
Release 1.0.1
Summary:
This release is the first supported release of vcsrepo. The readme has
been greatly improved.
Features:
- Updated and expanded readme to follow readme template
Fixes:
- Remove SLES from compatability metadata
- Unpin rspec development dependencies
- Update acceptance level testing
Hunter Haugen [Wed, 18 Jun 2014 16:00:06 +0000 (09:00 -0700)]
Merge remote-tracking branch 'laurenrother/readme' into 1.0.x
Lauren Rother [Tue, 17 Jun 2014 22:18:10 +0000 (15:18 -0700)]
Remove extra READMEs
Delete the per-VCS readmes. They are all combined in the main readme now.
Lauren Rother [Tue, 17 Jun 2014 22:10:52 +0000 (15:10 -0700)]
Update README to conform with template
Add template sections and organization to original README. Add information about providers, features, and parameters. General edits for clarity and completeness.
Hunter Haugen [Tue, 17 Jun 2014 17:29:05 +0000 (10:29 -0700)]
Merge pull request #168 from hunner/remove_sles
Remove compatability guarantees for SLES
Hunter Haugen [Tue, 17 Jun 2014 17:02:07 +0000 (10:02 -0700)]
Remove compatability guarantees for SLES
We have some as-of-yet unsolved failures on sles.
Hunter Haugen [Mon, 16 Jun 2014 20:56:09 +0000 (13:56 -0700)]
Merge branch 'fix-git-package-ubuntu-10' into 1.0.x
John Duarte [Sat, 14 Jun 2014 18:57:07 +0000 (11:57 -0700)]
Accomodate ubuntu-10 package for git in beaker tests
Add conditional to install `git-core` if the platform under test
is ubuntu-10. The `git` package is not available for this platform.
Hunter Haugen [Mon, 16 Jun 2014 20:54:34 +0000 (13:54 -0700)]
Merge branch 'fix-git-package-debian' into 1.0.x
John Duarte [Sat, 14 Jun 2014 15:02:45 +0000 (08:02 -0700)]
Change tests to not install git-daemon on debian
The git-daemon is not a valid package on debian based systems.
Update tests to not try installing git-daemon on debian systems.
Hunter Haugen [Mon, 16 Jun 2014 18:34:34 +0000 (11:34 -0700)]
Merge pull request #166 from hunner/patch_shallow
Correct shallow clone count
Hunter Haugen [Mon, 16 Jun 2014 18:31:13 +0000 (11:31 -0700)]
Correct shallow clone count
The manifest is set to clone at a depth of 1, but checks for a shallow
depth of 2. It should either checkout a depth of 2, or only check for a
depth of 1.
This commit makes it check for a depth of 1
Hunter Haugen [Mon, 16 Jun 2014 18:07:25 +0000 (11:07 -0700)]
Merge pull request #165 from hunner/patch_mkdir
More typos
Hunter Haugen [Mon, 16 Jun 2014 17:57:02 +0000 (10:57 -0700)]
Correct gitconfig typo
Hunter Haugen [Mon, 16 Jun 2014 17:51:52 +0000 (10:51 -0700)]
More typos
Morgan Haskel [Mon, 16 Jun 2014 17:48:19 +0000 (13:48 -0400)]
Merge pull request #164 from hunner/patch_mkdir
Fix typo in mkdir
Hunter Haugen [Mon, 16 Jun 2014 17:45:29 +0000 (10:45 -0700)]
Fix typo in mkdir
Hunter Haugen [Mon, 16 Jun 2014 17:27:53 +0000 (10:27 -0700)]
Merge pull request #163 from hunner/mkdir
Need to make the moduledir before scping the module to agents
Hunter Haugen [Mon, 16 Jun 2014 17:27:12 +0000 (10:27 -0700)]
Need to make the moduledir before scping the module to agents
Hunter Haugen [Mon, 16 Jun 2014 17:19:37 +0000 (10:19 -0700)]
Merge pull request #162 from hunner/patch_helper
Patch beaker spec helper for create_remote_file
Hunter Haugen [Mon, 16 Jun 2014 17:18:01 +0000 (10:18 -0700)]
Patch beaker spec helper for create_remote_file
Hunter Haugen [Mon, 16 Jun 2014 17:15:28 +0000 (10:15 -0700)]
Merge branch 'master' into 1.0.x
Hunter Haugen [Thu, 12 Jun 2014 15:42:54 +0000 (08:42 -0700)]
Merge pull request #158 from mhaskel/rspec-pinnings
Pin versions in the supported branch.
Morgan Haskel [Thu, 12 Jun 2014 15:41:16 +0000 (11:41 -0400)]
Pin versions in the supported branch.
Travis Fields [Thu, 5 Jun 2014 22:18:00 +0000 (15:18 -0700)]
Merge pull request #156 from johnduarte/pin-beaker-rspec
Pin version of beaker-rspec to ~2.2
John Duarte [Thu, 5 Jun 2014 20:11:57 +0000 (13:11 -0700)]
Pin gem versions in Gemfile
Pin beaker-rspec to ~2.2
Pin rspec to ~2.14
Hunter Haugen [Thu, 5 Jun 2014 17:49:59 +0000 (10:49 -0700)]
Merge branch '1.0.x'
Conflicts:
Modulefile
Ashley Penney [Thu, 5 Jun 2014 17:46:11 +0000 (13:46 -0400)]
Merge pull request #149 from lucas42/patch-1
Update Modulefile to use hyphen in name, not slash
Ashley Penney [Thu, 5 Jun 2014 17:43:55 +0000 (13:43 -0400)]
Merge pull request #152 from petems/patch-1
Update .gitignore
Travis Fields [Wed, 4 Jun 2014 22:59:45 +0000 (15:59 -0700)]
Merge pull request #155 from johnduarte/remove_beaker_gemfile
Remove beaker from Gemfile
John Duarte [Wed, 4 Jun 2014 22:43:09 +0000 (15:43 -0700)]
Remove beaker from Gemfile
Having both `beaker` and `beaker-rspec` in the Gemfile results
in a dual inclusion of `beaker` as a dependency resulting in
version 2.0.0 of `beaker-rspec` being installed.
The tests for vcsrepo require the `BEAKER_setfile` ENV var, which
is only available in `beaker-rspec` 2.2.0 and above. Removing
`beaker` allows the latest version of `beaker-rspec` to be
installed, thus satisfying this requirement.
Ashley Penney [Wed, 4 Jun 2014 18:43:06 +0000 (14:43 -0400)]
Merge pull request #154 from mhaskel/1.0.0-prep
1.0.0 prep
Morgan Haskel [Wed, 4 Jun 2014 18:40:37 +0000 (14:40 -0400)]
Update changelog and metadata for 1.0.0 release.
Morgan Haskel [Wed, 4 Jun 2014 17:32:00 +0000 (13:32 -0400)]
Merge pull request #143 from mhaskel/1.0.x
Updated modulefile and added metadata.json for 1.0.0 release.
Morgan Haskel [Mon, 19 May 2014 18:47:11 +0000 (14:47 -0400)]
Updated modulefile and added metadata.json for 1.0.0 release.
Supported OS list should be checked in metadata. CHANGELOG still
needs to be updated for 1.0.0 release.
Peter Souter [Mon, 2 Jun 2014 21:51:31 +0000 (22:51 +0100)]
Update .gitignore
Ignore .vagrant folder for Beaker
Hunter Haugen [Wed, 28 May 2014 17:30:18 +0000 (10:30 -0700)]
Merge pull request #150 from johnduarte/rake_keyfile
Add optional keyfile argument to rake tasks
John Duarte [Wed, 28 May 2014 00:18:37 +0000 (17:18 -0700)]
Fix logic to validate keyfile
Ashley Penney [Tue, 27 May 2014 20:02:58 +0000 (16:02 -0400)]
Merge pull request #151 from hunner/fix_trusty
Update tests for ubuntu 14.04
Hunter Haugen [Tue, 27 May 2014 19:41:31 +0000 (12:41 -0700)]
Update tests for ubuntu 14.04
In ubuntu 14.04 git 1.9.1 is the default version, and 1.9+ fatally fail
if the user.email and user.name are not set (previously it would just
warn). This commit sets those up so the tests will actually run.
John Duarte [Tue, 27 May 2014 18:04:40 +0000 (11:04 -0700)]
Add optional keyfile argument to rake tasks
This addition walks over any extra arguments provided to the
rake task. If the file is a key file, it is used to set the
BEAKER_keyfile ENVIRONMENT variable for beaker-rspec and/or
the `--keyfile` command line argument for beaker as needed.
Example:
BEAKER_setfile=../vcenterhost.cfg rake beaker:rspec:test[foo,pe,'/home/myuser/.ssh/id_rsa-secret']
Luke Blaney [Tue, 27 May 2014 12:46:49 +0000 (13:46 +0100)]
Update Modulefile to use hyphen in name, not slash
For details about the difference, see: http://docs.puppetlabs.com/puppet/latest/reference/modules_publishing.html#another-note-on-module-names
Hunter Haugen [Thu, 22 May 2014 20:03:59 +0000 (13:03 -0700)]
Merge pull request #148 from johnduarte/bare_with_revision_should_fail
Set git bare with revision test to fail
Justin Stoller [Thu, 22 May 2014 18:23:45 +0000 (11:23 -0700)]
Merge pull request #147 from johnduarte/beaker_raketasks
Adjust Rake tasks for beaker testing
John Duarte [Thu, 22 May 2014 15:07:57 +0000 (08:07 -0700)]
Set git bare with revision test to fail
When the revision attribute is defined in conjunction with the bare
attribute when using the git provider, the repo should fail to be
written to disk.
See: FM-1361
John Duarte [Thu, 22 May 2014 01:25:54 +0000 (18:25 -0700)]
Adjust Rake tasks for beaker testing
Adjust Rake tasks for testing beaker-rspec suite, beaker suite,
and both in combination.
The beaker hosts config file is set via the BEAKER_setfile
environmental variable. The hosts defined within this file
supersede the host past in as an argument, but the argument is
still required. For an arbitrary hosts config file this provides
the following options.
1. Run the beaker-rspec test suite
BEAKER_setfile=/path/to/my_hosts.cfg rake beaker:rspec:test[foo,pe]
2. Run the beaker test suite
BEAKER_setfile=/path/to/my_hosts.cfg rake beaker:test[foo,pe]
3. Run both beaker-rspec and beaker test suites
BEAKER_setfile=/path/to/my_hosts.cfg rake beaker:test:all[foo,pe]
John Duarte [Thu, 22 May 2014 01:17:31 +0000 (18:17 -0700)]
Merge pull request #145 from hunner/fix_beaker_tests
Update specs and fix FM-1361
Hunter Haugen [Wed, 21 May 2014 01:15:03 +0000 (18:15 -0700)]
Update specs and fix FM-1361
- Add install.rb for pre-suite
- Add catches for failures/changes to manifest application
- Correct root ssh key copying
- Add sleeps for killing processes releasing ports
- Fix FM-1361
Hunter Haugen [Wed, 21 May 2014 23:03:01 +0000 (16:03 -0700)]
Merge pull request #146 from daenney/mv-optional-commands
Un-optional the non-optional commands.
Daniele Sluijters [Wed, 21 May 2014 22:16:10 +0000 (00:16 +0200)]
Un-optional the non-optional commands.
Morgan Haskel [Mon, 19 May 2014 19:07:46 +0000 (15:07 -0400)]
Merge pull request #144 from johnduarte/move_protocol_tests_to_beaker
Move protocol tests to beaker suite
John Duarte [Mon, 19 May 2014 18:53:54 +0000 (11:53 -0700)]
Move protocol tests to beaker suite
The protocol tests are more closely aligned with the rest of the beaker test
suite. The beaker tests have received more vetting, so the setup and teardown
process should be less prone to failure on repeated execution.
Ashley Penney [Mon, 19 May 2014 15:09:59 +0000 (08:09 -0700)]
Merge pull request #135 from johnduarte/add_protocol_acceptance_tests
Add acceptance tests for git protocols using clone
Ashley Penney [Mon, 19 May 2014 15:09:43 +0000 (08:09 -0700)]
Merge pull request #137 from johnduarte/git_ensure_latest
Add test for ensure latest with branch specified
Ashley Penney [Mon, 19 May 2014 15:09:32 +0000 (08:09 -0700)]
Merge pull request #141 from johnduarte/beaker_tests
Add beaker tests to complete test plan
Ashley Penney [Mon, 19 May 2014 15:09:23 +0000 (08:09 -0700)]
Merge pull request #142 from johnduarte/add_vagrant_user
Ensure vagrant user/group for non-vagrant testing
Ashley Penney [Mon, 19 May 2014 15:09:13 +0000 (08:09 -0700)]
Merge pull request #139 from cyberious/FM-1284
Fix detached head state
John Duarte [Mon, 5 May 2014 20:49:51 +0000 (13:49 -0700)]
Ensure vagrant user/group for non-vagrant testing
These tests assert the vagrant user and group. When testing on non-vagrant systems these tests
will fail. Ensure that the user/group are present in order to allow the tests to pass on
other systems.
John Duarte [Mon, 19 May 2014 00:31:34 +0000 (17:31 -0700)]
Skip exec excludes until expectations are defined
John Duarte [Mon, 19 May 2014 00:30:33 +0000 (17:30 -0700)]
Skip HTTP basic auth (see FM-1331)
John Duarte [Mon, 19 May 2014 00:26:20 +0000 (17:26 -0700)]
Fix git daemon call
John Duarte [Fri, 16 May 2014 22:00:18 +0000 (15:00 -0700)]
Fix exec for clone with excludes test
John Duarte [Fri, 16 May 2014 21:59:19 +0000 (14:59 -0700)]
Skip tests for unsupported features
John Duarte [Fri, 16 May 2014 21:58:17 +0000 (14:58 -0700)]
Fix calls to ruby
John Duarte [Thu, 15 May 2014 20:21:13 +0000 (13:21 -0700)]
Use sinatra to set up basic auth HTTP server
John Duarte [Thu, 15 May 2014 18:43:29 +0000 (11:43 -0700)]
Add conditional ruby path based on pe
John Duarte [Mon, 12 May 2014 21:42:56 +0000 (14:42 -0700)]
Add beaker tests for git basic auth
John Duarte [Mon, 12 May 2014 18:27:37 +0000 (11:27 -0700)]
Fix exec test for clone
John Duarte [Mon, 12 May 2014 18:24:45 +0000 (11:24 -0700)]
Fix exec test for compression
John Duarte [Mon, 12 May 2014 18:24:16 +0000 (11:24 -0700)]
Fix exec test for shallow clone
John Duarte [Mon, 12 May 2014 18:02:15 +0000 (11:02 -0700)]
Fix root path depth for negative shallow tests
John Duarte [Mon, 12 May 2014 17:39:37 +0000 (10:39 -0700)]
Add tests git using ssh scp syntax
John Duarte [Sun, 11 May 2014 19:00:21 +0000 (12:00 -0700)]
Update expectations for shallow clone
John Duarte [Sun, 11 May 2014 15:07:10 +0000 (08:07 -0700)]
Set neg bare test to expect bare repo
John Duarte [Sun, 11 May 2014 04:40:19 +0000 (21:40 -0700)]
Fix typos in verify steps for revision tests
John Duarte [Sun, 11 May 2014 04:13:03 +0000 (21:13 -0700)]
Move git tests into sub-directory
John Duarte [Sun, 11 May 2014 00:48:54 +0000 (17:48 -0700)]
Add beaker tests for git checkout for user
John Duarte [Sun, 11 May 2014 00:32:57 +0000 (17:32 -0700)]
Add beaker tests for git checkout for specified tag
John Duarte [Sun, 11 May 2014 00:19:58 +0000 (17:19 -0700)]
Add beaker tests for git shallow clone
John Duarte [Sat, 10 May 2014 23:55:09 +0000 (16:55 -0700)]
Add beaker tests for git checkout for specified revision
John Duarte [Sat, 10 May 2014 17:24:00 +0000 (10:24 -0700)]
Add beaker tests for git checkout for group
John Duarte [Sat, 10 May 2014 17:12:55 +0000 (10:12 -0700)]
Add beaker tests for git compression checkouts
John Duarte [Sat, 10 May 2014 17:00:28 +0000 (10:00 -0700)]
Add beaker test for git branch checkout
John Duarte [Sat, 10 May 2014 16:36:26 +0000 (09:36 -0700)]
Add beaker tests for git create
John Duarte [Fri, 9 May 2014 18:13:40 +0000 (11:13 -0700)]
Add beaker tests for git clone
John Duarte [Thu, 8 May 2014 20:40:44 +0000 (13:40 -0700)]
Use on(host, '') rather than host.execute('') syntax
John Duarte [Thu, 8 May 2014 18:55:58 +0000 (11:55 -0700)]
Change apply syntax to apply_manifest_on
John Duarte [Wed, 7 May 2014 00:50:06 +0000 (17:50 -0700)]
Add test for git clone using ssh
John Duarte [Tue, 6 May 2014 18:11:25 +0000 (11:11 -0700)]
Add test for git clone using https