Commit Graph

5 Commits

Author SHA1 Message Date
98k 66d993dac8 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: I77690fa682cc1b880d8b63ad5c17bd6bc2ee20ba
2018-10-08 07:48:40 +00:00
Doug Hellmann f9e43a6c2a 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: Ibb9d71afe0b9d23b5080af89f64a3acba73b4dcc
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:57:14 -04:00
alexz 19c928718b Add RefStackClient unittest runner
* *-unittest tox-test *require* pre-installed and configured
  murano-test-runner

* apps_uploader.sh - simple script which allow
  to pack and upload packages to murano
  (usefully for automate uploading from tox)

* More information about test-runner[1]

[1] http://docs.openstack.org/developer/murano/draft/appdev-guide/app_unit_tests.html

Needed-By: I2e354d3ad2e24b29a374e629c51c297e8938bd64

Change-Id: If285fd40fa0a1dcb9ffdf01ad646471e77631260
2016-08-09 09:10:31 +00:00
alexz cde9332029 Shell files syntax cleanup
* add SC2001 to shellcheck skip-list
* few functions from CloudFoundryDiego application was changed -
  manual deployment test requeired

Change-Id: Ib7b223553bdfc14f7051911d7ed0e4076c6aebb0
2016-07-29 09:05:33 +00:00
alexz 3be200f07b Add simple {shell,yaml}-check script
* shellcheck utility allow to determinate common mistakes of bash scripting[1]

* yamllint utility allow to determinate common mistakes of yaml files[3]

* Add List system dependencies for running common tests

Add an other-requirements.txt file containing a cross-platform list of
dependencies needed for running included tox-based tests.
Also include a tox environment for convenience calling the bindep[2]
utility to list any missing system requirements.

For other-requirements.txt see also:
http://docs.openstack.org/infra/manual/drivers.html#package-requirements
[1] http://hackage.haskell.org/package/ShellCheck
[2] http://docs.openstack.org/infra/bindep/
[3] https://pypi.python.org/pypi/yamllint/

Change-Id: I0012d085fd513bfd01eb8dcd1253c09e1aea7315
2016-07-25 18:38:10 +03:00