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

Change dataflow default workdir to /src #330

Merged
merged 1 commit into from
Nov 11, 2018

Conversation

IronPan
Copy link
Member

@IronPan IronPan commented Nov 11, 2018

Otherwise when I want to execute dataflow code

python2 -m code_search.dataflow.cli.create_function_embeddings \

it complains no setup.py

I could workaround by using workingdir option to switch the dir when launching the container, but setting it to default would be more convenient.


This change is Reviewable

Otherwise when I want to execute dataflow code 
```
python2 -m code_search.dataflow.cli.create_function_embeddings \
```
it complains no setup.py

I could workaround by using workingdir container API but setting it to default would be more convenient.
@IronPan
Copy link
Member Author

IronPan commented Nov 11, 2018

In addition, this would be very useful for resuing the image to build a kf pipeline. See limitation of current pipeline.
kubeflow/pipelines#204

@IronPan
Copy link
Member Author

IronPan commented Nov 11, 2018

/assign @jlewi

@jlewi
Copy link
Contributor

jlewi commented Nov 11, 2018

FYI; You can also set the workdir in the command.

@jlewi
Copy link
Contributor

jlewi commented Nov 11, 2018

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jlewi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit c6ff5db into kubeflow:master Nov 11, 2018
yixinshi pushed a commit to yixinshi/examples that referenced this pull request Nov 30, 2018
Otherwise when I want to execute dataflow code 
```
python2 -m code_search.dataflow.cli.create_function_embeddings \
```
it complains no setup.py

I could workaround by using workingdir container API but setting it to default would be more convenient.
Svendegroote91 pushed a commit to Svendegroote91/examples that referenced this pull request Dec 6, 2018
Otherwise when I want to execute dataflow code 
```
python2 -m code_search.dataflow.cli.create_function_embeddings \
```
it complains no setup.py

I could workaround by using workingdir container API but setting it to default would be more convenient.
Svendegroote91 pushed a commit to Svendegroote91/examples that referenced this pull request Apr 1, 2019
Otherwise when I want to execute dataflow code 
```
python2 -m code_search.dataflow.cli.create_function_embeddings \
```
it complains no setup.py

I could workaround by using workingdir container API but setting it to default would be more convenient.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants