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

third_party/metadata_envoy: Modify license file #2224

Conversation

dushyanthsc
Copy link
Contributor

@dushyanthsc dushyanthsc commented Sep 24, 2019

Change to update the approach to add license files to the third_party/metadata_envoy docker image. This update moves from the model of downloading the license files in each build to downloading it
locally to a license.txt file, checking the file in and using it to store in the docker image.


This change is Reviewable

@dushyanthsc
Copy link
Contributor Author

/assign @IronPan

@dushyanthsc
Copy link
Contributor Author

/test kubeflow-pipeline-e2e-test
/test kubeflow-pipeline-sample-test

@dushyanthsc
Copy link
Contributor Author

/test kubeflow-pipeline-sample-test

1 similar comment
@dushyanthsc
Copy link
Contributor Author

/test kubeflow-pipeline-sample-test

@@ -1,5 +1,4 @@
{
"target_path": "/third_party",
"libraries": [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I think you should also include license for envoy itself.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the catch. Fixed it.


RUN pip uninstall --yes wget
RUN apt-get remove --yes --purge python-setuptools python-pip python
RUN mkdir -p /third_party
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: My understanding is you don't need this line. COPY already does this.

If <dest> doesn’t exist, it is created along with all missing directories in its path.

reference: https://docs.docker.com/engine/reference/builder/#copy

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Change to update the approach to add license files to the
third_party/metadata_envoy docker image. This update moves from the
model of downloading the license files in each build to downloading it
locally to a license.txt file, checking the file in and using it to
store in the docker image.
@dushyanthsc dushyanthsc force-pushed the dushyanthsc/metadata-envoy-license-fix branch from 3e4e531 to 9b2705b Compare September 25, 2019 23:26
@dushyanthsc
Copy link
Contributor Author

/test kubeflow-pipeline-e2e-test

@Bobgy
Copy link
Contributor

Bobgy commented Sep 26, 2019

/approve
/lgtm

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Bobgy

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 fbb008f into kubeflow:master Sep 27, 2019
@dushyanthsc dushyanthsc deleted the dushyanthsc/metadata-envoy-license-fix branch September 27, 2019 19:39
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.

4 participants