Compare commits

...

8 Commits

Author SHA1 Message Date
OpenDev Sysadmins
7c786b3ee3 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:32:16 +00:00
Zuul
29345d5131 Merge "import zuul job settings from project-config" into stable/ocata 2018-09-13 04:54:26 +00:00
Nguyen Hai
204af449db Add docs for python-tackerclient
Change-Id: I8479b89cbddefd4373849abfb951e5553e4781e7
2018-08-22 13:34:52 +09:00
Nguyen Hai
85535f3ae2 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Depends-On: https://review.openstack.org/#/c/594355/
Change-Id: I502edab420fac724956cbcbbcf208106a26c1179
Story: #2002586
Task: #24324
2018-08-21 16:14:05 +00:00
OpenStack Proposal Bot
8e2e4ebbf9 Updated from global requirements
Change-Id: Id123497e8dc36cf52eea6b8cd2da48a7a40a223f
2017-05-15 23:39:18 +00:00
OpenStack Proposal Bot
843f158456 Updated from global requirements
Change-Id: I7cb5cd01d13d796a0ca4a62301661b30d936cfa2
2017-03-09 18:23:51 +00:00
549b5476f8 Update UPPER_CONSTRAINTS_FILE for stable/ocata
Change-Id: Ib5bc6be61f4d6aaadde45753c1a1b1cc55515e45
2017-01-24 22:19:25 +00:00
04d3b47d50 Update .gitreview for stable/ocata
Change-Id: Id53ca1f1990e010f5a893e49033e032b8127c677
2017-01-24 22:19:24 +00:00
4 changed files with 16 additions and 34 deletions

View File

@@ -1,4 +1,5 @@
[gerrit]
host=review.openstack.org
host=review.opendev.org
port=29418
project=openstack/python-tackerclient.git
defaultbranch=stable/ocata

7
.zuul.yaml Normal file
View File

@@ -0,0 +1,7 @@
- project:
templates:
- openstack-python-jobs
- openstack-python35-jobs-nonvoting
- check-requirements
- publish-openstack-sphinx-docs
- release-notes-jobs

View File

@@ -1,30 +0,0 @@
#!/usr/bin/env bash
# Client constraint file contains this client version pin that is in conflict
# with installing the client from source. We should remove the version pin in
# the constraints file before applying it for from-source installation.
CONSTRAINTS_FILE="$1"
shift 1
set -e
# NOTE(tonyb): Place this in the tox enviroment's log dir so it will get
# published to logs.openstack.org for easy debugging.
localfile="$VIRTUAL_ENV/log/upper-constraints.txt"
if [[ "$CONSTRAINTS_FILE" != http* ]]; then
CONSTRAINTS_FILE="file://$CONSTRAINTS_FILE"
fi
# NOTE(tonyb): need to add curl to bindep.txt if the project supports bindep
curl "$CONSTRAINTS_FILE" --insecure --progress-bar --output "$localfile"
pip install -c"$localfile" openstack-requirements
# This is the main purpose of the script: Allow local installation of
# the current repo. It is listed in constraints file and thus any
# install will be constrained and we need to unconstrain it.
edit-constraints "$localfile" -- "$CLIENT_NAME"
pip install -c"$localfile" -U "$@"
exit $?

10
tox.ini
View File

@@ -1,5 +1,5 @@
[tox]
envlist = py34,py27,pypy,pep8
envlist = py34,py27,pypy,pep8,docs
minversion = 2.0
skipsdist = True
@@ -11,8 +11,9 @@ setenv = VIRTUAL_ENV={envdir}
LANGUAGE=en_US:en
LC_ALL=C
usedevelop = True
install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
deps = -r{toxinidir}/requirements.txt
install_command = pip install {opts} {packages}
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/ocata}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args='{posargs}'
@@ -23,6 +24,9 @@ distribute = false
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:releasenotes]
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html