Merge pull request #269 from moreati/retox-the-freak-in-me

Fix Docker image construction and Tox test invocation
pull/283/head
dw 6 years ago committed by GitHub
commit c846c3be2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,7 +50,7 @@ RUN \
useradd -s /bin/bash -m mitogen__slow_user && \
chown -R root: ~mitogen__readonly_homedir && \
{ for i in `seq 1 21`; do useradd -s /bin/bash -m mitogen__user$i; done; } && \
{ for i in `seq 1 21`; do echo mitogen__user$i:user$i_password | chpasswd; } && \
{ for i in `seq 1 21`; do echo mitogen__user$i:user$i_password | chpasswd; done; } && \
( echo 'root:rootpassword' | chpasswd; ) && \
( echo 'mitogen__has_sudo:has_sudo_password' | chpasswd; ) && \
( echo 'mitogen__has_sudo_pubkey:has_sudo_pubkey_password' | chpasswd; ) && \

@ -8,7 +8,9 @@ deps =
-r{toxinidir}/dev_requirements.txt
commands =
{posargs:./test}
{posargs:bash run_tests}
whitelist_externals =
bash
[testenv:docs]
basepython = python

Loading…
Cancel
Save