Commit Graph

21 Commits

Author SHA1 Message Date
Alex Schultz 87abe05ba0 Retire instack-undercloud
instack-undercloud is no longer in use by the TripleO project. Removing
the code to avoid confusion. Stable branches will continue to be
maintained for their life however no new features should be added.

Change-Id: I63a813c7c1ffd30ca30017133d31a497b77a9a4d
Blueprint: remove-instack-undercloud
2018-10-30 12:16:18 +00:00
huang.zhiping e482bc2dc4 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I2ee74a543edbfbec4e73ace261b1309988347756
2018-06-09 01:54:23 +08:00
Doug Hellmann 656722babb add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: I4730050d1a91a82c11164ae180a636cdf6c46feb
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 13:42:49 -04:00
Andreas Jaeger b38669cb2e Remove -U from pip install
'pip install -U' ugrades specified packages, this is not necessary
since we use constraints, remove the parameter '-U' from the line.

With tools/tox_install.sh - which a previous change of mine removed -
the -U was not harmful, but with the current set up, it might cause
upgrades, so remove it.

Change-Id: I86415b6de6725f3fac361b5dbf9414ccb12e17f9
2017-12-02 19:26:04 +01:00
Andreas Jaeger bfcfef83d6 Avoid tox_install.sh for constraints support
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.

This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.

Change-Id: I79e2aca1c61e4d1a36b82df447e0dc22fdad8cc3
2017-12-01 07:45:54 +01:00
Julie Pichon 0562ff0a8d Update constraints support
Add library special-casing now that instack_undercloud is part of the global requirements.
Inspired by I68732c10e3f0dc4770b8639989cb24e264110d37.

Change-Id: I63919761fca37d3b3b6a615fba3bf99cf1fd4dac
Closes-Bug: #1699543
2017-06-21 17:33:28 +01:00
Vu Cong Tuan 288fc86aad Remove support for py34
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.

Change-Id: I9096cdf483e7024d85043e3371fdcb2d73b2d38a
2017-06-05 11:35:52 +07:00
Alex Schultz 75ef1704ef Use upper-constraints for tox
Use the openstack upper-constraints when running tox.

Change-Id: I628c3a91d6f9b9799c82a30a67b6d67ffa9bae3c
Related-Bug: #1691511
2017-05-17 11:06:02 -06:00
Alex Schultz 055e687635 Reenable dib-lint
Add the ELEMENTS_DIR environment variable to configure dib-lint to check
our 'elements' directory.

Change-Id: I7eb65e704914637d993ec3aefb84bbbe5812df78
Depends-On: Iae1dade1e20a950e63ffe8dacfea0f23cf9923a0
Closes-Bug: #1672730
2017-04-07 16:23:11 +00:00
Alex Schultz a9e2873d96 Align stars to fix CI
1) Add bindep support

Bindep is an automation tool used by openstack-infra to bootstrap a
worker with default packages. By default if not defined, we inherit
the infra extra packages (which can include EPEL).

2) Disable dib-lint due to breakage caused by 2.0.0

Related-Bug: #1672730

Change-Id: Ia51a8c37f8acbed18c01ffb4413a4374811213be
2017-03-14 09:57:19 -06:00
Ben Nemec 86492f65ab Add py35 to tox envlist
Change-Id: I4a392b62806250bb7cc599da0014ca4da6519744
2017-02-14 16:11:34 +00:00
Emilien Macchi dbc50a117d Add Reno support
Change-Id: I0de0531a596235f367d5cd218006c866dd36dd37
2017-01-24 10:01:45 -05:00
xhzhf 53f8f2121c H803 hacking have been deprecated
H803 hacking have been removed.
https://github.com/openstack-dev/hacking/blob/master/setup.cfg
Closes-Bug: #1651951

Change-Id: If55a2809b03f98f494815dca96af8a36d6929ed1
2016-12-21 22:30:43 +08:00
Ben Nemec 0be2088102 Add dib-lint to pep8 tox job
dib-lint can catch some common errors in elements, so it would be
good to run it on instack-undercloud.  For the moment I'm just
ignoring failures that would require invasive changes to the
existing code, but it might be good to actually fix those at some
point.

Change-Id: Iaa522a888806fd9a58eafa30a3cf7d5aac01a45e
Depends-On: Id4b167ed220dd55852b6587b884fabe7bc8554eb
2016-05-04 16:58:07 +00:00
Ben Nemec e163633262 Enable coverage testing
This is useful to see how we're doing on unit testing.

93%, for the record. :-)

Change-Id: If5301b3205818dbba49c6a82ce6f5135384d0b27
2015-11-30 22:56:47 +00:00
Gael Chamoulaud bb7a70f0b6 Revive bashate tox test
- This patch fixes bashate errors.
- Bashate will ignore E006 check (Lines too long)

Change-Id: I257157a7a2cd55437e95b926ae4a7ada2a41ada5
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-11-03 10:20:05 +01:00
Derek Higgins 823cec005b Add placeholder docs
These are required to satisfy the gate-instack-undercloud-docs job.
Content will need to be added over time.

Change-Id: Id3057d7ee17f9e06afde382fea33b08dada3cb39
2015-09-16 14:23:43 +01:00
James Slagle 15226a4f2f Remove docs from instack-undercloud
These docs are now housed in the tripleo-docs repository at:
https://git.openstack.org/openstack/tripleo-docs

Change-Id: I7517667b2945f08946c2ec923c2a056b8d655bf5
2015-09-08 13:49:41 -04:00
Ben Nemec a82f4dc363 Pythonize instack-install-undercloud
-Very incomplete testing right now
-Puts the password and stackrc files in the current user's home
 directory during the install.  Given that they now have secure
 permissions and we recommend doing that anyway, I think it's fine,
 but it is a non-trivial change in behavior.

 This was done because it's awkward to read a root-owned file from
 a Python process running as a regular user.
-Uses oslo.config instead of the bash-style answers file. A sample
 conf file created by the oslo.config generator is included (for
 now, although we may want to generate that dynamically at some
 point).  Backwards compatibility with existing answers files is
 maintained for now, but is deprecated.
-Hard-codes the image path in instack-test-overcloud to .  It's
 difficult to extract the value from the conf file in bash (unless
 they overrode the default, there's nothing for ConfigParser to read),
 and since it's just a simple sanity test script I think that's okay,
 at least for now.

Change-Id: I09270997dea7fdad2b40dfb303967ff425b55a9b
2015-05-26 14:02:18 +02:00
Ronelle Landy 2bdef592cd Add support for Subscription Manager
The rhos-release repo is required to get through the
rdo-manager install and overcloud deploy.
These hard dependencies are removed from the scripts.
The documentation, that covers both rhos-release and
subscription manager usage, is split so that internal
links were not shared with external documentation.

Change-Id: Ia367c8c13d12280a3ad61a68520b4434bdd919df
2015-03-30 18:52:32 -04:00
James Slagle ed5257972a Add sphinx documentation
In support of building the docs without the sphinx Makefile this also adds as
tox.ini that can be used to build the docs via:

tox -e docs

A few updates to setup.cfg are needed as well to acount for deleting old
scripts.

Change-Id: Ifa852f9684998ee695188d3e72df7cdc3c5e063e
2015-02-26 08:12:37 -05:00