Commit Graph

34 Commits

Author SHA1 Message Date
OpenDev Sysadmins 1ba34a40b8 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:37 +00:00
Ian Wienand a41ed4712c 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: Ifc097666e1f20aedd3599b18fa775bb37292f6a3
2019-03-24 20:35:44 +00:00
Clark Boylan 41a3cc927d Check if project_config_ref is defined before using it
This checks if the $::project_config_ref fact is defined before
accessing it. Puppet 4 seems to care about his more than puppet 3 so we
are only just notcing this now.

Note that this fix relies on puppet boolean operator 'and' short
circuiting which I'm not entirely sure if it does yet.

Change-Id: I2b89ac146609f9c3b22c05814b85c646f74b393a
2019-03-05 14:51:37 -08:00
Colleen Murphy 3ebe44d16f 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: Iaf82b5b89b4b01b811189f7a4c451ddfca8a80ad
2018-07-12 09:57:45 +02:00
Paul Belanger 8310d56085
Use ::fqdn for nodepoolv3 yaml file
What we really want to the fqdn, since that is how we store the
filename in project-config.

Change-Id: Ie1337ce233bc7f270acfcdab7632326d412b05e5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-09-21 11:12:20 -04:00
Paul Belanger 4a95622eae
Update nodepool_config_file_zuulv3 to use hostname
Switch to use hostname to find the nodepoolv3 configuration file from
project-config.

Change-Id: I7c8d37c747083cc34c5ed9632be002ed0c6f4b9b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-09-15 15:28:24 -04:00
Colleen Murphy 231ce9335b 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: I2fd13c3aa1b5bb6775c1963f769e6be7e0b8dafb
2017-08-18 10:41:44 +02:00
Paul Belanger 4c13e1a4eb Create $zuul_executor_site_variables_yaml variable
This creates a new entry point in project-config for zuul-executor
site-variable.yaml file.

Change-Id: I1e1d6ef7476586131334e0e34772499b808c6da9
Depends-On: I9f495e1568efcbcb74260579ca26ef040eecd748
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-08-03 15:23:58 -04:00
Colleen Murphy f5d1ebfdc9 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: I1eda3a407d02656dc2d9c1fbaef4bd470164f751
2017-06-24 16:27:54 +02:00
Paul Belanger a10b9036d7 Expose nodepool/nodepoolv3.yaml to puppet
This is part of our zuulv3 effort, we need to care two nodepool.yaml
files for a while.

Change-Id: Ic04d3f625e4f0b05317ea6348b6d02e730bd61b3
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-02-20 14:12:00 -05:00
Spencer Krum db5cb799fb Use new infra_spec_helper for gem dependencies
Change-Id: Ic496ec4db39e860a5c6d28cb4581de7b3df3b549
2016-06-21 18:39:47 -07:00
Spencer Krum ba75ce5182 Pin google-api-client; sanitize Gemfile
Change-Id: I2aa681163e7d4e32033b21b01bd91839c0927096
2016-04-14 15:22:48 -07:00
Andrey Nikitin 38d7cd20c5 Order of the class 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: Ia1bccf2e4b52b83b679c1a7dff202bcc9b37c989
2016-03-21 18:10:33 +03:00
Mikhail S Medvedev 3ffa3d00d4 Add nodepool.yaml to the layout
It should have been done when nodepool.yaml moved into proejct-config
in I473a1b78acdb035eb379394a7ed5f771434dc942.
Once added, openstackci::nodepool can use it instead of hard coding
the location.

Needed-By: I0cb03ba0256fac5d789941cc16f8f8ade75a3c33
Change-Id: I9aeac79b7039c1e3c2db93b52587ec948a7fbf91
2016-02-05 17:36:36 -06:00
Paul Belanger a24c52d437 Add grafana dashboards directory to the layout
Change-Id: I2755fe4fee720c7805eed2cb5bdf11de667bbd4f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-10-09 11:23:06 -04:00
Jenkins 0ae88c3203 Merge "Allow specifying repo ref as a class parameter" 2015-08-21 19:12:24 +00:00
Mikhail S Medvedev 5699dbd397 Allow specifying repo ref as a class parameter
Having to create a custom fact to set project_config ref could be an
overkill for some use cases, e.g. for setting up a third-party CI.

Change-Id: I9772e10a3a56f900e56d425fe7bbfd2261360c1a
2015-08-20 17:56:13 -05:00
Spencer Krum bfdfcf43d9 Fix target path for regular git clone during tests
Use same target directory for zuul-cloner and
the regular git command.

Change-Id: I567331e2e035fc7bcc31d04017772e64f316cec4
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
2015-08-19 16:41:12 -07:00
Colleen Murphy 81d0f9d161 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.

This patch also corrects lint errors caught by the
puppet-lint-empty_string-check plugin by changing the default value of
the $base parameter to be undef instead of empty string, which will be
evaluated the same when interpolated in a string, and by making the
$url parameter required.

Change-Id: Ic1146cbd44b589c5dfca10deb410301ef4d46528
2015-08-13 16:26:34 -07:00
Spencer Krum 123b568fe5 Boilerplate beaker-rspec files
Change-Id: Ie6b7ddb8eaf86f5f8c90db2b6ec20120dd37bba7
2015-07-28 02:05:33 -07:00
Jeremy Stanley 9f9049c323 Add a common data directory for job workers
It's useful to be able to add data files on our workers as a common
reference, much in the same way job scripts are provided. This will
be used to keep a local copy of the bindep fallback package list so
that it doesn't require directly cloning the project-config repo
during job run-time.

Change-Id: I30a8be9167cc5c52faae59a35a284b3f37b93f44
2015-07-10 19:49:50 +00:00
Jeremy Stanley e6986d52f1 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: I0a02ca49b0b0ae7d0cb605f9f67509dadc40ec1e
2015-05-14 21:38:18 +00:00
Ramy Asselin 9033f835c6 Rename openstackci to openstackinfra
Change-Id: I6931aee48f7b6755fa14262eeaf2665cda2b5386
2015-04-20 13:46:18 -07:00
Clark Boylan 32bba65a8a Provide way to specify repo ref
We don't always want to use just 'master' since that may result in races
when running puppet across many nodes while project_config is changing.
Allow for a way to specify the ref we want via facter with a fallback to
master if the fact does not exist.

Change-Id: If1c17e55c7f1b15d28748761c3ee99af88fada40
2015-02-10 08:58:40 -08:00
Jeremy Stanley 4e30774cf4 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:59:20 +00:00
Mikhail S Medvedev 78c0115a03 Add standard puppet module files and .gitreview
This module has been split out from system-config, and additional
    files are added to create a proper puppet module.

    The spec:
    http://specs.openstack.org/openstack-infra/infra-specs/specs/puppet-modules.html

Change-Id: Ib2bb4eeeeaabb3c6e480595acdc8d1c2f76c136f
2015-01-29 09:51:06 -06:00
Doug Hellmann d4adabb4c4 Generate specs.o.o root page from template
Instead of publishing a static file, we will generate the
specs.openstack.org root page from a jenkins job.

Depends-On: I828d65f10fb7608b59e3561cedc9553d4d96ee75
Change-Id: Ib2d2bc212591aa54c51ca3669baf8168fd99876f
2015-01-05 03:34:52 +00:00
James E. Blair f0a6a59c00 Switch gerritbot to project-config
Change-Id: I952a16dac32625e829d1fccb9e2472640cd31fd5
2014-09-25 11:03:04 -07:00
James E. Blair ba60b19be8 Switch specs to project-config
Change-Id: If256bb1d00ca3ad37d323b9707d10bc2d9519a4f
2014-09-25 11:03:04 -07:00
James E. Blair da5547c533 Switch accessbot to project-config
Change-Id: Ie1e6416c0b6d70d647b3c3bcef8843cc06dc73f4
2014-09-25 11:03:04 -07:00
James E. Blair 7a669c6838 Switch nodepool to project-config
Change-Id: I72dbb32d28bd30955ac6a76ebfceb9cd98a49d5f
2014-09-25 11:03:04 -07:00
James E. Blair 666cd0dfcc Switch gerrit to project-config
Change-Id: I3e7358b4bc64e494a5990c79d16fafc21f5ed6af
2014-09-25 11:03:04 -07:00
James E. Blair e5b59a542d Switch jenkins to project-config
Change-Id: If7b98d6d842946c0f7e9c4925834117e7a833313
2014-09-25 11:03:04 -07:00
James E. Blair 9af40cbea9 Switch zuul and zuul-dev to project-config
Start using the project-config repo for Zuul.  Stop managing
/etc/zuul/layout in the zuul module itself in favor of the
project_config module.

Change-Id: I46ddb22c53783c0cffa665959f708b0568abd25f
2014-09-25 11:03:00 -07:00