Commit Graph

126 Commits

Author SHA1 Message Date
OpenDev Sysadmins 9263900fd8 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:25:35 +00:00
Ian Wienand c8c656d8a0 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I4d051f38f48d9c8d064bce455cf874aaacb4560b
2019-03-24 20:35:47 +00:00
Colleen Murphy 6ee66084c7 Update Gemfile for Zuulv3
The logic in the Gemfile was relying on Zuulv2 variables to find out
whether the spec helper gem was already available on disk, and since
Zuulv3 has changed things it was failing to find it and downloading the
master version instead. This patch ensures the Gemfile looks for the gem
in the right place when running in CI.

Change-Id: I0639bc4bb87db53e46bd58e255aa8c21275792cd
2018-07-12 09:57:46 +02:00
Colleen Murphy 1b625245d6 Depend on helper gem for spec_helper_acceptance
Instead of keeping a local copy of spec_helper_acceptance.rb and
requiring updates to all modules for any change, we can move it into the
common helper gem and require it from there. This will make it easier to
create and review changes that affect all puppet modules. Also change
the Gemfile to look for the gem in the local workspace if running in a
zuul environment.

Change-Id: I11adccf36f9aef32a46de7179d48f6ef296771e2
2017-08-18 10:41:45 +02:00
Colleen Murphy 1f433c1222 Fix beaker on xenial
Add a xenial nodeset and update the spec helper to install puppet 3 from
the Ubuntu repos instead of from puppetlabs.

Change-Id: I0b34419c4f00b971725a30bccfcaff0db749c300
2017-06-24 16:47:03 +02:00
Spencer Krum 8c19d2483e Use new infra_spec_helper for gem dependencies
Change-Id: I32d45b7b5894d7747fbcaa3f6aa494fdd39fa094
2016-06-21 18:40:45 -07:00
Spencer Krum 3d2a9a5180 Pin google-api-client; sanitize Gemfile
Change-Id: I9b63b70d0445e253637f737d65a7595cc6ee549b
2016-04-14 15:25:31 -07:00
Jenkins 1c40769d57 Merge "Add missing metadata.json to vcsrepo" 2015-09-12 21:35:24 +00:00
Spencer Krum e9f16eb2b3 Fix target path for regular git clone during tests
Use same target directory for zuul-cloner and
the regular git command.

Change-Id: I5d1f60853afc6ae6027648235864456723777cf4
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
2015-08-19 16:43:21 -07:00
Colleen Murphy 92f01d0474 Add Gemfile and puppet 4 checks
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins. Also update the
Rakefile to match the other modules, which have puppetlabs_spec_helper
and puppet-lint rake tasks included in them.

Change-Id: I715328da58e27014b2de9edd53cb3f70fd2420e3
2015-08-14 11:46:56 -07:00
Marton Kiss 2555bc1b64 Add missing metadata.json to vcsrepo
The metadata.json was missing from this repo. Resolve
the puppet module dependency issue with Puppet 3.x/Trusty.
The patch removes the deprecated Modulefile.

Change-Id: I5dcc219260c3aeef97f9599f69aae8e741a57f6e
2015-08-11 10:31:30 +02:00
Spencer Krum 035306e7ed Boilerplate beaker-rspec files
Change-Id: Iad58342b931895c6633cfdbe62f1e8656f345440
2015-07-28 02:06:22 -07:00
Steve Kowalik 285f114087 Remove spec directory
This directory is full of code that's rotten or rotting, delete it
and the horse it rode in on.

Change-Id: If27065124e6cc900d9bb000b651ca48a77df6d33
2015-05-22 08:33:19 +10:00
Ramy Asselin 83475ad495 Rename openstackci to openstackinfra
Change-Id: I3784949701ec63b3ae7555507c3de2a82ecbdc3e
2015-04-20 13:51:45 -07:00
Jeremy Stanley 1be224be9a Add source and homepage URL metadata
Change-Id: Ic5e55c29d6998f32a36ea3b621a41deb7ca5c257
2014-06-27 21:22:08 +00:00
Clark Boylan 4c3e9b23c4 Bump version to 0.0.8 in prep for release.
Releasing new version to forge requires a version bump. Bump the
version to 0.0.8.

