Commit Graph

31 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov d9df50f4e3 Retire pip_install role
As repo_build role has been succesfully replaced with
python_venv_build role, we have no need in it's futher maintaining and
releasing.

Depends-On: https://review.opendev.org/717715
Change-Id: Ibf9ce1d602c5cfa9ed7431ca37de02df3335b36a
2020-04-06 14:27:00 +00:00
OpenStack Release Bot a014198820 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: Ia7d1dc0ba5701335c171d0a5b7cb0c9733c8b90c
Sem-Ver: feature
2019-10-22 19:03:19 +00:00
OpenStack Release Bot 3c93447cf4 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: Ie5002038eada0b7b5e54339cd7f7d5e5a21d0399
Sem-Ver: feature
2019-04-08 09:22:42 +00:00
melissaml aa7ecc5248 fix the url in doc
Change-Id: Ic84211b0f2615c500c8d5729ed19abccab47fc87
2018-12-26 16:14:00 +08:00
OpenStack Release Bot 361f64a0d7 Update reno for stable/rocky
Change-Id: I9b0645c37ed2870ad4e8943f946529d3ea33463e
2018-08-10 16:49:07 +00:00
Markos Chandras 2c724509d1 pip: Use 'upgrade-strategy' option to make PIP upgrades less aggressive
The default upgrade-strategy could change from one version of PIP to
another and the results may be unpredictable. We can control the PIP
behavior during upgrades using the 'upgrade-strategy' option and default
that to 'only-if-required' so PIP only upgrades what's really necessary.
This also ensure that getting the latest pip passes the idempotence test
now that we only upgrade only what's really necessary.

Depends-On: I998182eca9851d2cc745930fc73ca37bfefd0951
Link: https://pip.pypa.io/en/stable/user_guide/#only-if-needed-recursive-upgrade
Co-Authored-By: Jean-Philippe Evrard <jean-philippe@evrard.me>
Change-Id: I2ba89e25c0010c9a5b515a3d0c9c731b30876e74
2018-04-18 16:15:26 +01:00
Jesse Pretorius 3133ee8384 Remove pip_required_pip_packages var and related tasks
The pip_required_pip_packages variable was introduced in
order to facilitate installing extra packages required
for SNI support. In Pike these extra package installs
were removed due to interference with distribution
packages installed, and the distro package installation
for this support was deemed better.

This variable and the related tasks therefore no longer
server any function and should be removed.

Change-Id: I76fb9ae324ff69e8fc8b23f7b610d2aca48d0949
2018-03-11 08:59:11 +00:00
OpenStack Release Bot 00598edf40 Update reno for stable/queens
Change-Id: Ib8f39f2b01a281b2e7e86e9f368a5965a54daecb
2018-02-14 15:44:42 +00:00
Andreas Jaeger 35f085286a Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.

Change-Id: Id38830565773da550326e8edf17f353768d074fd
2017-11-17 08:09:25 +01:00
Jean-Philippe Evrard 83d60368d4 Initial OSA zuul v3 role jobs
This patch implements an initial set of jobs intended to match
the current job execution method. It does not intend to improve
how the jobs are executed - only to replicate what is currently
in openstack-infra/openstack-zuul-jobs and provide the platform
to iterate on.

Change-Id: I1c1ebe6a86472acc8c19926e8d2790c3e1ba4812
2017-10-17 18:20:24 +00:00
Markos Chandras 0544c622b2 SUSE: Add ability to configure external mirror for openSUSE
Allow deployers to choose a specific mirror by setting the
'pip_install_opensuse_mirror_url' variable

Change-Id: I4f4cc284ab7d1c3378e01737f9fade3afe251824
2017-09-07 10:22:44 +01:00
Jenkins fed63949bd Merge "Update reno for stable/pike" 2017-08-22 14:50:48 +00:00
Major Hayden 3500a26919
Allow override of RDO repo baseurl
This patch allows deployers to set pip_install_centos_mirror_url
and override the default RDO repository (mirrors.centos.org).

Change-Id: I7b0dd5d14c82a74be955071e638c122ffb45ab31
2017-08-21 07:35:28 -05:00
OpenStack Release Bot 915aceadd0 Update reno for stable/pike
Change-Id: Id60d5ccbac2acb01baad2e3b28fc4af23bfd707c
2017-08-21 10:37:05 +01:00
ZhongShengping 945eb3dfad Fix openstackdocstheme settings
To use openstackdocstheme 1.11.0 properly, this patch fixes
some settings according to follow[0].

[0]https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: I4dccdc7645038dc01e3b728e223f9940c18075f4
2017-07-03 16:24:25 +08:00
ZhongShengping 9b290ea308 Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use the
openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: Ie9560ee3fe7b75ae7d51c0665e54f961dd434c93
2017-06-26 14:36:45 +08:00
Major Hayden fafa6ea3c4
Remove EPEL and use RDO instead
This patch removes the epel-release package whenever the pip_install
role is applied and should eliminate package conflicts between RDO
and EPEL. The RDO package path is also adjusted to download the RDO
package from repos.fedorapeople.org (which slashes 3 HTTP redirects
out of the 5 when using rdoproject.org).

This is a breaking change for OSA deployments which are already
deployed on CentOS. Some containers may need to be rebuilt after
making this change.

Related-bug: 1670012
Change-Id: I2e69fac6368c032e237ca35839dd09dab9b0c5c0
2017-03-06 09:40:27 -06:00
Markos Chandras e8757f93fa releasenotes: Fix typo in the SUSE release note
Change-Id: Id0c8535ae24edde3b651000452af416c5303f822
2017-02-20 14:30:15 +00:00
Markos Chandras 1a378b5ddb vars: suse.yml: Add SUSE support
Add new variables file for SUSE based distributions. SUSE doesn't
provide a keyring package and all requires packages are available in
the default repositories so we skip the relevant tasks.

Change-Id: Ied2960ba3870da8dd88c6f616357ace359b83694
2017-02-16 09:32:54 +00:00
ji-xuepeng f830ec0a0f Use https instead of http for git.openstack.org
Trivialfix

Change-Id: I6e601798b092431015cbeb6eac5669f948a1d250
2017-02-06 21:45:09 +08:00
OpenStack Release Bot 1040cdfec5 Update reno for stable/ocata
Change-Id: Ie02f54fb73be5e2f70b5033be82db6d46c67416f
2017-02-03 18:57:23 +00:00
Logan V 379048a8f4 Conditional switch to install compiler
Adds a conditional switch to install the compiler and python
development libraries. The switch is enabled by default to
preserve the old behavior.

Change-Id: If484e14a49c97467a38f9ab6e4b0e3351f60d4ed
2016-12-12 12:40:51 -06:00
Andreas Jaeger ca41b835cd Enable release notes translation
Releasenote translation publishing is being prepared. 'locale_dirs'
needs to be defined in conf.py to generate translated version of the
release notes.

Note that this repository might not get translated release notes - or
no translations at all - but we add the entry here nevertheless to
prepare for it.

Change-Id: I2c106196a8c30ffab7529e6a39ec6ac72aacc6fd
2016-10-06 20:39:04 +02:00
Davanum Srinivas 575c8ea813 Update reno for stable/newton
Change-Id: Ida0239466cdf0ab253e08b638b78b1e4b0c6a06f
2016-09-29 19:22:09 +00:00
Jesse Pretorius 57c5ec07df Add ability to change apt/yum package state
The current method of installing the distribution packages required is
set in the tasks and cannot be changed by a deployer.

Currently the apt task always installs the latest package. This results
in unexpected binary changes when a deployer may simply be trying to
execute a configuration change.

This patch adds the ability for a deployer to change the desired state
so that the results are predictable.

Change-Id: I7ddc32b286071b29c197b18370cf49af235527fa
2016-08-07 15:56:38 +01:00
Jesse Pretorius 696f2bdef6 Update sphinx configuration
This patch updates the sphinx configuration for docs and releasenotes
to make it easier to replicate across repositories and to comply with
pep8 testing without exceptions.

Change-Id: I2cdbe015043e49a22fc521a4247f9c451eab57a0
2016-07-12 16:54:40 +01:00
Jimmy McCrory afb88cbf2e Rename pip_packages_tmp variable
The py_pkgs lookup plugin looks for any variables containing
'pip_packages' to find names of Python packages to build.
https://github.com/openstack/openstack-ansible-plugins/blob/master/lookup/py_pkgs.py#L57

Integrated OSA gate testing is currently failing since each character
within '/tmp/pip_install/' is being considered as a package name.

Rename the 'pip_packages_tmp' variable to 'pip_tmp_packages' to avoid it
being evaluated by py_pkgs.

Change-Id: I4d0f40dbb254571b9871d407962627393083d618
2016-06-20 18:59:13 -07:00
Logan V bd9c9cd617 Refactor pip_install to support offline deployment
Optionally support the download and installation of pip and its dependencies
via the deployment host to remove the dependence of internet connectivity on
remote containers.

When pip_offline_install is true, download get-pip.py and the pip
installation wheels to the deployment host. These wheels along with get-pip.py
are copied to the remote container and the installation is performed
offline.

Change-Id: Ic6583c54976b6fb083d9c67d055897c15bce05dc
2016-06-12 16:45:10 -05:00
Jenkins ed1347939c Merge "Combine pip_install and pip_lockdown roles" 2016-05-03 18:03:57 +00:00
Travis Truman c7d3889bd8 Combine pip_install and pip_lockdown roles
Since lockdown is really just a form of specific pip
configuration and since the pip_install role already does
some pip configuration, it seems logical and desirable for
these functions to take place in the same role.

This change should pave the way for a simplification of
role dependencies and the removal of explicit pip_lockdown
role usage with various playbooks that will already have a
dependency on pip_install.

Change-Id: Ia0fc276c2b501f16d4acf73bbbcad6f80804628e
2016-05-03 11:12:18 -04:00
Jesse Pretorius 6bbb541ec1 Add reno scaffolding for release notes management
Change-Id: I38084c1febf0aff5bf2b6bacf76c036a2e7bb401
2016-05-03 12:41:17 +01:00