Commit Graph

65 Commits

Author SHA1 Message Date
OpenDev Sysadmins 362ccf03e4 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 a353ba1cfd 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: I8e713edb853b284c977957ce28590685df908bca
2019-03-24 20:35:40 +00:00
Colleen Murphy e6cc42cbe3 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: I479bd357ae4483b91d401e83db719a5f6d968487
2018-07-12 09:57:44 +02:00
Monty Taylor a06b1ae633 Allow removing openstackwatch
We don't use it anymore and removing it would be nice.

Change-Id: If4781b2d57445150ab6fdd80222112ccba654f20
2018-02-02 11:06:15 +00:00
Paul Belanger dbfd559052 Revert "Remove python-six on centos"
It seems after 7.4 point release, python-six is used my other packages beside cloud-init (specifically libstoragemgmt). For now, revert so we can get puppet working again. Then start discussions on creating DIB images for control plane servers.

This reverts commit 5c956c5995.

Change-Id: Iff7723b24eaa9aed207efd330fc0ae756020a072
2018-01-08 16:34:00 +00:00
Monty Taylor 5c956c5995
Remove python-six on centos
This results in the removal of cloud-init, which is not used by anything
in Infra land. Should this cause further issues, this module should
be reworked to install jeepyb into a virtualenv instead.

Change-Id: I24b4ce816e442a273d244b6bcb66a29c198d7c86
2017-09-20 14:41:14 -05:00
Monty Taylor 387701d1dd
Don't remove PyYAML - because cloud-init
We can just not install it.

Change-Id: Ib9b4b842d7426c5f95b2347fbabb5e876c2808b9
2017-09-19 13:11:07 -05:00
Monty Taylor 604504fd98
Stop installing python depends from distro
Mixing distro and non-distro packages tends to equal unhappy.

Change-Id: I4fa88bdb10e8cb76694f4d04d3239b38f445868a
2017-09-19 12:09:40 -05:00
Colleen Murphy edceffecfa 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: Ib8c5c1bd7d4a5c7175623ed9dc53683d2f592786
2017-08-18 10:41:43 +02:00
Colleen Murphy c40bb69d82 Properly escape % in cron command
crontab syntax requires % to be escaped, but puppet complains about '\%'
in strings, so we need to double escape it in puppet. This will result
in a single-escaped % in the crontab.

Change-Id: I2fcb3fca5b2d09e8b0a15036c8d4cbad1a83ba3a
2017-06-14 00:29:15 +02:00
Colleen Murphy c342fb5fe2 Update beaker setup for xenial
Add a xenial nodeset and update the spec helper to install puppet 3 from
the Ubuntu repos instead of from puppetlabs.

Change-Id: Ia374b69f29f522c1b1884bee9428de0cb5e7da50
2017-06-11 22:24:22 +02:00
Colleen Murphy 2a0cb0897f Fix cron command string
The % does not need to be escaped and trying to causes the syntax check
to fail.

Change-Id: I7bf80cbd68f96fac20c2bd81dea6a5692fd03cf4
2017-06-11 22:23:49 +02:00
Yolanda Robla 0f6076c432 Require packages before installing jeepyb
Currently the jeepyb install has a race. install_jeepyb is
called without requiring the needed packages. This causes
that puppet needs to be run at least twice to converge.

Adding the proper require on place to fix that problem,
also switching to virtual resources and require, to avoid
cross duplicates with other projects such as puppet-openstackci

Change-Id: I34864ed7f0ba991d48de80fe6d64eebcd3df300a
2016-08-12 17:47:05 +02:00
James E. Blair 6b1051fc6c Use libxslt1-dev rather than libxslt-dev
This is the actual package name.  Using the unversioned package
will cause puppet to attempt to install it each time.

Change-Id: I03850efb0f2b0cf3e00dbf906af97ca51b0840d5
2016-07-08 08:20:49 -07:00
Spencer Krum 7021dc9d7e Use new infra_spec_helper for gem dependencies
Change-Id: Ie4e445687ae5fa05e10afc5bd546b1592b84b8a9
2016-06-21 18:38:42 -07:00
Philip Marc Schwartz 9d391f24b4 Update pip provider to use openstack_pip provider
Change-Id: I0493df84bef696f31af075af5ceb7c47a09c57fa
Signed-off-by: Philip Marc Schwartz <philip@progmad.com>
2016-06-16 10:19:38 -04:00
Yolanda Robla 830295783d Fix package name on RedHat
The package installation was still incorrect for Redhat case

Change-Id: I2c21058857c4b471fe0b1d0bccb3cb19b3fb6e69
2016-06-09 15:27:21 +02:00
Yolanda Robla de2a976f98 Add missing packages to jeepyb install
The pip install currently failed because of missing
libffi-dev and libssl-dev/openssl-devel packages

Change-Id: I91b4851b58a41764289273d5b6b548e6dbcac3a4
2016-06-08 09:42:05 +02:00
Paul Belanger 0d881c04eb Revert "Add missing packages to jeepyb install"
This is currently failing on our git servers, which our centos 7.