Change-Id: I8f2b16c66bfe637b3a7b37f3fb514867dd07a1da
Reviewed-on: https://review.openstack.org/18691
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-01-02 17:44:13 +00:00
Clark Boylan 3737cccbc1 Checkout local revision if not tag/remote branch.
When the supplied git revision is not a tag or remote branch checkout
the revision locally.

Change-Id: I42bdd4e089036d7520d63067862b0be7245c998f
Reviewed-on: https://review.openstack.org/17568
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2012-12-21 01:08:02 +00:00
Monty Taylor 0fe5920524 Updated .gitreview location
Change-Id: I625de5df6b9d2f9b2dc41044e5439085c3f06415
Reviewed-on: https://review.openstack.org/18190
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-12-17 18:53:08 +00:00
Clark Boylan aa5426e775 Bump version to 0.0.7 in prep for release.
Releasing new version to forge requires a version bump. Bump the version
to 0.0.7.

Change-Id: I0587dc11fa0d6351789e6529364a4ea8c0b2942a
Reviewed-on: https://review.openstack.org/17495
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-12-04 18:22:32 +00:00
Clark Boylan c038985e59 Checkout tags properly.
Previously the tag checkout code would checkout a new branch for the tag
using the current branch (master) as the base for the new branch.
Instead use the actual tag as the base for the tag branch.

