Commit Graph

19 Commits

Author SHA1 Message Date
Ghanshyam Mann a43311b7ef Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: Ic209179b0be9c3746a702ccea2dd35e883e78bee
2024-02-24 11:43:49 -08:00
Joseph Tole b5b3160ef1
Updates for virtualenv on debian bullseye
Change-Id: I67af2b17f59cc4d05c4fa217861992123da97758
2022-03-15 16:20:14 -04:00
Sorin Sbarnea c69ead8b45 Drop pbr version ceiling and add py39 testing
- Ceiling of pbr version can create installation conflicts with pip.
- Fixes tox default env list to be python version agnostic
- Updated template to use newer jobs (include testing with newer python)

Bug: #1921679
Change-Id: Ifd0d2f810799992faa1db41b80bf93bc97d5d19d
2021-03-30 10:57:41 +00:00
sayalilunkad 2c60bbf6d5 Add another path for service files
In opensuse the service files are located in /usr/lib rather than /lib. This change adds this path
as an option.

Change-Id: I99c2db557a2290c3860bb41233d7efc35d03be0b
2018-01-31 18:50:08 +01:00
Mathieu Velten e0233d3d6b Change After rule from cloud-final to cloud-config
In recent Ubuntu 16.04 the unit doesn't get triggered otherwise.

Change-Id: I70ddb25ec177d7fc64850c0cc60df72cff22594d
2017-09-20 11:23:58 +02:00
Derek Higgins 85c68ffc75 Update pbr version to match global requirements
The version of pbr we were using was having trouble parsing a new version
identifier for python-qpid, We have the pbr version hardcoded in many
places so update it to match whats currently in global-requirements.

Fixes bug #1470871
Change-Id: Ia5aec472555ad1368684b224a55c29242ae40b58
2015-07-02 16:53:06 +01:00
Gregory Haynes 2d99b4a608 Support common venv for os-*-config
All the openstack services support being installed into their own venv,
or into a common one. why not these two? This should cut some time off
builds.

Change-Id: Iab90372ba84993da6a2cb600ce1fef6fc073d3f6
2015-01-20 16:06:45 -08:00
Gregory Haynes dad3c0ccf1 Migrate to package-installs scripts
Migrating install-packages commands to package-installs-* scripts where
possible.

This patch is broken up into multiple parts to minimize impact and
review overhead.

Change-Id: Idd1be32149e7238d53d04a34170c5029dda83f1f
2014-11-05 01:38:05 -08:00
Gregory Haynes a5941bf329 Remove pip install --pre
We were installing some packages with support for prerelease versions in
expectation of needing it in our CI. This turns out to not be needed so
we should remove it.

Change-Id: I7ae440d3534e33144942c2230a88cf54f8a153d3
2014-10-23 08:01:17 -07:00
Gregory Haynes 4cd668b09f Remove pinning of requests for os-collect-config
We pinned requests to not use version 2.4.0 due to a bug in requests.
2.4.1 has been released now which fixes this issue.

Change-Id: I53f6ff92400b30e9faee186ae8fee9e4e6d0b127
2014-09-09 17:02:28 -07:00
Steve Kowalik f1d096d95a Drop all direct usage of systemctl enable
Since we already have a wrapper script for enabling services called
os-svc-enable, drop all direct usage of systemctl enable, replacing
it with os-svc-enable.

Also drive-by replacements of == with =. == is a pattern match.

Change-Id: I707bf6f02207308e8f61caff17a27b0697096359
2014-09-05 15:11:08 +10:00
Gregory Haynes d8ead0fe58 Pin requests to version < 2.4.0 due to bug
os-c-c ec2 collector fails with requests 2.4.0 due to a regression.

Change-Id: I2a74773b7ecdfcd7c53946124a7d43ee738eff2f
Closes-Bug: #1363889
2014-09-01 14:02:54 +01:00
Derek Higgins 1ad23b193f Log tripleo services to syslog
Logging to an upstart logfile results in log entries that are not
associated with a timestamp(e.g. os-collect-config). This isn't
consistent with the log files produced in other openstack CI tests
and means we can't index them in logstash (at least consistently
with how the other projects are indexed).

As a result of this we will need to remove the double time stamps that
get produced (by taking them out in each of the services configuration)
and extract the log at the end of CI into per-service files so that we
can selectively index the files we want.

In particular the service that doesn't contain timestamps in all of the
log entries is os-collect-config which is arguably one of the most
important service logs we want indexed. We could simply just divert this
service alone to syslog but doing them all is more consistent with other
distros and how this will presumably work when ubuntu moves to systemd.

Change-Id: Ib8c1fc39d56b2b9c6d8e9b64a868def619aa2f1f
2014-07-03 22:49:17 +01:00
Steve Baker dfbb0549fe Prepare os-*-config for CI
Specify pip install --pre so that local git built packages will be
installed if available. It should be possible to always specify
--pre since public repos do not have snapshot release packages for
these tools

Change-Id: Id2e539ba72ac2ef8d39a3ab694991e9b8bf724d7
2014-06-25 16:02:28 +12:00
Gonéri Le Bouder 0a71316726 indent using 4 spaces (3/3)
As advised in I072cf8bf6748d0c910fecffdf2282bcc4656d038, code should
use 4 spaces for indentation.
This commit enforces the use of 4 spaces indentation.
In order to simplify the review process, this patch only cover the
following elements:
 - os-apply-config
 - os-collect-config
 - os-refresh-config
 - os-svc-install
 - pacemaker
 - pypi-mirror
 - qpidd
 - rabbitmq-server
 - snmpd
 - stackuser
 - tripleo-cd

Change-Id: I3f365f6a1cd6fd9e56402ad3bd6572192b85d798
2014-05-23 00:32:41 +02:00
Coleman Corrigan 2e1730b16f Activate venvs in os-*-config elements source install
This updates the source install scripts for os-apply collect and
  refresh config elements to activate their virtualenvs before
  performing pip installs,  as without this specifing a manifest for
  e.g. os-apply-config breaks devtest build

Closes-bug: #1305151
Change-Id: I3c42de180f76fb122637c801541f14e50169de89
2014-04-09 17:37:37 +01:00
Jon-Paul Sullivan 1c998eb93f Create pip manifest files of installed packages
Create the pip-manifest element to encapsulate the saving and use
of pip manifest files.

Ensure that it installs prior to any elements that should be able
to use it.

Write pip manifest files for installs in:
    * os-svc-install
    * os-apply-config
    * os-collect-config
    * os-refresh-config
    * openstack-clients

Enable using a manifest file to reinstall exact versions of
packages in a subsequent run through the DIB_PIP_MANIFEST_*
environment variables.

Change-Id: I4d4ab5921c534727b48cb9969ec8ecfd2c26e6ed
2014-03-25 12:22:59 +00:00
Gregory Haynes aa62d27972 Explicitly install pbr via pip
When a pypi mirror is used with certain conditions installing pbr as a
dependency fails.  This is a temporary fix until the underlying cause
is resolved.

This is also required for a wheels based pip mirror to work.

Change-Id: Ia08eb16b96d9897fa2f86239ea264b145ef0b9b5
Closes-Bug: #1293812
2014-03-24 12:43:01 -07:00
James Slagle 9f8e1c5f98 os-*-config package install support
Package install support for:
* os-collect-config
* os-refresh-config
* os-apply-config

This change requires a corresponding change to dib to move the install
type enablement out of source-repositories since the os-*-config
packages do not use source-repositories:
cccdcb904d485fce92443edbb088740e074c3046

Change-Id: I22672a4312152ab594de2a149e16866c7564e3d4
2014-03-18 12:09:26 -04:00