09ff119cd16f6a5c5ef2e3aa18eff6947ac70622
Commit Graph

27 Commits

Author SHA1 Message Date
Takashi Kajinami
d91e8f1871 Directly execute gem command
... instead of executing it via ruby, which is redundant.
Change-Id: If9f4dba1f892b6de46957fd63e73402f5c3d1460
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025年08月24日 02:44:33 +09:00
Zuul
28f3825e93 Merge "Drop switch between dnf and yum" 2024年09月23日 16:05:25 +00:00
Takashi Kajinami
f11117a835 Fix old operating systems version in comment
Change-Id: If32bead748f8be964cb9b91609396032f383d1c9
2024年09月22日 13:48:15 +09:00
Takashi Kajinami
8e97ebc3a4 Drop switch between dnf and yum
Now we run jobs only in CentOS Stream 9 from Red Hat family operating
systems, so we can safely assume that only the dnf command is
available.
Change-Id: I4adde6a88e99ff4a25d3f497dbeca815bc29b872
2024年09月22日 03:16:01 +09:00
Takashi Kajinami
e91efc786c Fix missing qemu-img
The qemu-img command is now required to convert qcow2 cirros image.
Change-Id: Ic03034b9aa7fa8e1450d0f8e89a683587b199a04
2024年06月11日 16:19:40 +09:00
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
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