-
Notifications
You must be signed in to change notification settings - Fork 443
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
Migrate kubeflow-katib-presubmit to GitHub Actions #1882
Migrate kubeflow-katib-presubmit to GitHub Actions #1882
Conversation
6c9aaf0
to
252ada6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! 🎉 👍
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gaocegege, tenzen-y 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 |
examples/v1beta1/trial-images/enas-cnn-cifar10/requirements.txt
Outdated
Show resolved
Hide resolved
docker builder prune | ||
} | ||
|
||
run() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If i understand correctly, core images will be built for every job while suggestion/early stopping images will be built if used in the experiment.
Right? Is there any other way that we can avoid duplicate build?
Is this https://github.com/docker/build-push-action/blob/master/docs/advanced/share-image-jobs.md helpful in this case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me know your thoughts on it. /cc @andreyvelich
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can relook at optimising it later. This looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If i understand correctly, core images will be built for every job while suggestion/early stopping images will be built if used in the experiment.
Yes, that's right. @johnugeorge
Is this https://github.com/docker/build-push-action/blob/master/docs/advanced/share-image-jobs.md helpful in this case?
SGTM
I did not know how to do that.
Thanks! @johnugeorge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can relook at optimising it later. This looks good.
After merging this PR, I would create another PR to optimize the build script.
WDYT? @johnugeorge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure Thanks @tenzen-y
Thanks @tenzen-y for this hard work |
Thank you for your comments and review. |
8134b42
to
5933a66
Compare
/hold |
4534c5a
to
a41d05d
Compare
@johnugeorge Please take another look. /hold cancel |
Sure. I will keep it open for 1-2 more days so that others can take a look at it. |
It makes sense. |
a41d05d
to
2d21f08
Compare
I have pushed to rerun Go Test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thanks @tenzen-y |
What this PR does / why we need it:
I migrated E2E tests from kubeflow-testinfra to GitHub Actions with KinD Kubernetes Cluster since we no longer have access to
kubeflow-katib-presubmit
.Ref: #1838
So, I made the following changes:
test/e2e/v1beta1/[scripts|hack]/aws
directory.test/e2e/v1beta1/[scripts|hack]/gh-actions
direcotory.kubeflow-katib-presubmit
in GitHub Actions.cmd/earlystopping/medianstop/v1beta1/Dockerfile
cmd/metricscollector/v1beta1/tfevent-metricscollector/Dockerfile
cmd/suggestion/chocolate/v1beta1/Dockerfile
cmd/suggestion/hyperband/v1beta1/Dockerfile
cmd/suggestion/hyperopt/v1beta1/Dockerfile
cmd/suggestion/nas/darts/v1beta1/Dockerfile
cmd/suggestion/nas/enas/v1beta1/Dockerfile
cmd/suggestion/optuna/v1beta1/Dockerfile
cmd/suggestion/skopt/v1beta1/Dockerfile
examples/v1beta1/trial-images/enas-cnn-cifar10/Dockerfile.cpu
examples/v1beta1/trial-images/darts-cnn-cifar10/Dockerfile.cpu
examples/v1beta1/trial-images/darts-cnn-cifar10/Dockerfile.gpu
examples/v1beta1/trial-images/pytorch-mnist/Dockerfile
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #1878
/cc @andreyvelich @johnugeorge @gaocegege
Checklist: