Commit Graph

194 Commits

Author SHA1 Message Date
OpenDev Sysadmins 6675e3c3df 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:40:22 +00:00
Alex Schultz 24f9ef2a32 Retire instack
instack is no longer in use by the TripleO project. Removing the code to
avoid confusion. Stable branches will continue to be maintained for
their life however no new features should be added.

Change-Id: I70a749490b74d2ebb8a318854490e0a355e55920
Blueprint: remove-instack-undercloud
2018-10-30 12:16:50 +00:00
Andreas Jaeger 78d05207cd Use openstack-tox-cover template
Use openstack-tox-cover template, this runs the cover job
in the check queue only.

Remove jobs and use template instead.

Change-Id: Ic3653bbf946d0b54fe09290ec367cfd8f05f593f
2018-09-08 16:10:09 +02:00
Zuul 7abae30f9b Merge "fix tox python3 overrides" 2018-09-07 12:58:44 +00:00
Doug Hellmann 40f012aade 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: I364586e2a0cf15bb24fa72f7b49c4701a581f4c4
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-26 08:43:08 +02:00
qingszhao 6425582833 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: Ic4cc66212945bf8aaf622479dcf4314b603f07ea
Story: #2002586
Task: #24341
2018-08-24 05:01:12 +00:00
qingszhao 5729e914f2 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: I8ddd0ac832ebbd67c765f5b833474adf6e637db0
Story: #2002586
Task: #24341
2018-08-24 05:01:04 +00:00
qingszhao 7f36b61922 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: I8ab3b15a4a2dae363b760987ab36b71fa11f2789
Story: #2002586
Task: #24341
2018-08-24 04:57:17 +00:00
Zuul 9aaac37572 Merge "remove AUTHORS file from git" 2018-08-10 22:32:08 +00:00
Vu Cong Tuan 03416a844c 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: Ifa7bb85e6290898c073859cbaf38f566ece2dff9
2018-07-11 07:42:15 +07:00
Doug Hellmann 52e19ce591 remove AUTHORS file from git
The AUTHORS file is generated automatically by pbr as part of building a
package, so it should not be checked in to git.

Change-Id: Ied9e3f74f38bd4a28c8ebe853cd3e087002ed86c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-07-03 09:54:07 -04:00
Alex Schultz 1dca54c838 Fix readme for package
The previous readme contained formatting issues for pypi which prevents
publishing. This change moves the old readme to the docs page and
simplifies the main README.

Change-Id: I0bee3951c8c5d7a8d5650c8cfdbf40e9ba6734fc
Related-Bug: #1774001
2018-05-29 11:54:14 -06:00
OpenStack Proposal Bot 334137855e Updated from global requirements
Change-Id: Ic403e0a3ff898fd98d8a6ec5cc10c756138925ed
2018-03-15 06:59:22 +00:00
OpenStack Proposal Bot c531bac18d Updated from global requirements
Change-Id: I441be056d6afa345bb2c71aed462254f45b475a7
2018-01-17 20:34:52 +00:00
OpenStack Proposal Bot c6196c204f Updated from global requirements
Change-Id: If3b728996be33a9be2a2dfe86c089b9475c2e1eb
2017-11-16 11:05:12 +00:00
shangxiaobj d71921cd87 Update and replace http with https for doc links
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links

Change-Id: Ib87f5b052662ecae0974c722d546226dc1e096e2
2017-09-12 23:44:29 -07:00
OpenStack Proposal Bot 34c8b7148e Updated from global requirements
Change-Id: Iffa1acc3511db3d92bef59d5100a97d982dc7e74
2017-08-18 04:41:18 +00:00
OpenStack Proposal Bot 9961055735 Updated from global requirements
Change-Id: I85f96f480ae043b76774787365e1539d9cf1ea8b
2017-07-06 19:00:05 +00:00
lingyongxu ec102b19a0 Drop py34 target in tox.ini
We support py35 now,so it is no need to keep
the supoort for py34.

