Commit Graph

22 Commits

Author SHA1 Message Date
Takashi Kajinami c03f2eaf7a Unpin bundler
The bundler library has been pinned to 2.2.11 but this is quite old.
This attempts to remove that pin and use the latest version instead.

Depends-on: https://review.opendev.org/c/openstack/puppet-openstack_spec_helper/+/900787
Change-Id: I1575f435a1248762602c376a2fafca16b0a7958d
2023-12-19 07:56:57 +00:00
Thomas Goirand 6ce74b546e Fix installing puppet in Debian.
This patch fixes the install of the puppet packages in Debian.

Change-Id: I5674333169c8d961dbe29fc2f93bf42635cc2748
2021-04-07 18:58:58 +02:00
Tobias Urdin ddb24d6a06 Replace gem --no-ri and --no-rdoc with --no-document
The --no-ri and --no-rdoc option is removed in later versions.

Change-Id: I199e980fe13d4932e7d3f9f484ea3dc25e58f01c
2020-09-02 14:15:03 +02:00
Alfredo Moralejo cf77be5c48 Make gem install options explicit
The default behavior of `gem install` with regard to the location of the
installed gems and binaries is different in CentOS7, CentOS8 and Ubuntu
so let's make options explicit to get the desired behavior in all cases
and configurations, what means getting gems installed under GEM_HOME to
avoid depending on system wise PATH declarations and installed gems.

Change-Id: I992a930491f65ba9871c3f94806afce54bef9c7b
2020-01-10 15:02:00 +05:30
ZhongShengping a8bf4ac2e8 Move to opendev
Change-Id: I467e86b132314d6bf5331ff44a254d38a84dfab0
2019-04-22 09:11:52 +08:00
Ian Wienand 6208fc4f3c 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: I34c2be045d56d99792fcc1533b67c2c8de1aedac
2019-03-24 20:35:42 +00:00
Sorin Sbarnea 7acca40563 Workaround for installing correct version of ruby bundler
See https://github.com/bundler/bundler/issues/6870

Bundler 2.x dropped support for Ruby < 2.3 so now we detect ruby
version and install last known to work version.

This means that newer OS will get newer versions of bundler.

Change-Id: I906ad01187ad5b929b378107de065d32d23c5fc2
Closes-Bug: #1810401
2019-01-07 11:36:27 +00:00
Emilien Macchi 43ec9b9232 Pin bundler to 1.17.3
bundler 2.0.0 is released which needs ruby >= 2.3.0 and rubygems >= 3.0
but we are behind, so let's pin bundler to 1.17.3.

Closes-Bug: #1810401
Change-Id: Ia1190e36443e8ae24219d62771a9fd5ad46e8b25
2019-01-03 10:07:14 -07:00
Tobias Urdin 25cada1d67 Replace port 35357 with 5000
Depends-On: https://review.openstack.org/#/c/571076/
Change-Id: Id218e5f2b4e29514d6da15f648c1a3db5bcbdea9
2018-07-23 13:43:57 +00:00
yatin e931cd247a Allow running poi scenarios on Fedora
Change-Id: I409c11f31d4b82ef9a3d6ba20e2dd045156d66a9
2018-06-13 19:07:13 +05:30
Thomas Goirand 116aecd5ca Only adduser puppet if not exist
This patch makes it possible to run ./all-in-one.sh twice.

Change-Id: If4f9640289953c2c292840c510e9ee211fb35a23
2018-05-15 12:22:41 +02:00
Thomas Goirand b5d2ecffb5 Debian: add puppet system user
To avoid error messages like this:
Unable to set ownership to puppet:puppet for log file:
/home/zuul/workspace/puppet.log

we're adding the puppet user before running ./run_tests.sh

Change-Id: I0a00a7f41e700a3e503c1b98947803af47230678
2018-05-03 23:35:54 +02:00
Thomas Goirand 2e351cffb5 Another Debian patch
This patch adds apt-transport-https to the list of things to install
before starting, as apt-transport-https isn't installed by default
in Debian. It also replaces the hardcoded "xenial" by
{{ ansible_distribution_release }}. Note that the later will also
help when switching from Xenial to Bionic.

