Commit Graph

54 Commits

Author SHA1 Message Date
Akihiro Motoki 6883d8ff5a Retire tempest-horizon
As disscussed in Wallaby PTG [1], QA and Horizon team
decided to move the horizon dashboard test from tempest-horizon
to Tempest. Scenario tests in tempest-horizon have been merged
into the tempest repository.

[1] https://etherpad.opendev.org/p/qa-wallaby-ptg

Depends-On: https://review.opendev.org/c/openstack/project-config/+/772373
Depends-On: https://review.opendev.org/c/openstack/horizon/+/771737
Change-Id: I6cc32a57dde4270343ca1f564ddc75f107455d9f
2021-01-25 16:39:31 +00:00
Ghanshyam Mann aaf69e0adf Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: I8123f403a23f17c20cd5b114227fef45d2eb7992
2020-05-12 19:33:34 -05:00
Zuul 785e781279 Merge "Cleanup python 2.7 support" 2020-04-19 12:40:51 +00:00
Zuul 1cdd244bd2 Merge "Update tox.ini" 2020-04-19 12:40:50 +00:00
Zuul 9e2486a0d6 Merge "Drop sphinx document" 2020-04-19 12:34:41 +00:00
Akihiro Motoki 48bde4d38f Cleanup python 2.7 support
* Remove six usage
* Remove python 2.7 stanza from setup.py
* Update supported python versions in setup.cfg
* Remove i18n related sections in setup.cfg
  as tempest-horizon has no translation support
* Remove unused requirements (oslo_log and babel) from requirements.txt

Change-Id: Ifd530546bfb5ae25e01e72a0e3c02f963d9d04d2
2020-04-01 15:07:33 +09:00
Andreas Jaeger 2ff35f9605 Update to hacking 3.0
Hacking 3.0 was just released with minor changes, update to the new
version.

Change-Id: I8153c333e8e65cd9469e490a2841a691a269303c
2020-03-30 17:43:59 +02:00
Zuul 234803eafb Merge "Update the rst file information" 2020-03-30 04:46:56 +00:00
gaobin a92daff53a Update the rst file information
* Update the horizon URL to the new one after doc migration
* Use https instead http
* Adjust title marker length to match the title length

Change-Id: I9c2280793bd8d6496224e36dffd479e1f3732db0
2020-03-29 06:30:09 +09:00
Akihiro Motoki 84adbf3adb Update tox.ini
* Move basepython to [testenv] which is a place to define common things
* Move upper-constraints from install_command to deps
* Update the min version to 2.0 to allow http links in deps
* Cleanup unused tox envs ('cover' and 'debug')
* Drop unnecessary envs from envlist (only pep8 is used now)

Change-Id: Ie915a93b824331407a48affcbd31076d6a7cccfa
2020-03-29 05:55:51 +09:00
Akihiro Motoki 9453185734 Drop sphinx document
We don't provide any sphinx documents as we cover horizon specific
topics in the horizon repository. The current version is just from
the cookiecutter and is never maintained since created.
README and CONTRIBUTING.rst would be enough.

Change-Id: I60c6e64e771f4e6bd3482a4d6a2a37228dde98b9
2020-03-29 05:22:10 +09:00
Andreas Jaeger ecc60ca980 Update hacking
Update hacking to latest version to catch Python 3 problems.

The existing entries in flake8 ignore are dropped
as they are unnecessary.

Change-Id: I8e268f3852ad7acf4805f8ef7e4cbe25a90054a0
2020-03-29 04:32:52 +09:00
OpenDev Sysadmins 730608b8fb 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:27:51 +00:00
Zuul e2ac2e03e4 Merge "Change openstack-dev to openstack-discuss" 2019-01-12 13:49:02 +00:00
Zuul 8e00d5de4b Merge "Remove deprecated and unused 'login_url' config option" 2019-01-08 22:28:09 +00:00
Manik Bindlish df6a4a8d24 Change openstack-dev to openstack-discuss
Mailinglists have been updated.
So, replacing openstack-dev to openstack-discuss

