Commit graph

1471 commits

Author SHA1 Message Date
Zuul
3a834c2a36 Merge "Trivial: Update pypi url to new url" 2019-01-03 04:47:35 +00:00
ZhijunWei
2d9da26e1a Update the bugs link to storyboard
Change-Id: Ie217f622ec437efb772ccdb3ed65f1c5a04c8c7f
2019-01-03 02:13:13 +00:00
Zuul
9084feb640 Merge "Set X-Region-Name in header when using SessionClient" 2018-12-19 03:34:09 +00:00
sunjia
56079599a5 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I93cbd7d72b7539f9ea95fbd70006a4ed5fa60a12
2018-12-03 22:00:49 -05:00
Zuul
7877475961 Merge "Replace deprecated "decodestring()" by "decodebytes()"" 2018-11-28 19:37:38 +00:00
huang.zhiping
4ae2116994 Update min tox version to 2.0
The commands used by constraints need at least tox 2.0.  Update to
reflect reality, which should help with local running of constraints
targets.

Change-Id: Ie594fc55eb54d48d96157e31a319f0ff97afc9be
Closes-Bug:  #1801691
2018-11-26 07:27:14 +00:00
Zuul
dd5f64c4c4 Merge "Load files from adopt file when adopt stack" 2018-11-20 20:08:28 +00:00
Vu Cong Tuan
02d0090c47 Replace deprecated "decodestring()" by "decodebytes()"
decodestring() is deprecated alias of decodebytes()
https://docs.python.org/3/library/base64.html#base64.decodestring

The same has been done for nova:
https://review.openstack.org/#/c/610401/

Change-Id: Ie069aaaff1646a70f3717fc6f9c7252949c4e5fd
2018-11-02 16:27:47 +07:00
Vieri
ada4b90083 Don't quote {posargs} in tox.ini
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')

Change-Id: I6ee01703bd4c432211f0d6e2f3501c989523ae11
2018-10-09 13:53:33 +00:00
Zuul
6229fce973 Merge "Use templates for cover and lower-constraints" 2018-10-03 14:05:35 +00:00
rabi
ae21e6b70d Set X-Region-Name in header when using SessionClient
We don't seem to set the header for region name when using session
client. It's used to look for service endpoints in the catalog.

Change-Id: I10cfdfb88b3f09e4ceb69b1020e82c4eba733804
Story: #2003806
Task: 26550
2018-09-19 12:21:01 +05:30
Tovin Seven
cabfc66783 Trivial: Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: Ifda5fe743589ad510469db7c28258c8432df9d13
2018-09-17 09:24:44 +00:00
Zuul
68d6c6f764 Merge "Migrate the link of bug report button to storyboard" 2018-09-08 00:33:36 +00:00
Zuul
97a78a41ab Merge "fix bug link in readme" 2018-09-08 00:33:36 +00:00
Andreas Jaeger
ed3aba8bfa Use templates for cover and lower-constraints
Use openstack-tox-cover template, this runs the cover job
in the check queue only.

Use openstack-lower-constraints-jobs template.

Remove jobs that are part of the templates.

Change-Id: I37a870625da43f738c20edc88313f2b771990659
2018-09-07 15:30:17 +02:00
Mehdi Abaakouk
6ef3e8761e Don't change pyyaml behavior
When an application load heatclient, the default pyyaml behavior change.

This ensures only heatclient use it's custom pyyaml stuffs.

This currently breaks the telemetry gate if the tempest heat plugin is
loaded with the telemetry.

Change-Id: I5d7d1a1999e762f2285a0effc081252570f24de8
2018-09-04 10:33:39 +02:00
zhulingjie
dc07c1358a Migrate the link of bug report button to storyboard
Change-Id: I28dc73a0b21719c02ea3b7fa47c68326bb87832d
2018-08-30 07:01:05 -04:00
rabi
bd2bfaa514 Add files-container option for stack create and update
If files-container option is specified:

- All template/env files would be fetched by the heat engine
  relative to the files_container and no local files other
  than the root template would be sent to server.
- Relative path of environment files would be sent in the
  environment_files list.

Also adds the option to template validate.

Change-Id: I1a703ab8798a003365be650886bb78be5af472b7
Story: #1755453
Task: 19319
2018-08-29 18:32:03 +05:30
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
ZhijunWei
2b127dd02f fix bug link in readme
This patch fixes the bug tracker link in the readme. It is set to
depend on a job definition change in project-config so we can use this
patch to test the new release jobs.

Change-Id: Id976a5fc4ba8fede726a80097fde8c0ce3c2019d
2018-08-28 09:23:47 -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
ricolin
597e98fec0 Load files from adopt file when adopt stack
Add files from adopt file into create fields. This allow us to
adopt nested stack which the template defined in files.
Story: #1700744
Task: #17263

Change-Id: I2b473791186949d49be59ee790185b3e394c7000
2018-07-20 15:34:04 +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