This reverts commit eb53f6e4ea.

Change-Id: I739c9598021b3114e89b61edfce6e8a7a4954aac
2016-06-07 21:20:25 +00:00
Yolanda Robla eb53f6e4ea Add missing packages to jeepyb install
The pip install currently failed because of
missing libffi-dev and libssl-dev packages

Change-Id: If0964fc92656ab605fc05e7260dc8b230a071a7a
2016-06-06 16:54:10 +02:00
Spencer Krum 2349ac7817 Pin google-api-client; sanitize Gemfile
Change-Id: I8660c9ecf8a644c2cce178e95830ef9f6897bfeb
2016-04-14 15:19:50 -07:00
James E. Blair e4c352d286 Protect gcc package from duplicate declaration
Change-Id: Ida5333c8f5ef54c584ab0c48507d32a086a264ba
2016-04-13 16:11:34 -07:00
Andrey Nikitin eaac86d3f4 Order of the classes parameters is refactored
Order and intendation of those parameters are changed
to follow Puppet Style Guide recommendation [0].
Moreover, it will allow to an user to find much faster
a variable in a list of variables.

[0]. https://docs.puppetlabs.com/guides/style_guide.html

Change-Id: I6dbfc2fd3769b174e493bd0392a652eca160f2bd
2016-03-21 12:51:28 +03:00
Steve Kowalik 59bc52871b Install libxml2-dev{,el} and libxslt-dev{,el}
In preperation for moving the Zanata scripts from project-config into
jeepyb, lxml will be added to its requirement. This requires the
development libraries libxml2 and libxslt to be installed, so ensure
they are.

Change-Id: Id21eb3039f25e5c675674b5ca53179bd9d3c918f
2015-12-18 14:55:27 +11:00
Jenkins 4b3de83a24 Merge "Remove mysql::python class inclusion" 2015-11-25 00:03:14 +00:00
Paul Belanger e331b17e25 Upgrade all packages to the newest version
Change-Id: I44cd912a9b525f29bf4ec9cf85848d331ab693e4
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-11-13 11:02:48 -05:00
Colleen Murphy e14978a3c9 Remove mysql::python class inclusion
When the dependent patch is merged, Jeepyb will depend on PyMySql and
install it from pip as part of its requirements. Therefore it will no
longer be necessary to include the mysql::python class, which installs
the python-mysqldb package from Ubuntu packages. Removing this class
inclusion will make transitioning to an up-to-date version of the mysql
puppet module easier, as the current version moves the mysql::python
class to mysql::bindings::python.

Change-Id: I7dec1c6f588cb3e1d0eb3cb2eb6398df45ebdc22
Depends-On: I3afeaebeb8416388d5866fc3994357935079c97d
2015-10-14 14:10:21 -07:00
Spencer Krum 63d834bf01 Fix target path for regular git clone during tests
Use same target directory for zuul-cloner and
the regular git command.

Change-Id: Iba383513a595db0f2347476f0a39b3cd5879a648
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
2015-08-19 16:36:38 -07:00
Colleen Murphy ce4349d156 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 fix lint
errors caught by the puppet-lint-absolute_classname-check gem as well
as arrow alignment errors not caught before.

Change-Id: I6ee8cc21247258d9a37ce3304c207c4b637378f7
2015-08-03 18:35:43 -07:00
Colleen Murphy 0563885683 Fix parameters for jeepyb::openstackwatch
The swift_username, swift_password, swift_auth_url, and json_url
parameters all must be specified in order to work correctly, a default
value of empty string will cause brokenness. This patch removes the
default values for those parameters so that puppet will warn the user
that these values are required.

For the auth_version parameter, a default value of 1.0 is a safe
potential guess, so we change the default value from empty string to
'1.0'.

The feed parameter is no longer used as of
fdc8fd45bb, so we remove it.

Change-Id: I0a10c0df80cb6a74e7bcc17d96e27e62373c61ff
Depends-On: Ie3c4f5184445b4653997c091279f21a3e9503b84
2015-08-03 18:35:30 -07:00
Spencer Krum b1110c8db0 Boilerplate beaker-rspec files
Change-Id: If179d44051bab88f670cefcf181d430251525fe5
2015-07-28 02:04:37 -07:00
Jeremy Stanley 2913aeb9ba Replace ci.o.o links with docs.o.o/infra
The http://ci.openstack.org/ documentation site has been deprecated,
replaced by redirects to corresponding paths within
http://docs.openstack.org/infra/ where other Project Infrastructure
documentation already resides.

Change-Id: I92c50fa9ac340f6b5c68c998c9189469a9d1f58c
2015-05-14 21:38:17 +00:00
Jenkins 67c5b14de3 Merge "Add helpers to execute manage_projects" 2015-05-04 15:03:37 +00:00
Jenkins 86ca4f8dcf Merge "Parameterize git revision of jeepyb" 2015-05-04 15:03:31 +00:00
Jenkins 55242ebb29 Merge "Modernize template syntax" 2015-05-04 15:03:24 +00:00
Yolanda Robla e331c50cec Add helpers to execute manage_projects
Manage_projects is run in two different ways:
one in a cronjob, one due to subscription. Create
helper classes to isolate that behaviour, to move
logic from system-config.