Change-Id: I8cf824d252a2bd3f5640c710dc343535cab771e3
2018-12-04 04:38:12 +00:00
zhouxinyong 634b5c4551 Update url in HACKING.rst
Change-Id: Id57e35ec7fd058a85953f3154d0be54934fa6e9b
2018-11-16 09:34:03 +08:00
Zuul 5208b76c60 Merge "fix tox python3 overrides" 2018-10-31 14:17:16 +00:00
Zuul bf8d53bdaa Merge "Cleanup requirements.txt" 2018-10-31 14:08:12 +00:00
Ivan Kolodyazhny 8d710fc861 Remove deprecated and unused 'login_url' config option
This opiton was deprecated more than three years ago so it's safe to
remove it.

Change-Id: Id65e439871c800068e26797781365b3cd749642d
2018-10-31 15:32:26 +02:00
Doug Hellmann d739396aed 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: I8f0602bc84aca649bdd70495286327c41c4d00ce
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:52:38 -04:00
Nguyen Hai 0a62253ee9 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: I604943aff8e732d544dffc85881e682e2b4d7d55
Story: #2002586
Task: #24299
2018-08-21 16:49:51 +09:00
Akihiro Motoki fd4ad6b565 Cleanup requirements.txt
Change-Id: I6be0829340cf8057f83ef58d4866072467f8c21a
2018-08-12 17:15:41 +09:00
Zuul 6490739059 Merge "Switch to use stestr for unit test" 2018-08-11 17:53:32 +00:00
Zuul ad1d38fa8e Merge "Update README to use stestr instead testr" 2018-08-11 17:30:00 +00:00
Zuul 8af3462a39 Merge "Add horizon tempest test to smoke group" 2018-07-26 01:54:18 +00:00
Ha Manh Dong 2d24cb7b04 Switch to use stestr for unit test
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
So we should switch to stestr.

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

Change-Id: I6c6e1b3873a71d3b069f0c0bc45d9ba9885c2886
2018-07-25 23:08:44 +03:00
Zuul 0bc725396e Merge "fix tox python3 overrides" 2018-07-25 17:54:02 +00:00
Ivan Kolodyazhny a4d6f1a317 Update README to use stestr instead testr
Tempest uses stestr since Iff4abef50178bdc83b868eed4a906e22d790762b was
merged. This patch chaned README to fix instructions for a default
configuration

Change-Id: I90860c4b8e3a0cfdee780fc587d9af21b1f36956
2018-07-17 20:55:02 +03:00
Thomas Goirand 5b59210ef2 Fix for python 3
In Python 3, get_reponse returns a bytes object, not str, so we
have to encode() and decode(), otherwise it fails. This fixed
issues running the tests in Debian.

Change-Id: Ifc18bb48e27cee96864e3a9b64d8a4fd294a912b
2018-06-15 12:38:31 +02:00
qingszhao 828a12c768 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: I4ef8678c433cc593db64f596a320d16bc1215eb1
2018-06-12 13:54:21 +08:00
Alina Nesterova 1d010525b6 Add horizon tempest test to smoke group
test_basic_scenario should run in smoke set

Change-Id: Ife5abf3afabc4f44be3daed22279edc5e96b5bdb
2018-03-05 10:59:02 +00:00
James E. Blair a23f4074fd 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: I995154c056dd99b3a2c0ee9f7ddd9077e5686b79
2018-01-31 12:49:48 -08:00
Zuul 2c6fec42ef Merge "zuul: Use horizon-dsvm-tempest-plugin job from horizon" 2017-12-20 16:42:13 +00:00
Akihiro Motoki bcb9c9e088 zuul: Use horizon-dsvm-tempest-plugin job from horizon
Change-Id: I3c6109df15480d5fbee1d420d573a4f529022d91
2017-11-30 15:50:35 +09:00
Akihiro Motoki f391a5f7cd Update requirements
Change-Id: I9648255a9bed8c75902763cbcf02ec2638fabcbd
2017-11-16 12:13:47 +00:00
Jimmy McCrory 86ac4f82ce Check for SSL function directly
Instead of looking at Python major and micro versions, check for the
required ssl.create_default_context function directly.

