Bring zuul configuration in-tree
Change-Id: I42dd5b0e1a5ac5a83f4370790ada9617f1122f6b Depends-On: https://review.opendev.org/c/openstack/project-config/+/763808
This commit is contained in:
parent
1a58ace6cb
commit
f4e0e70bb0
12
.zuul.yaml
Normal file
12
.zuul.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
- project:
|
||||
templates:
|
||||
- openstack-python35-jobs-no-constraints
|
||||
- publish-tox-docs-infra
|
||||
check:
|
||||
jobs:
|
||||
- tox-linters
|
||||
- tox-py36
|
||||
gate:
|
||||
jobs:
|
||||
- tox-linters
|
||||
- tox-py36
|
@ -180,7 +180,7 @@ def git_credentials(url):
|
||||
rc, out = run_command_status(*cmd, stdin=stdin.encode('utf-8'))
|
||||
if rc:
|
||||
return None
|
||||
data = dict(l.split('=', 1) for l in out.splitlines())
|
||||
data = dict(line.split('=', 1) for line in out.splitlines())
|
||||
return data['username'], data['password']
|
||||
|
||||
|
||||
|
4
tox.ini
4
tox.ini
@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
envlist = pep8,docs,py27,py3{4,5,6,7}
|
||||
envlist = linters,docs,py27,py3{4,5,6,7}
|
||||
ignore_basepython_conflict = true
|
||||
|
||||
[testenv]
|
||||
@ -23,7 +23,7 @@ deps =
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
||||
[testenv:pep8]
|
||||
[testenv:linters]
|
||||
commands = flake8
|
||||
|
||||
[testenv:docs]
|
||||
|
Loading…
Reference in New Issue
Block a user