Change-Id: I4132646446dfe575c333b981aea9a7778c13bcf0
2015-04-20 21:50:46 +01:00
Ramy Asselin 80d3d31573 Rename openstackci to openstackinfra
Change-Id: Ifdd79fd8ab8920225df839721ec5aca9f02a23a6
2015-04-20 13:44:30 -07:00
K Jonathan Harker 39bb5b4d7b Parameterize git revision of jeepyb
Allow for the git revision to be set arbitrarily in addition to the source
URI.

Change-Id: I453dcb74b32939f76820736d1ccd064df8561ca2
2015-04-06 12:10:18 -07:00
Spencer Krum b25bdb7d70 Modernize template syntax
Change-Id: I1ef305f1e1d4bcca7a47049882a06ea732700062
2015-03-26 13:38:25 -07:00
Jeremy Stanley f6e165e87b Add missing LICENSE file
The content of this project is Apache 2 licensed, but we should
include a standard LICENSE file just to be clear about that.

Change-Id: Iee6320b9d7e35fbe8d3b0a9794f3e485c18ef2c8
2015-01-29 22:57:52 +00:00
Jonathan Harker 4ff65d91c6 Add new project boilerplate
Add some boilerplate files to the project now that this module has been
split out into its own project.

Change-Id: Ibf31378913a9c8421350138ccd069cf136285b42
2015-01-29 12:12:30 -05:00
James E. Blair a5ccc871e6 Revert "Fixing deprecation warnings"
This reverts commit 82b9b59522928863ddadeacfec819e287303ef20.

Change-Id: I746d7ae57802dc76618db9024a0cf94c43774c02
2014-07-02 17:35:02 +00:00
Spencer Krum a243d5157d Fixing deprecation warnings
Non instance variable representation is deprecated
so needs to be changed. This change changes varibles
to their instance variable representation.

See more details see:
http://docs.puppetlabs.com/guides/templating.html

Change-Id: Ib77827e01011ef6c0380c9ec7a9d147eafd8ce2f
2014-06-19 22:41:42 -07:00
Anita Kuno 88feb8d40f Add logging to manage-projects
This patch adds logging to the puppet exec for manage-projects
within gerrit.pp.

It also adds logging to jeepyb, which can also cover logging for
manage-projects, which is a script within jeepyb.

Change-Id: I4cd1137e4bf62e0d19a8a337c98b3a33df38a0c0
Fixes-bug: 1245905
2014-02-09 15:26:07 -05:00
Monty Taylor 1fdf58b0ab Remove explicit depends on transitive pip deps
These things were listed before we had jeepyb as its own things
(gerritlib in gerrit) and before jeepyb has pbr/requirements.txt
as it does now. With the move to pip install -U . in /opt/jeepyb,
there is no need to also ask puppet to manage these.

Change-Id: I7b521d03b3df8c0bde37586748769f160e615d31
2013-11-08 11:01:53 +13:00
Monty Taylor 6fcd2deb22 Use pip install instead of setup.py install
The pip vs. easy_install interactions continually get the systems
into a weird state. pip install $path_to_repo, on the other hand,
works like a charm.

Left out two graphite installs because they are doing path manipulation
and I want to do further testing before touching that.

Change-Id: I373b29aca03f1ebd20e533ebaaf5de9ef2db017e
2013-10-27 18:38:38 -04:00
Monty Taylor e64e8193e3 Use cgit server instead of github for everything
We have a cgit server now, which means we should replace
all references to github with references to git.openstack.org.

Change-Id: I68ad1ce514fb4326c7d9940b5a84999af5b58562
2013-08-19 10:19:47 -07:00
Elizabeth Krumbach 702e797fac Add gcc package dependency to jeepyb module
The entrypoints use for jeepyb won't work without pycrypto
installed, so we want to be able to pip install pycrypto which
requires the gcc package.

Change-Id: I9ff914347743c20728b5b10028866d8cbc7f0c61
2013-07-29 13:33:04 -07:00
Jeremy Stanley fc45733756 Install correct Python YAML package on CentOS/RH.
* modules/jeepyb/manifests/init.pp: Special-case the
Python YAML bindings package name depending on facter osfamily.

Change-Id: Iaa11e601e387428040a5d992219bd67812d8bac8
Reviewed-on: https://review.openstack.org/28652
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-05-09 03:55:55 +00:00
Anita Kuno fdc8fd45bb Edit variable mode and remove variable in openstackwatch.ini.
* modules/jeepyb/templates/openstackwatch.ini.erb

Change-Id: Iff9a211c794be38324f6968cea77b87de7709b27
Reviewed-on: https://review.openstack.org/26526
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-04-10 21:17:18 +00:00