Change-Id: I6ef528a79d8ff6ff649e8f66f2d11d418e87d9d7
2017-09-21 20:22:07 -07:00
Jenkins 0b430ef949 Merge "Show team and repo badges on README" 2017-06-13 11:51:59 +00:00
Ivan Kolodyazhny 51995f7fd5 Use 'os_primary' property insead of deprecated 'os'
Read-only property 'os' has moved to 'os_primary' in version 'Pike' and
will be removed in version 'Queens'

Change-Id: Ice03458c69d0e107dac6f6735391c3e8567cf855
2017-06-07 23:07:17 +03:00
Jenkins a3312bcad1 Merge "Stop depending on scenario test base class" 2017-03-16 10:14:39 +00:00
Jenkins 6441c6c2fb Merge "Fix pep8 failure" 2017-03-14 09:37:14 +00:00
Andrea Frittoli 530f1046f9 Stop depending on scenario test base class
The scenario tests base class from Tempest is not a stable interface
and it's going to be refactored on Tempest side, as notified in

http://lists.openstack.org/pipermail/openstack-dev/2017-February/112938.html

Stop using that class since there's nothing in it used by horizon
scenario test.

Change-Id: I45ef6cef47a6a26e43612ffc6cb8851d19372712
2017-03-08 13:27:58 +00:00
Ken'ichi Ohmichi 92986b2f87 Switch to decorators.idempotent_id
test.idempotent_id is being kept temporary to migrate
to new lib interface. Now idempotent_id is available as Tempest stable
interface decorators and all plugins tests using the old decorator
should be switched to new interface.

In future, Once all plugins are switched to new decorator Tempest
will remove the test.idempotent_id

Change-Id: I9c7ffec7e65ea2cd3c9807fac3909317d8923c85
Related-Bug: 1616913
2017-03-06 20:00:11 -08:00
Radomir Dopieralski 9d5bb7bde3 Fix pep8 failure
./tempest_horizon/plugin.py:42:16: E124 closing bracket does not match
visual indentation

Change-Id: I7c229aa81b1ae31affaa2949f96b159cf0fe0091
2016-12-07 11:38:22 +01:00
Flavio Percoco d9d5f1551d 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:

b'https://gist.github.com/5c34b3129f899af616adb02cc736cb9f\n'

Change-Id: I6fc278b737965ac7e32f177d75642f38651c91e9
2016-11-25 14:09:27 +01:00
Travis Truman b6f352de92 Configurable SSL certificate validation
Adding boolean config opt "disable_ssl_certificate_validation".
When set to true, and running Python 2.7.9+ or Python 3.2+,
the dashboard basic ops scenario will ignore self-signed or otherwise
invalid SSL certificates.

Change-Id: I98f585ad0fbe4fb0ee913329a9269744fe4437bd
2016-09-26 11:23:30 -04:00
David Lyle 5378f71008 updating the config and usage
The config options were improperly specified and utilized.
Also, a needless decorator that is a carry over from
integrated work was removed.

Change-Id: Ieb39c8c4baada8857cc297cc98897d71f0536716
2016-06-06 11:36:37 -06:00
David Lyle bfbfffa3a0 Removing boto requirement
boto is not needed.

Change-Id: I8fd77df3aa0e6d67588bf3c51d1e29cc4e9e713c
2016-05-20 17:27:42 -06:00
David Lyle 8847c6a9ca renaming test suite
Change-Id: I4860a47acc1f3754bea5363cf92d24c55aebd860
2016-05-19 16:28:07 -06:00
David Lyle 629c271ae0 removing swap file, add .gitreview
Change-Id: Ia816a55ea527ba84dbafe162f3859551660280f0
2016-05-18 17:27:20 -06:00