Commit graph

1337 commits

Author SHA1 Message Date
Zuul
4d8f270157 Merge "Ignore not found when delete in test" 2019-09-05 05:04:46 +00:00
Zuul
eca1637656 Merge "Update stack_id clearify for heat client functions" 2019-08-05 16:16:26 +00:00
ricolin
82c842f3d9 Update stack_id clearify for heat client functions
most of our client major function require stack_id. We should
provide more specific information (at lest in function description)
to clearify that it's allowed to feed in stack name to `stack_id`
too. For example, both `heat.stacks.get($Stack_UUID)` and
`heat.stacks.get($Stack_Name)` works.

Change-Id: I4428097140e0391a77679f5c69e00966f249efd7
2019-08-03 00:42:19 +08:00
Zuul
6854247d4b Merge "Add Python 3 Train unit tests" 2019-07-06 00:58:29 +00:00
Zane Bitter
d87aa032de Fix unit tests
Change-Id: I44bbafa95d6eeb3550aac5b480391a3fc7ddaef5
2019-06-24 20:29:06 -04:00
Corey Bryant
5b1d4c2497 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: Id9ed3cec95f0e0203ef00dd5ff10d124913e39f2
Story: #2005924
Task: #34209
2019-06-24 10:34:01 -04:00
zhufl
036ae75689 Fix missing print format
This is to:
1. Add missing print format for "%(hook_type)".
2. Add ws between words in log message "notavailable".

Change-Id: Iaee8697c95f66bff0536db9a266158a3cbc89412
2019-05-21 15:03:08 +08:00
Zuul
270b7a0b43 Merge "Dropping the py35 testing" 2019-05-04 15:09:28 +00:00
OpenDev Sysadmins
05f52517de 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:33:54 +00:00
Ghanshyam Mann
422f001e25 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I6b8dacf455ec068acd9599d96e0d66522c8bdf5c
2019-04-15 18:06:16 +00:00
Zuul
25e2eb6974 Merge "Update master for stable/stein" 2019-04-04 17:52:06 +00:00
Ian Wienand
b69e063845 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I84aa448129801474cb5e65d27b4901e806b319f6
2019-03-24 20:35:49 +00:00
OpenStack Release Bot
1be9b40e8d Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: I241c58785ff541681113628bb9409821f035b2a2
Sem-Ver: feature
2019-03-18 14:51:17 +00:00
Zuul
9e59121af2 Merge "add python 3.7 unit test job" 2019-03-15 20:34:01 +00:00
Rabi Mishra
bd33e310e0 Set Content-Type header explictly for SessionClient
SessionClient is subclassed from keystoneauth LegacyJsonAdapter.
LegacyJsonAdapter does not set the Content-Type explicitly
and results in decodeing issues in some cases.

Change-Id: Idf23022b394607c332490331fc4b216de6ff1313
Story: 2005237
Task: 30027
2019-03-15 05:08:51 +00:00
Corey Bryant
e4c37d7b13 add python 3.7 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.7.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html

Change-Id: Iad68a8b8e18f8b2d6e25444b4c79adf1b5bc8825
Story: #2004073
Task: #27416
2019-02-14 22:49:57 -05:00
ricolin
3b74f2ddd1 Ignore not found when delete in test
Ignore not found when delete stack or stack snapshot in tests.
Story: #1737100
Task: #19354

Change-Id: I6c980b68023b33dc318c5d9506c2cac5866c4924
2019-02-03 05:16:08 +00:00
Zuul
8af5deb458 Merge "Update the bugs link to storyboard" 2019-01-03 22:45:12 +00:00
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
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
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