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

update the image in the samples to use the new component images #1267

Merged
merged 2 commits into from
May 3, 2019
Merged

update the image in the samples to use the new component images #1267

merged 2 commits into from
May 3, 2019

Conversation

gaoning777
Copy link
Contributor

@gaoning777 gaoning777 commented Apr 30, 2019

This change is Reviewable

@gaoning777
Copy link
Contributor Author

/test kubeflow-pipeline-e2e-test

@gaoning777
Copy link
Contributor Author

/test kubeflow-pipeline-sample-test

@Ark-kun
Copy link
Contributor

Ark-kun commented Apr 30, 2019

I think we can do it much easier, cleaner and less fragile:

dsl-compile --py taxi-cab-classification-pipeline.py --output taxi-cab-classification-pipeline.yaml

sed -i -e "s|gcr.io/ml-pipeline/ml-pipeline-dataflow-tfdv:\([a-zA-Z0-9_.-]\)\+|${DATAFLOW_TFDV_IMAGE}|g" taxi-cab-classification-pipeline.yaml

@gaoning777
Copy link
Contributor Author

The approach you mentioned also requires changes to the run_tfx_test.py such that it accepts yaml files.
I think it does not make much difference whether updating the image tag in the source code or the compiled yaml.

@Ark-kun
Copy link
Contributor

Ark-kun commented May 1, 2019

The code is extremely fragile. Even removing a single space will break it.

@gaoning777
Copy link
Contributor Author

Make sense.
Fixed.

@Ark-kun
Copy link
Contributor

Ark-kun commented May 2, 2019

Make sense.
Fixed.

Thanks.

@Ark-kun
Copy link
Contributor

Ark-kun commented May 2, 2019

Don't you also need to update the kubeflow-training-classification test?

@gaoning777
Copy link
Contributor Author

I found out that the client handles all the different pipeline formats.

@Ark-kun
Copy link
Contributor

Ark-kun commented May 2, 2019

Don't you also need to update the kubeflow-training-classification test?

I meant this part for example:

dsl-compile --py kubeflow-training-classification.py --output kubeflow-training-classification.zip

@gaoning777
Copy link
Contributor Author

postsubmit test is not testing the tf-training sample. So, only the tfx and xgboost is updated.

@Ark-kun
Copy link
Contributor

Ark-kun commented May 3, 2019

postsubmit test is not testing the tf-training sample. So, only the tfx and xgboost is updated.

I see.

/lgtm

@gaoning777
Copy link
Contributor Author

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gaoning777

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

1 similar comment
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gaoning777

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 727c48c into kubeflow:master May 3, 2019
@gaoning777 gaoning777 deleted the fix-postsubmit-test branch May 3, 2019 02:49
hamedhsn pushed a commit to hamedhsn/pipelines that referenced this pull request May 5, 2019
…flow#1267)

* update the image in the samples to use the new component images

* replace the image tag in the yaml
magdalenakuhn17 pushed a commit to magdalenakuhn17/pipelines that referenced this pull request Oct 22, 2023
* Track last rolled out revision

* Print out previous rolled out revison and last ready revision

* Fix canary test

* Update canary example readme

* Fix status print

* Fix resources

* Update apidoc
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