Browse Source

Set up repo for staging tests

Do base repo config for running tests from staging repos

Change-Id: I765d96c19b7a818269289af7b1f5820c414b24fd
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
changes/59/656059/1
Dean Troyer 3 years ago
parent
commit
b5ef8e2716
  1. 33
      .gitignore
  2. 9
      README.rst
  3. 36
      tox.ini

33
.gitignore vendored

@ -0,0 +1,33 @@
*.a
*.egg
*.egg-info
*.o
*.py[co]
*.pyc
*.so
*.sqlite
.*.swp
.coverage
.installed.cfg
.testrepository
.tox
.venv
AUTHORS
ChangeLog
_build
build
cover
coverage.xml
develop-eggs
dist
eggs
sdist
# Sphinx documentation
doc/build/
# Release Notes documentation
releasenotes/build
# Api Ref documentation
api-ref/build/

9
README.rst

@ -1,4 +1,7 @@
stx-tis-repo
============
========
tis-repo
========
Placeholder repo
StarlingX Test In Staging
This repo contains test jobs for OpenDev Zuul that pull from starlingx-staging.

36
tox.ini

@ -0,0 +1,36 @@
[tox]
minversion = 2.3
skipsdist = True
[testenv]
basepython = python3
whitelist_externals =
bash
find
rm
env
ls
setenv =
VIRTUAL_ENV={envdir}
LANGUAGE=en_US
LC_ALL=en_US.utf-8
OS_STDOUT_CAPTURE=1
OS_STDERR_CAPTURE=1
OS_TEST_TIMEOUT=160
PYTHONDONTWRITEBYTECODE=1
[testenv:debug]
envdir = {toxworkdir}/shared
commands =
bash -c "pwd; cd ../../../stx-nova; git branch"
ls -l ../../../stx-nova
[testenv:pep8]
envdir = {toxworkdir}/shared
commands =
bash -c "echo placeholder env: pep8"
[testenv:functional]
envdir = {toxworkdir}/shared
commands =
bash -c "echo placeholder env: functional"
Loading…
Cancel
Save