Change-Id: I856fb1d19bbc79436e637b2aff775339ddd9eecb
2017-06-09 17:28:53 +08:00
OpenStack Proposal Bot 103d5758f1 Updated from global requirements
Change-Id: I91917130e7c967ddbe667a4f1e17a1f5252f6f29
2017-05-17 03:48:30 +00:00
Jenkins f23d22c0c8 Merge "Call dib-run-parts from dib" 2017-04-11 22:22:08 +00:00
Jenkins 3ec43596a2 Merge "The python 3.5 added" 2017-04-11 22:22:00 +00:00
Jenkins 29d617c712 Merge "Don't use cache directory in home user dir with sudo" 2017-04-06 12:44:02 +00:00
OpenStack Proposal Bot ef9f6d0eae Updated from global requirements
Change-Id: I81743703b144c083ed8449ec99599964bf222d7c
2017-03-27 12:16:58 +00:00
Ben Nemec 051f558b5a Allow instack to work with pre-v2 versions of dib
We didn't branch instack in mitaka, so it's still using master.
The dib v2 changes broke mitaka because it still has an older
dib.  Rather than create a mitaka branch this late, let's just
handle both dib v1 and v2.  This only requires noop'ing the
generate_environment call when we detect an older version of
element-info.

Change-Id: Ice4be8e5f2e32733beaf8eef014f5203fce5316f
Closes-Bug: 1673424
2017-03-20 18:04:46 +00:00
Ian Wienand 5a168821f5 Call dib-run-parts from dib
After I149c345d38d761a49b3a6ccc4833482f09f1cd05 dib v2 does not export
dib-run-parts.  Since we have a "special" relationship with dib
internals, call the internal version.  This is fragile, but
practically dib is unlikely to break this.

Depends-On: I149c345d38d761a49b3a6ccc4833482f09f1cd05
Change-Id: Ibfe972208df40fa092b11b5419043524c903f1b4
2017-03-17 19:39:09 +11:00
James Slagle db7123ec10 Generate and source a dib v2 environment
diskimage-builder v2 now relies on the output of "element-info --env
<elements>" to have been sourced into the shell running the element
hooks. Generate the environment and save the output to a file under
environment.d so that dib-run-parts will source it prior to running
hooks.

Change-Id: Ie8ac128e391a7091184b5017959a2a653166062f
Closes-Bug: #1671262
2017-03-08 20:20:03 -05:00
Jenkins 59854cac25 Merge "Remove link to modindex" 2017-03-08 22:26:33 +00:00
Sagi Shnaidman 47c2bc4b4d Don't use cache directory in home user dir with sudo
When running instack with sudo there are created directories owned
by root in users ~/.cache folder with is default for
DIB_IMAGE_CACHE. Then it's impossible to run DIB as user using
the same cache dir.

Change-Id: I42f5e6db85b3571ed2f393160214928f18c0b145
Closes-Bug: #1668939
2017-03-08 01:20:23 +02:00
kavithahr 82711390e2 The python 3.5 added
The python 3.5 was missing so i have added

Change-Id: I38c36cf0dfb05d58bc50102187582650af38863c
2017-03-07 18:06:25 +05:30
OpenStack Proposal Bot 9e1f7099b2 Updated from global requirements
Change-Id: I5a08a36f08e8a5ade5721dfe7352c1113093c3a7
2017-01-27 23:20:39 +00:00
Jenkins 6a04f98d44 Merge "modify some assert info." 2017-01-27 16:42:57 +00:00
Rajiv Kumar fbe9435cd1 Remove link to modindex
The documentation build does not generate any module index, thus
remove the link to the page.

Change-Id: I77b407e8fa8c65ace730fbfe2fe01515316edf73
2017-01-27 10:37:24 +05:30
Jenkins d1a5d5a996 Merge "Replaced e.message with str(e)" 2017-01-25 02:28:46 +00:00
Cao Xuan Hoang 2857d6791e Replaced e.message with str(e)
For logging the exception message: e.message has been
deprecated. The preferred way is to call str(e).

