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

Restructuring docker files to build images per version #527

Merged
merged 9 commits into from
May 16, 2019

Conversation

johnugeorge
Copy link
Member

@johnugeorge johnugeorge commented May 15, 2019

Dockerfiles are copied to each version so that each version is built independently.


This change is Reviewable

Copy link
Member

@gaocegege gaocegege left a comment

Choose a reason for hiding this comment

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

Please update our prow-config.

Copy link
Member

@gaocegege gaocegege left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gaocegege

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

@johnugeorge
Copy link
Member Author

Some changes are not added to avoid merge conflicts because of on going PR

  1. UI folder changes are not added Katib UI for v1alpha2 #486
  2. envelopenet folder changes are not added. chore: Refactor nasenvelopenet #492

@gaocegege @andreyvelich

@gaocegege
Copy link
Member

Gotcha, thanks. I will do it for envelopenet

@k8s-ci-robot k8s-ci-robot removed the lgtm label May 15, 2019
@hougangliu
Copy link
Member

/lgtm

@johnugeorge
Copy link
Member Author

/retest

1 similar comment
@richardsliu
Copy link
Contributor

/retest

RUN GRPC_HEALTH_PROBE_VERSION=v0.2.0 && \
wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-amd64 && \
chmod +x /bin/grpc_health_probe
COPY --from=build-env /go/src/github.com/kubeflow/katib/cmd/manager/katib-manager /app/
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be katib-manager.v1alpha2.

# Copy the controller-manager into a thin image
FROM alpine:3.7
WORKDIR /app
COPY --from=build-env /go/src/github.com/kubeflow/katib/cmd/katib-controller/katib-controller .
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be katib-controller.v1alpha2. Or we can remove the ".v1alpha2" from line 9 above.


FROM alpine:3.7
WORKDIR /app
COPY --from=build-env /go/src/github.com/kubeflow/katib/cmd/manager-rest/katib-manager-rest /app/
Copy link
Contributor

Choose a reason for hiding this comment

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

katib-manager-rest.v1alpha2

@andreyvelich
Copy link
Member

@johnugeorge Should I make the same with Dockerfiles for the UI?

@richardsliu
Copy link
Contributor

@andreyvelich I think we should follow the same conventions for all components. That way we can easily find all v1alpha2 related images.

@andreyvelich
Copy link
Member

@richardsliu Alright, will make changes in the UI PR.

@gaocegege
Copy link
Member

Please rebase to remove dep-ensure step in CI

@richardsliu
Copy link
Contributor

Also need to update the python script paths in test/scripts/v1alpha2/python-tests.sh.

@gaocegege gaocegege mentioned this pull request May 16, 2019
@k8s-ci-robot k8s-ci-robot removed the lgtm label May 16, 2019
@johnugeorge
Copy link
Member Author

/retest

@richardsliu
Copy link
Contributor

/lgtm

@gaocegege
Copy link
Member

/retest

1 similar comment
@johnugeorge
Copy link
Member Author

/retest

@k8s-ci-robot k8s-ci-robot removed the lgtm label May 16, 2019
@richardsliu
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot merged commit 287e503 into kubeflow:master May 16, 2019
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.

6 participants