Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test/dashboard: specify workdir using tox.ini #21416

Merged
merged 1 commit into from Apr 13, 2018

Conversation

tchaikov
Copy link
Contributor

@tchaikov tchaikov commented Apr 13, 2018

--workdir was introduced in tox v2.4.0, but the tox shipped by
ubuntu/xenial is 2.3.1. also because i removed the step to prepare the
tox using "pip install -r requirements.txt", what we have is the tox
v2.3.1 . so, instead of passing workdir in the command line, we specify
this setting in tox.ini.

Fixes: http://tracker.ceph.com/issues/23709
Signed-off-by: Kefu Chai kchai@redhat.com

--workdir was introduced in tox v2.4.0, but the tox shipped by
ubuntu/xenial is 2.3.1. also because i removed the step to prepare the
tox using "pip install -r requirements.txt", what we have is the tox
v2.3.1 . so, instead of passing workdir in the command line, we specify
this setting in tox.ini.

also drop the tox in requirements.txt, it's just misleading. and we are
not using the tox installed in the venv.

Fixes: http://tracker.ceph.com/issues/23709
Signed-off-by: Kefu Chai <kchai@redhat.com>
@sebastian-philipp
Copy link
Contributor

Looks sane to me, especially as workdir is also not set in src/ceph-detect-init/run-tox.sh and src/ceph-disk/run-tox.sh

@tchaikov tchaikov merged commit 8e82189 into ceph:master Apr 13, 2018
@tchaikov tchaikov deleted the wip-tox-pwd branch April 13, 2018 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants