Commit Graph

31 Commits (701c146bd748bcf9c0228cea593539a3521661ca)

Author SHA1 Message Date
Steve Baker c88da0a632 Refactor image upload command
In preparation for supporting deploys on a glance-less undercloud,
this change refactors the upload command to move all glance
interacting logic into a glance adapter class. This will allow the
adapter abstraction to be used for an 'upload' adapter which only
copies files on the local disk.

This change also does the following:
- moves repeated update-or-upload logic to an adapter method, reducing
  the complexity of take_action
- cleans up the mock usage to consistently use the
  patch decorator - the current approach may be causing unit test
  failures in some environments
- removes the GlanceV1 implementation, since the V1 API was removed in
  Newton(!) this support is just a maintenance burden

Change-Id: Ie28dabaf07ed36adb3e8f07ca8c141f93a9d79cc
Blueprint: nova-less-deploy
2020-01-22 13:08:20 +13:00
Zuul 22951847ac Merge "Update hacking version" 2019-01-17 18:09:31 +00:00
Steve Baker 5ac404e53e 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: I11f742b525d8d7328a9d46f0bd46da112e27ad82
2019-01-04 17:31:21 +00:00
ZhijunWei 744a120789 Update hacking version
Change-Id: I951ff4f9994102c1cc733e5bab4af059a1853aa6
2018-12-28 23:04:58 +08:00
Tony Breeds 9db478bf0f Introduce trivial helpers to manage image_files and names
This is a trivial re-factor but subsequent patches will increase
complexity of these helpers without clogging up callers with this logic.

Blueprint: multiarch-support
Change-Id: If9b115880e9755f2753a2e53a5869e12a17722a3
2018-07-10 11:16:27 +10:00
OpenStack Proposal Bot 7632a2db45 Updated from global requirements
Change-Id: Id9ba2578ed9617d4db2c5ece3b37e431355810cb
2018-03-23 07:52:42 +00:00
Guoqiang Ding 088b6de3a1 Update new documentation PTI jobs
For compliance with the Project Testing Interface as described in [1].
For more detailed information, please refer to [2].

[1] https://governance.openstack.org/tc/reference/project-testing-interface.html
[2] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I4999e2eceb46deec1385cb6376762de9e2fbf6e3
2018-03-08 19:20:05 +08:00
OpenStack Proposal Bot 7318cbda71 Updated from global requirements
Change-Id: I1c35f1f2f3d0368d72b6258ff5496cedbe006cb9
2018-01-18 03:32:10 +00:00
OpenStack Proposal Bot d4e43f1332 Updated from global requirements
Change-Id: I649d10cd86e713509b30940a0e014304379da313
2017-11-16 11:26:59 +00:00
OpenStack Proposal Bot 8a1d806375 Updated from global requirements
Change-Id: I8c6c9f88981d263b9c6ff8a599568096db47371a
2017-08-18 15:58:57 +00:00
OpenStack Proposal Bot 9a4685621f Updated from global requirements
Change-Id: I19b9d4ca812cf42d769ea6aa45d9b2fc8f1f1197
2017-06-27 17:54:36 +00:00
OpenStack Proposal Bot 5480b18813 Updated from global requirements
Change-Id: I6e376611df6ac3cbc100efa9d2e46e59c365cd10
2017-06-15 16:35:17 +00:00
OpenStack Proposal Bot d576913def Updated from global requirements
Change-Id: Icca65ff5795817d6ce6db9291de6f06e3a7237cc
2017-05-18 12:55:30 +00:00
Julie Pichon fd760f4e6a Update to a newer hacking library
The older hacking library has a cap on pbr <2.0, which is causing
issues with the recent 2.0.0 release of pbr. Hacking isn't kept in sync
via the usual proposal bot updates so update it manually to fix the
pep8 gate.