Change-Id: I0641c2784b790d29304e31aa34960c82347e0276
2017-01-16 14:33:28 +07:00
Andreas Jaeger b562d77821 Fix test-requirements
Syncing of global-requirements to requirements fails since oslo.sphinx
is not in global-requirements - the proper name is oslosphinx.

Fix this with using same line as global-requirements uses.

This needs fixing in doc/source/conf.py as well.

Change-Id: Ifd1d0e3ad0b47b557e709f2851239d8b10e34297
2017-01-14 16:08:35 +01:00
zhouyunfeng dd3977e6a2 modify some assert info.
1.Developers should use assertIn(A, B) instead of assertTrue(A in B ).
so replace assertFalse with assertNotIn.

2.Some tests used incorrect order assertEqual(observed, expected), 
the correct order expected by testtools is 
assertEqual(expected, observed).
so change order of aguments in assertEqual.

Change-Id: Ibb757999c55fd001991381baca0db744ffa26f3e
2016-12-20 03:30:07 +00:00
Jenkins 44c5621173 Merge "Changed author and author-email" 2016-12-19 05:02:45 +00:00
Yolanda Robla Mota 3925605aec Add changes for dib feature/v2 branch
With diskimage-builder v2 branch, lib is nested on
diskimage_builder directory, so add this to the
search of paths to get that env var.

Change-Id: If69ffd4885c9da447c3483b186344914cfed22c2
2016-12-08 08:30:07 +01:00
Jenkins bb442cb4bf Merge "Show team and repo badges on README" 2016-11-28 22:23:07 +00:00
Jenkins 0b58db5f0c Merge "Fix "wrap functions with 2 blank lines" pep8 check" 2016-11-28 21:18:15 +00:00
Cao Xuan Hoang bb95abd3fa Changed author and author-email
Changed author to OpenStack and author-email to
openstack-dev@lists.openstack.org

Change-Id: Ifd36a6eada150c12017081dfdd8765b2b06b82eb
2016-11-28 10:07:21 +07:00
Flavio Percoco f82cb3e7b3 Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

https://gist.github.com/8e5d067fc0eb1f0de57f627ba3611051

Change-Id: If91d5238e4badd9fcb047400bf9ea94d1f9e927e
2016-11-25 18:44:12 +01:00
Jenkins 25001248a9 Merge "Replace 'assertTrue(a in b)' with 'assertIn(a, b)'" 2016-11-21 10:06:17 +00:00
Cady_Chen e06733b6dc Fix "wrap functions with 2 blank lines" pep8 check
Now gates are requires this pep8 rule as mandatory so until it'll be
fixed merge is blocked

Change-Id: I5dc76938b9f65f2ca05248ad0b95335a142f5912
2016-11-17 10:58:13 +08:00
Cady_Chen f1f75dd0e0 Don't include openstack/common in flake8 exclude list
The directory openstack/common was used to keep codes from
oslo-incubator, we have retired oslo-incubator in following patch
https://review.openstack.org/#/c/297487/
so don't use this directory any more.

Change-Id: I1bbdfdcc9c9b89ad65b91fd86a81148a3cf0d508
2016-11-16 17:17:27 +08:00
Cao Xuan Hoang 7dc0315b0c Replace 'assertTrue(a in b)' with 'assertIn(a, b)'
trivialfix

Change-Id: I776a85d78f599183e801c9bd3bcbc6c1398d295b
2016-11-16 09:05:15 +07:00
Swapnil Kulkarni (coolsvap) 3201fc404d Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: I2611585ca333b4e67be8e5d463ace3f3d7026778
2016-07-22 06:23:13 +00:00
Jenkins 5aabf5caf3 Merge "Correct example url in README" 2016-05-11 17:24:08 +00:00
Gerard Braad 3fab413a58 Correct example url in README
TrivialFix
Change-Id: Idc2a2c3eb7db9f1fa357e3838bc968502faa2766
2016-05-06 06:05:41 +00:00