Change-Id: Ic18bad7d19da3298b73f3e4185ca0bb5d4b3bf04
Reviewed-on: https://review.openstack.org/16030
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2012-11-14 18:45:21 +00:00
Monty Taylor a442a28e68 Bump version.
Change-Id: Ie61ee9dbaedede275b13f4f9590750a21c7402f1
2012-08-12 07:24:24 -07:00
Monty Taylor a9cad042f0 Add .gitreview file. 2012-08-12 07:21:48 -07:00
Monty Taylor f848a33281 Updated Modulefile information 2012-08-12 07:16:08 -07:00
Monty Taylor 44eb9ad8f7 Fix git vcsrepo support.
ensure => latest should work and trigger when the remote has new
revs, and not at other times. It will handle tags and branches apparently
and will also handle not specifying a branch in the revision.
2012-08-12 00:46:58 -04:00
Monty Taylor 224e2ce3d5 Fix support for wanting a specific tag. 2012-08-11 14:30:29 -04:00
James Turnbull f3acccdfb8 Merge pull request #25 from ejhayes/master
Checkout git repository as user, fixed ensure latest, ssh options
2012-06-29 03:59:43 -07:00
Eric Hayes 4d2942edc2 Run git operations as a specific user (puppetlabs ticket 4773), added ssh options to ensure no prompting (also fixed in pull request #1 by riseuplabs), added ability to keep repository up to date with latest (puppetlabs ticket 11278) 2012-06-29 02:50:12 -07:00
James Turnbull 493dc2172b Merge pull request #24 from jesusaurus/feature/git
Add the ability to specify a git remote
2012-05-23 10:22:57 -07:00
Jesusaurus dce22cfd2d Add the ability to specify a git remote
Rather than fill the git provider with hard-coded references to
origin, it would be better to abstract out which remote the resource
is fetching from.  But since this is only relevant to decentralized
version-control systems, a multiple_remotes feature was added for
the parameter to depend on.  So far this is only implemented for git
remotes, but it could be implemented for other VCSs as well.
2012-05-13 01:55:47 -07:00
James Turnbull 6453643104 Merge pull request #18 from andihit/master
don't recreate bare repo if it exists already - fixes http://projects.puppetlabs.com/issues/12303
2012-05-12 21:34:59 -07:00
James Turnbull 1cc2c98efe Merge pull request #23 from jmchilton/d69a27f3bb5111822e1065f385a53b6ee99cb16a
Fix failing hg provider spec
2012-05-12 21:32:56 -07:00
John Chilton d69a27f3bb Fix failing hg provider spec caused by refactoring in commit f1120f2d9b 2012-05-02 12:35:16 -05:00
Ken Barber 462b1d69bb Merge branch 'patch-1'
* patch-1:
  (#13062) Added clarification that 'revision' can also be used for branches.
2012-04-05 14:55:25 +01:00
Nick Jackson 55e1b9af3d (#13062) Added clarification that 'revision' can also be used for branches. 2012-04-05 14:54:40 +01:00
Andreas Gerstmayr 0f362a13bf add begin/except for hg pull (mercurial 2.1 returns 1 for hg pull when no changes are found; this change gets reverted in mercurial 2.1.1) 2012-03-18 17:26:54 +01:00
Andreas Gerstmayr a63d0380a4 Merge remote-tracking branch 'upstream/master' 2012-03-18 17:12:48 +01:00
James Turnbull d97e19ff90 Merge pull request #19 from adamgibbins/master
Improved Puppet DSL style as per the guidelines.
2012-03-11 14:47:14 -07:00
Adam Gibbins 8acf719c0f Make Puppet DSL compliant with the style guides and puppet lint. 2012-03-11 21:10:08 +00:00
Andreas Gerstmayr c9bcd68953 don't recreate bare repo if it exists already (fixes #12303) 2012-02-26 18:15:10 +01:00
Pieter van de Bruggen b3de3a5c2b Merge pull request #17 from mmrobins/ticket/master/11798_fix_sha1_revision
(#11798) Fix git checkout of revisions
2012-01-19 16:39:21 -08:00
Matt Robinson b931190b32 (#11798) Fix git checkout of revisions
The git provider had some problems checking out SHA1s - it couldn't.
And what's worse, it lied about what it was doing saying that it did
checkout the SHA1.

There was also a bug where if you specified a different branch than you
were on, it was doing a `reset --hard` to the specified branch.  For
example, if master was checked out, and you set "revision => stable", it
would `git reset --hard stable` on the master branch instead of just
checking out stable.  Maybe the original author did this to get around
being unable to checkout when you had local changes, but the --force
flag to checkout will fix that.

With this change, you should now be able to specify a branch, tag, or
SHA1 in the revision attribute and have it work.
2012-01-19 15:20:40 -08:00
James Turnbull c3dabc322b Merge pull request #15 from webfactory/fix_10787
Fix (#10787) - Various fixes/tweaks for the CVS provider
2011-12-26 15:42:13 -08:00
James Turnbull 33cca5123c Merge pull request #14 from webfactory/fix_10788
Fix (#10788) - Avoid unnecessary remote operations in the vcsrepo type
2011-11-26 00:51:31 -08:00
James Turnbull b4d763cef6 Merge pull request #13 from webfactory/cvs_module_name
Suggested fix for (#10751) by adding a "module" parameter
2011-11-26 00:51:03 -08:00
James Turnbull 6fb7998cde Merge pull request #16 from mfournier/missing-working_copy_exists
Added missing 'working_copy_exists?' method.
2011-11-19 11:04:16 -08:00
Marc Fournier a5ee22e457 Added missing 'working_copy_exists?' method. 2011-11-19 18:16:40 +01:00
James Turnbull 7d03bfca49 Merge pull request #12 from webfactory/fix_9083
Fix (#9083) as suggested by the original bug reporter.
2011-11-12 09:07:07 -08:00
James Turnbull df6a9b33cb Merge pull request #11 from cPanelScott/master
Bug Fix: Some ownerships in .git directory are 'root' after vcsrepo's retrieve is called
2011-11-12 09:06:03 -08:00
Matthias Pigulla 924e13367b Fix owner/group as well (#10787) 2011-11-12 14:08:13 +01:00
Matthias Pigulla 9aa17796f9 Fix (#10787) - Various fixes/tweaks for the CVS provider 2011-11-12 13:31:01 +01:00