Change-Id: I9f9be32dd85ed3149b33f8cb29a57798d9cd42a5
Related-Bug: #1668848
2017-03-02 10:49:14 +00:00
OpenStack Proposal Bot 0f4de923ca Updated from global requirements
Change-Id: I3dc3512515f2f38995915f0b56744d5e28d44239
2017-02-10 05:59:48 +00:00
OpenStack Proposal Bot f9e006a42e Updated from global requirements
Change-Id: I411d623c56c5ad979610d6c02d9cb0b54fab3081
2016-12-21 15:32:28 +00:00
Flavio Percoco 784e6373e7 Pin docutils version
The 0.13.1 release breaks some documentation jobs
when it tries to build docs with remote images. This has been reported
upstream[0]. The version matches the supported docutils versions for
sphinx. The requirements patch is here: [1]

[0] https://sourceforge.net/p/docutils/bugs/301/
[1] https://review.openstack.org/#/c/409529/

Change-Id: I278a3de03a39ac5562e24dbd95ecb7902def9de0
2016-12-12 14:34:00 +01:00
OpenStack Proposal Bot d638745bd9 Updated from global requirements
Change-Id: I0e39afc51bdbb0074654db4952982c6bb76789a0
2016-11-04 23:58:06 +00:00
Emilien Macchi e64ca0be24 Add ReNo support
Add ReNo support to manage release notes.

http://docs.openstack.org/developer/reno/

We'll start using it during Ocata.

Change-Id: Ie8945b6da8c37d5d4e7bc5a09f0d6f75ede9f58f
2016-10-08 00:28:43 +00:00
OpenStack Proposal Bot a004f68fc6 Updated from global requirements
Change-Id: I06ef9e8bdeb8e4b64a19011229a02d1a842f951d
2016-10-06 03:33:09 +00:00
Dougal Matthews 133e8cf91a Migrate to using osc-lib
This new library provides the common logic used by openstack
clients. Replacing the imports from openstackclient and cliff.

Depends-On-External: https://review.rdoproject.org/r/#/c/2088/
Depends-On: I095209c241876c6ab48595962e07144fc5cc34a6
Closes-Bug: #1620964
Change-Id: I103a13ff6c0af94b82f5e48652380adfbf331d34
2016-09-13 22:35:01 +00:00
Swapnil Kulkarni (coolsvap) 2716c071d8 Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: I17b5e5fd0220f4d51544b6109f71c80f3d1ee9f6
2016-07-21 17:12:25 +00:00
OpenStack Proposal Bot f0367c6177 Updated from global requirements
Change-Id: I7e985a9e815d19400df46aec01d63c2742c3bf84
2016-06-29 22:13:23 +00:00
OpenStack Proposal Bot ca59d7f874 Updated from global requirements
Change-Id: I89b6954aa15a4178b96efdfecd0aab270d9f6330
2016-06-20 17:01:28 +00:00
OpenStack Proposal Bot b9b2e4ade6 Updated from global requirements
Change-Id: Id2c35504db47951ff6de7d24359314142b2dcd68
2016-05-30 20:46:20 +00:00
OpenStack Proposal Bot 9b548e845d Updated from global requirements
Change-Id: I21c441d128ed590f4baa3eb974ca37fc440d4001
2016-05-30 00:39:40 +00:00
OpenStack Proposal Bot f5016c9b52 Updated from global requirements
Change-Id: Ia580f3d17a04a1e35770239ce6d56d3961af6dbd
2016-05-13 17:09:02 +00:00
OpenStack Proposal Bot d4ab4b3749 Updated from global requirements
Change-Id: I48feeb4b5f3a8d84fe0b5e7ab7360a9b5602829d
2015-12-23 00:37:32 +00:00
Lennart Regebro e9636d5a5b Update requirements
Syncing requirements with global requirements
while waiting for the proposal bot being
activated.

Change-Id: Ie95038aef92c142c404fbe4b4bce83fd06480dbe
2015-10-07 14:46:56 +02:00
Dougal Matthews f136b3e300 Restrict the Mock version for Python 2.6 compatability
Change-Id: Ib27307d7428a92255c96747c1d28c704a178ea25
2015-07-10 11:30:49 +01:00
Brad P. Crochet 68cf7181b5 Initial commit 2015-03-17 09:33:52 -04:00