-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add new Auto sync option #3382
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
Add new Auto sync option #3382
Conversation
Codecov Report
|
3a3e8b7
to
a028906
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.
It LGTM, but I'd rather have this as the last PR from the smaller PRs.
We recommend doing the "user visible" step the last one when all the other functionality is already in place. This way there is no "unimplemented" error on certain features.
a028906
to
605a5b9
Compare
605a5b9
to
7b4da99
Compare
Requires schema update: #3635 |
7b4da99
to
c752386
Compare
c752386
to
acceea6
Compare
So I think I have to initiate a new version thing or whatever, but otherwise this PR should be ready to go. Perhaps I can move the changes made in: https://github.com/GoogleContainerTools/skaffold/pull/3382/files#diff-565d1f8c97f6be5448e4aa8873b0156dR41-R277 into a new PR though. |
2190adc
to
c271e82
Compare
c271e82
to
b841f24
Compare
needs update to config, will be done after next release |
b841f24
to
332851a
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.
this looks really good, I tested it out on the example in integration/testdata and it worked perfectly. should we update one of the jib examples we ship to show this off?
artifacts: | ||
- image: test-file-sync | ||
jib: | ||
type: must-use-profile |
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.
:)
@nkubala I guess I can move the testdata stuff to examples in a followup PR. |
2963c63
to
ab0c881
Compare
71d247a
to
b991157
Compare
|
Co-Authored-By: Balint Pato <[email protected]>
return &Item{Image: tag, Copy: toCopy, Delete: toDelete}, nil | ||
|
||
default: | ||
// TODO: this error does appear a little late in the build, perhaps it could surface at first run, rather than first sync? |
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.
agreed, this could be validated upfront - for now this should be fine, that extra couple of seconds is not really worth pulling this thing only to the validation, also we should validate the config consistently then - which we don't do currently.
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
This is great stuff! So nice to see this land. |
This is the base code for #3369 and #2901, the minimum required changes to how
dev
works to make it with the proposed implementation of automatic sync'ing of jib projects