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

add verify script #10

Merged
merged 3 commits into from
Mar 22, 2019
Merged

add verify script #10

merged 3 commits into from
Mar 22, 2019

Conversation

jhamman
Copy link
Member

@jhamman jhamman commented Feb 8, 2019

Just jotting down some ideas from jupyterhub/repo2docker#93

Do not merge.

cc @alando46

@alando46
Copy link

alando46 commented Feb 9, 2019

thanks for sharing @jhamman this is great!

Question-

import pytest
import dask.distributed.Client

@pytest.fixture(scope='module')
def client():
    with Client(n_workers=4) as dask_client:
        yield dask_client

Would binder run this on the deployed k8s cluster?

@jhamman
Copy link
Member Author

jhamman commented Feb 9, 2019

@alando46 - that could be possible. For now, I'm just thinking of this as a tool during the image build, where k8s is likely not available. You could imagine skipping some tests unless a k8s cluster is available. I think connecting to a running k8s cluster is just an extension of this though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants