-
Notifications
You must be signed in to change notification settings - Fork 278
🐛Remove start.sh and restart.sh #761
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
🐛Remove start.sh and restart.sh #761
Conversation
Build succeeded.
|
@@ -30,10 +30,6 @@ RUN go mod download | |||
# Copy the sources | |||
COPY ./ ./ | |||
|
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.
Ups deleted my own comment :/
We need this for development: https://cluster-api.sigs.k8s.io/developer/tilt.html
Tilt uses it to live-reload the binary when rebuilding.
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.
Ah maybe it's not necessary anymore because it's added by tilt. I have to test it:
https://github.com/kubernetes-sigs/cluster-api/blob/master/Tiltfile#L127-L142
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.
Okay tested it. Seems like with v1alpha4 they solved this by using a separate dockerfile generated in the Tiltfile.
So while this is a breaking change for development with Tilt on master. It's fine for me as it won't be necessary after we hopefully merged the v1alpha4 PR soon. I also synced the Dockerfile with the upstream cluster-api Dockerfile on the v1alpha4 PR. There seem to be a lot more performance improvements there.: 2fc696d
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.
ok, I don't know it's from Tilt :)
thanks and it brings trouble to me (can't download those files and have to manually update dockerfile when build image)
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jichenjc, sbueringer 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 |
@jichenjc In my opinion you can merge it if you want (doesnt' conflict with my PR, in fact mine also does it) |
@sbueringer please lgtm to this PR .. /hold cancel |
/lgtm |
What this PR does / why we need it:
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 #760
Special notes for your reviewer:
Release note:
/hold