18 Commits

Author SHA1 Message Date
Slawek Kaplonski
21d5151e39 Add Tobiko CLI tool to execute tobiko tools
This patch adds base `tobiko` CLI tool and one command for it which is
`ping`.
Using this new CLI tool it is now possible to do `tobiko ping <server>`
to run tobiko function to ping some server and store results in the
file. This can be used e.g. to run background ping process in the POD on
OpenShift and use that in the Tobiko tests.

Related: #TOBIKO-100
Change-Id: I33aea73cead5a4f406ce1a08c819fe056e17e9a1
2024-11-19 16:46:03 +01:00
Eduardo Olivares
b32c3a5f6e Dropping python3.6 and python3.7 support
Depends-On: I4a5ac77948ddb65944b0852b03122190a659269b

Change-Id: If126f32a301c5bd0a2c50b6b9c6b0d8ef2cdf7ca
2023-08-25 15:39:07 +02:00
Federico Ressi
f510ea3520 Mark Python 3.9 and 3.10 as supported runtime
Change-Id: Ibacd900d65166ef1347d4728fa72c683f74742d0
2022-02-18 06:46:23 +01:00
Federico Ressi
81618412de Fix default documentation page URL
Change-Id: Ia72212a67b18747976babd7d6ac355ce3b894e7e
2021-09-09 14:02:08 +00:00
jiangzhilin
2ae581f88a setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I5ae6bfa98a85ca262089adeec571870340cde86e
2021-06-29 10:25:08 +00:00
Federico Ressi
3ce3c741e5 Switch to pytest test runner
Change-Id: I8132e07ad624fe9faa01265d700b5eb37b94815f
2020-12-18 13:51:08 +00:00
Federico Ressi
552f9dce46 Execute test cases with InfraRed plugin on CenOS and Ubuntu
Change-Id: I493d259ad62f5fe536778fc8698747aee5874951
2020-03-20 10:36:35 +00:00
Federico Ressi
eafecdd050 Remove unused integrations: os_faults and ansible
Change-Id: I6fe7f699b8886171f749ee63ebec62a1c09ebd3e
2020-02-19 17:35:09 +00:00
Slawek Kaplonski
d050e3399a Autogenerate config options and sample config file
This patch adds to "docs" tox job ability to automatically
generate sample config file and config reference based on
config options defined in code.

Change-Id: Id960cc28d1b13ef3ed15e911f59620afb83f45b9
2019-07-18 17:51:49 +02:00
Federico Ressi
9e36e39c17 Add command to print out keystone credentials used by Tobiko
Change-Id: I898f8c5de3b0d25a984f0cc7b178e6e490edb75a
2019-06-28 16:19:02 +02:00
abregman
9fbfe5c321 Add tobiko-fault command
* tobiko-fault allows you to run different faults on different
  nodes in your environment.
* If os-faults configuration not present, tobiko-fault will generate
  it.

Change-Id: I428aebcbcdc3c9997a0c839e6a18564433e68ba8
2019-03-20 14:14:33 +02:00
Federico Ressi
7407fe8f02 Start implementing tobiko-fixture command.
Change-Id: I05e26bb118e7201ecb806bedd7c8c6cdcbbac2aa
2019-03-04 15:15:44 +01:00
abregman
3b72d757d6 Add Tobiko run command
Add basic structure file for supporting Tobiko run command.

The command will be used for generating configuration and run
the tests.

Change-Id: I046b3a85e2ad3d73f983d2be0c804ee863d56d9c
2019-01-25 10:38:15 +02:00
huang.zhiping
b0ae27ce5b Add openstack-discuss
Change-Id: I0278aa810d5a34b89f8aa6cf649acfa1ded7062e
2018-12-05 09:34:54 +00:00
Federico Ressi
c8135cebbf Split framework dependencies from test dependencies.
Let separate test cases (tobiko.tests package) from framework
(the rest of tobiko).

- Move test case dependencies to test-requirements.txt file.
- Keep only requirements.txt as framework requirements file.
- Add python-networkclient dependency to tobiko framework
- update tox.ini to use it for checking code before committing it

Change-Id: I0bc433153e00a1c83dbf691bfe058a1ccb1a49dd
2018-11-22 14:31:38 +01:00
abregman
4218ef46bf Add list CLI util
Allow to list stacks created/managed by Tobiko and templates
Tobiko provides for user along with tests.

Change-Id: Idd7d2ddc5f2c0aff14508b07c9f5d4067aba5a46
2018-11-15 16:51:17 +02:00
abregman
9bdc604bf5 Add a cleanup utility
Since tobiko is not cleaning up resources, added an alternative
that should ease development and testing processes.

Also updated setup.cfg with entries for cleanup and creation utils.

Change-Id: Ie88f79108d83723d107b1c5ed30ac69f19318820
2018-11-11 15:05:17 +02:00
abregman
4b3a02a3cd Add initial structure
Including required files for installing and
packaging the project.

Change-Id: I592784819e78075bfc08b52a17d1b42e511da95c
2018-08-13 12:58:24 +00:00