forked from cloudlinux/kuberdock-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
106 lines (94 loc) · 2.12 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[tox]
skipsdist = True
envlist = pep8,py27,int,int-full
skip_missing_interpreters = True
[testenv]
usedevelop = False
basepython = python2.7
[testenv:unit]
passenv =
DOCKER_TLS_VERIFY
DOCKER_HOST
DOCKER_CERT_PATH
BUILD_NUMBER
commands =
./_run_tests_in_docker.sh
[testenv:unit26]
passenv =
DOCKER_TLS_VERIFY
DOCKER_HOST
DOCKER_CERT_PATH
BUILD_NUMBER
commands =
./_run_tests26_in_docker.sh
[testenv:pep8]
deps = flake8
commands =
./_run_pep8_tests.sh
[flake8]
ignore = E129
exclude = .git,.venv,.tox,dist,doc,*egg,kdmigrations,kubedock/updates/scripts/*
show-source = True
statistics = True
[testenv:shellcheck]
commands =
./_run_shellcheck_tests_in_docker.sh
[testenv:eslint]
passenv =
DOCKER_TLS_VERIFY
DOCKER_HOST
DOCKER_CERT_PATH
BUILD_NUMBER
commands =
./_run_eslint_tests_in_docker.sh
[testenv:webui]
changedir = {toxinidir}/tests_integration/web-ui
passenv =
DOCKER_TLS_VERIFY
DOCKER_HOST
DOCKER_CERT_PATH
BUILD_NUMBER
ROBOT_ARGS
BROWSER
commands =
./_run_selenium_tests_in_docker.sh
[integration]
deps=
-rrequirements-integration.txt
passenv =
HOME
PATH
SSH_AUTH_SOCK
DOCKER_TLS_VERIFY
DOCKER_HOST
DOCKER_CERT_PATH
VAGRANT_CWD
VAGRANT_NO_PARALLEL
ANSIBLE_CALLBACK_WHITELIST
KD_ONE_URL
KD_ONE_USERNAME
KD_ONE_PASSWORD
KD_ONE_PRIVATE_KEY
KD_NEBULA_TEMPLATE_ID
KD_NEBULA_RHOST_TEMPLATE_ID
KD_PASTEBIN_URL
KD_PASTEBIN_USER
KD_PASTEBIN_PASS
KUBE_AWS_ZONE
AWS_S3_REGION
AWS_SSH_KEY
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
KD_ADD_TIMESTAMPS
BUILD_CLUSTER
[testenv:int-review]
deps={[integration]deps}
passenv = {[integration]passenv}
commands =
python run_integration_tests.py --junit-xml testreport.xml \
{posargs:--all-tests --pipelines-skip zfs,zfs_upgraded,ceph_upgraded,fail_conditions,kubetype,master_backup_restore,move_pods,PA_catalog,predefined_apps,networking_rhost_cent6}
[testenv:int-nightly]
deps={[integration]deps}
passenv = {[integration]passenv}
commands =
python run_integration_tests.py --junit-xml testreport.xml --all-tests