Change-Id: I2e692c62162486be6506ba67cbb4d887262994b2
2018-03-19 22:39:48 +01:00
Thomas Goirand ccb75ca71d apt-get install lsb-release curl
In Debian, lsb-release and curl aren't installed by default.

Change-Id: I8cb4eeb67f89a888b31831c8cca1fffc3661ee11
2018-03-13 14:06:49 +01:00
Emilien Macchi 9e8634014c all-in-one: run the script from p-o-i after clone
Stop deploying the scripts in /tmp, and require users to git clone the
repo before, instead of curl + bash command, which is unsecure and
not very useful.

Change-Id: I007a31f644a2a662b8ab3305454d6f1055a3e89b
2017-02-02 11:30:23 -05:00
Emilien Macchi e5d6e6b6c0 Support of Ubuntu 16.04 LTS Xenial deployments
Add support for Xenial deployments.

* Disable SSL on Ubuntu Xenial deployments.
* Pin puppetlabs-mysql to a recent commit (until they produce a new
  tag).
* Disable Ceph on Ubuntu Xenial deployments, neither Hammer or Jewel currently
  work out of the box with puppet-ceph on Xenial.
* Disable Horizon on Ubuntu Xenial deployments: not working yet.
* Do not deploy UCA on Xenial, since we currently deploy Mitaka.
* On Xenial, deploy Puppet using distro packaging, not puppetlabs.com.
* Cleanup /etc/default/puppet on Xenial / Puppet4 runs (workaround)
  until we figure what is installing this file on Xenial nodepool
  image.

All issues are documented here:
See https://etherpad.openstack.org/p/puppet-openstack-xenial

Change-Id: Ifc8c7e241add830c88b84c1f01770e5e15df1653
2016-05-26 20:40:18 -04:00
Alex Schultz 20730feff0 Add a function for generating action headers
In order to help be able to determine what part of the script a failure
occurs in, this change adds a print header function and updates the
shell scripts to print some header information for various actions.

Change-Id: I8e622c4d1c9c03aa3dbcb27712a346ce3284003f
2016-04-14 14:57:22 -06:00
Emilien Macchi 6c272cdf16 rename scenario003 to scenario-aio
scenario003 is going to be a scenario gated in OpenStack Infra.
It was created to be a AIO scenario, for our testers, so let's rename it
to scenario-aio.

In a further iteration, scenario003 will be a scenario used by our CI.

Change-Id: I53852757d013abfae10e5f4afd41ddbb18da3b03
2016-02-24 14:50:52 -05:00
Emilien Macchi 0ba24909d9 all-in-one: install wget
On cloud images, wget is not installed by default. This patch aims to
fix that so we make sure wget is installed anytime.

Change-Id: Ib2b04a55f3fc71ff51ff29bf5d037d87f1b18223
2015-12-14 19:47:44 -05:00
Emilien Macchi 9cfe3147a2 all-in-one: export SCENARIO variable
Export the variable so we make sure other dependencies, like
run_tests.sh will read it correctly.

Change-Id: I51d9692e0d57c7ccd607631103e433c6d2ef0eba
2015-12-04 12:17:00 -05:00
Nate Potter ce3dd1991d Add openrc file creation to AIO script
This patch will add the creation of an openrc file
containing the credentials a user needs to use their
OpenStack deployment to the end of the AIO script.

Change-Id: I1353d9e1a3b026f0c6d56d6cfd2f0581866bed90
2015-11-10 23:10:31 +00:00
Emilien Macchi 6b87e4026f Implement all-in-one.sh script
This script will help newcomers to run this script and deploy a simple
scenario of an OpenStack Cloud with Puppet OpenStack modules.

Change-Id: I559e5e0a0d21a02d04b3d999b77dee23bb38c341
2015-11-06 08:58:37 -05:00