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: I59902a76249c8fde2a0596341b0aa7ee63d81e7f
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: Iab26f72276004c562a8619b82a1d9aa0144577f5
The database changes underneath the backup process. We do database
dumps to /var/backups which is what we want backed up.
Change-Id: I3f925c014b26d3537c0fd119b9a6b9761ac78085
/afs is a remotely hosted distributed file system and we don't need to
attempt to backup the entirety of this global filesystem from our nodes
that mount it.
The fileservers for afs should be responsible for backing up any content
that needs backups.
Change-Id: I4215c212958b1ff9e0913727c698e9c12e385ed9
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: Ifaeac1bbbf094998e6a513abe548ba90f3461d3e
Bindep is a tool for checking the presence of binary packages needed
to use an application / library. It started life as a way to make it
easier to set up a development environment for OpenStack projects.
Change-Id: I64a0e6b8ce7674a5e08c5a69a5094236b8f02ae5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
In an effort to reduce the size of our backups, drop puppet reports.
Change-Id: I68ee7bc88e05fdefdc14d5762b5155abb7034983
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Bup appears to use this to keep track of indexes between the local and
remote server. We don't need to back this up and attempting to results
in frequent errors for files being deleted before they could be backed
up.
Change-Id: I3ad4db5a44f3067478e48af65dd7991bbb391ab8
Don't back up our hiera secrets, we already store them in git.
Change-Id: Ic9531bd7331fcfe4908827594670e8a6e30083c7
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We already have our puppet modules in git, so it is likely safe we can
exclude them from backups.
Change-Id: Ib97d77c506bb2412e543e38eda71db301dee7526
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Use same target directory for zuul-cloner and
the regular git command.
Change-Id: Ida1e8349f9b63459bf4b4a692704fe031f6fe0c8
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
Variables with numbers for names are valid as regex capture groups in
puppet 4[1], so this check is not beneficial and can be
counterproductive when we do actually want to have numeric variables.
[1] https://docs.puppetlabs.com/puppet/latest/reference/lang_variables.html#naming
Change-Id: I4001e8841b7178c20cd35b9bc3ee5ef32bc9d704
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins.
Change-Id: I784007fd94df8de4348c00429ecd3ce248bfed4a
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: I84d3311a4b444d04e245e5a9b4fa569be6c8d04a
It could be useful to be able to configure externally how many
backups we'll run. One of the potential use cases is to increase
number of backups for the most sensetive services.
Change-Id: I85f4f2fd7b3319ed8772f57ce14d8083c6646d7d
* doc/source/sysadmin.rst: Document how to restore from bup backups.
* modules/bup/files/etc/bup-excludes: Exclude special backup restore
dirs in /root. This prevents backup restores from being backed up
too.
Change-Id: Ide0e69c128be0a8b8774df7acaf9267df097f104
* modules/bup/manifests/init.pp: The /etc/bup-excludes file was
being generated incorrectly, making it useless for its intended
purpose. It was also misspelled.
Change-Id: Ia279aab88744e7b346bcc350bcfc106f08b2e191
Reviewed-on: https://review.openstack.org/20095
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
Also move contents of /etc/bup-excludes into a file
Change-Id: I206c08d05114cdacb18d00e4a4578679398990ec
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-on: https://review.openstack.org/15841
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Naming it after what it installs. Also, split the target cronjob into
a define.
Change-Id: I73a4383f529c60bc35c60241dfc91508965d755e
Reviewed-on: https://review.openstack.org/10885
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins