Commit graph

1301 commits

Author SHA1 Message Date
Doug Hellmann
dcab4084c3 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

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

Change-Id: I95c8641c42934db5306b35382f1be84da3603645
Story: #2002586
Task: #24298
2018-08-28 17:20:09 -04:00
Doug Hellmann
74526063b8 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

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

Change-Id: Icaba946c1c82afcfe822b9bdd2866d24cbc3755f
Story: #2002586
Task: #24298
2018-08-28 17:20:01 -04:00
Doug Hellmann
38e03316b1 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

Change-Id: I357a23343b00362ca7a2a9942d02c31ad73fae2f
Story: #2002586
Task: #24298
2018-08-28 17:19:46 -04:00
OpenStack Release Bot
29093c8a56 Update reno for stable/rocky
Change-Id: If443f0176132d0c03db4c0ffa3e59c35c851e8f3
2018-08-08 09:35:28 +00:00
Zuul
9732758946 Merge "Switch to stestr" 2018-07-30 10:55:48 +00:00
Vu Cong Tuan
09475c2c1d Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I7079a92f972f5cb21e0d2077dd029701930a3590
2018-07-30 08:43:31 +07:00
Zuul
b5f3d34cd0 Merge "Using fixtures instead of deprecated mockpatch module" 2018-07-27 11:24:48 +00:00
Zuul
c7b8212a63 Merge "Enable some off-by-default checks" 2018-07-20 19:32:24 +00:00
Zuul
4d15e574f9 Merge "Add heat CLI test for stack-show" 2018-07-13 05:44:08 +00:00
Zuul
6ddca4e3c3 Merge "Fix log_http_request function in http module" 2018-07-05 05:45:19 +00:00
Zuul
56e27f9693 Merge "fix tox python3 overrides" 2018-07-04 13:22:53 +00:00
Zuul
2d41ea613e Merge "Update the documentation link for doc migration" 2018-06-29 01:25:04 +00:00
Zuul
dcdc501688 Merge "Remove PyPI downloads" 2018-06-13 14:57:08 +00:00
rabi
c000dd1d09 Handle token_endpoint auth type in osc plugin
There can be situations where the auth_type=token_endpoint, we
should use the appropriate attributes from the auth plugin when
creating heatclient.

Change-Id: Ic929f6ceaa92002eb2b3443934d1f541758e4dda
Closes-Bug: #1632341
2018-06-11 02:48:42 +00:00
lingyongxu
1cc69c0272 Update the documentation link for doc migration
This patch is proposed according to the Direction 10 of doc
migration.
https://etherpad.openstack.org/p/doc-migration-tracking

Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com>
Change-Id: I9675af92149ab126534f541534b50a02688e5337
2018-06-09 01:38:24 +00:00
Zuul
f095a0fd13 Merge "Mark stacks returned by get loaded" 2018-06-08 12:28:14 +00:00
Thomas Herve
0b46b2089c Mark stacks returned by get loaded
When calling stacks.get, mark the returning stacks as loaded, so that
attribute retrieval works right away. If not, any getattr on the Stack
will call get() which will request the stack again (and ignore things
like resolve_outputs).

Change-Id: I3a3f25aa0c6f88e7e4274107c0578fd30dc9f155
Related-Bug: #1774958
2018-06-07 18:13:48 +02:00
Chen
5cfbe76e80 Remove PyPI downloads
According to official site,
https://packaging.python.org/guides/analyzing-pypi-package-downloads/
PyPI package download statistics is no longer maintained and thus
should be removed.

Change-Id: I70c9814f8ce67a46628d2101dc638783715160db
2018-06-07 22:38:41 +08:00
Doug Hellmann
4c782b2817 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: Ia20d2ef56af2da00b374b3a3e5d79d7228c6a763
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-06-06 17:58:17 -04:00
Zuul
83d102537e Merge "Improve titles of generated API documentation" 2018-06-04 09:48:42 +00:00
Zuul
b169493c57 Merge "add lower-constraints job" 2018-06-04 09:32:52 +00:00
rabi
36df27d61b Fix osc cli docs
In d1d4387bab we changed to auto
generate osc cli docs. But it seems some of them use incorrect
commands.

Change-Id: I650b09a1d998269cce767a59aaf92e0cc5797bc7
2018-06-04 12:50:26 +05:30
Zuul
e385cae3ac Merge "Use assertRegex instead of assertRegexpMatches" 2018-05-23 23:30:12 +00:00
Zuul
92a4f251f9 Merge "Update reno for stable/queens" 2018-04-20 03:41:38 +00:00
Nguyen Hai
aab5b85811 Change testenv from py34 to py35
Change testenv:debug34 to testenv:debug35

Change-Id: I49a63aabb33ff117842455d475fb8eab0e086912
2018-04-16 13:27:34 +00:00
Vu Cong Tuan
dcdacd2f56 Use assertRegex instead of assertRegexpMatches
In Python3, assertRegexpMatches & assertNotRegexpMatches
are deprecated in favor of assertRegex and assertNotRegex

Change-Id: Ied56eda65800d72105ef2e2b683c6ce71cda6c4c
2018-04-11 14:39:30 +07:00
Doug Hellmann
d7bd59b9b3 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.

Update PrettyTable dependency so the tests pass.

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

Change-Id: I59c771ca583fb0ebc9f39314ee68264410f8a173
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-09 14:08:45 -04:00
Zane Bitter
bf2b57a92b Improve titles of generated API documentation
Change-Id: I1a5820e979418063b7e203acc5e07ce0e7be30bd
2018-04-06 15:10:28 -04:00
Georgy Dyuldin
08a925f184 Add heat CLI test for stack-show
Change-Id: I35b17be14438e6de6fffd0396bab9989ef812a2a
2018-03-26 18:12:58 -04:00
ricolin
f41ad78cd4 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

Refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124815.html

Change-Id: Ibb35b13fe121fa2489ef31f51e1a662fbd01cc8b
Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com>
2018-03-23 10:45:18 -04:00
OpenStack Proposal Bot
79242e2e4f Updated from global requirements
Change-Id: I631b07a7187a67042f094683da64b663d3c4a40b
2018-03-23 01:45:57 +00:00
OpenStack Proposal Bot
55a71609cb Updated from global requirements
Change-Id: I03a19c6c7acf6138b261e99e66b7d30811d7f410
2018-03-04 10:25:01 +00:00
Zuul
be6e1b65a9 Merge "Updated from global requirements" 2018-03-01 19:10:20 +00:00
Zuul
cbc034c8af Merge "Document osc CLI" 2018-03-01 12:13:54 +00:00
OpenStack Proposal Bot
f0f7226b24 Updated from global requirements
Change-Id: I71422dc69b237ddf39adbe2cb9fc0c8ebd00970f
2018-02-17 10:12:24 +00:00
Zuul
4e8903554a Merge "Zuul: Remove project name" 2018-02-16 21:06:58 +00:00
Zuul
1f2c1a2a8a Merge "[policy in code] Change policy description" 2018-02-07 08:49:52 +00:00
Zuul
c106f37d97 Merge "Mark python-heatclient as stable" 2018-02-07 08:49:51 +00:00
OpenStack Release Bot
dea778abda Update reno for stable/queens
Change-Id: Ie5d57e22855cbfcb2dd1e3eee30612dfa6e202e9
2018-02-01 16:34:15 +00:00
liyi
6a27997abb Fix log_http_request function in http module
Change-Id: I043f90541c8d2d604f3edb4e7ea082ec8adb4b25
Closes-Bug:  #1746669
2018-02-01 14:56:03 +08:00
OpenStack Proposal Bot
2ce6aa19a3 Updated from global requirements
Change-Id: I3618291ee2c3db35ab0e0d5e9c962ed49546588a
2018-01-31 14:09:28 +00:00
Zuul
131f987ea6 Merge "Add reno for release notes management" 2018-01-31 12:39:25 +00:00
James E. Blair
7c4f191f99 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: Iaf6080f75d690efb3941fbfef953df3d3351dccf
2018-01-27 02:33:07 -08:00
Zane Bitter
d1d4387bab Document osc CLI
Change-Id: Idafe730021f272360ac0588f8b35e7d392c96d4b
Closes-Bug: #1735019
2018-01-25 10:02:04 -05:00
Zuul
c821f148d8 Merge "Migrate functional job to Zuul v3" 2018-01-04 10:46:16 +00:00
ricolin
c173246b45 Add reno for release notes management
Change-Id: Ia6d1c66602ac2845d30d9f95914445890a51329c
2018-01-04 09:40:36 +00:00
Zuul
b81f45eedc Merge "Avoid tox_install.sh for constraints support" 2018-01-04 09:22:56 +00:00
Zane Bitter
1618d952cc Fix release note formatting
This broke the building of the release notes.

Change-Id: I6d9519aaf591e817e71a777a75fdc1d6caa7c17a
2017-12-07 11:49:52 -05:00
Andreas Jaeger
79d8861066 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: I84cee5a9a728b9d6dc7909ac28a60b9c20c2348c
2017-12-02 16:58:43 +00:00
Zuul
fbff3c60b7 Merge "Use Sphinx 1.5 warning-is-error" 2017-12-01 21:26:20 +00:00