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

feat: ignore vim *.swp files in hot-reload example #6895

Merged
merged 2 commits into from
Nov 29, 2021

Conversation

davidxia
Copy link
Contributor

It is not obvious that skaffold dev will rebuild the image
even when a file that is not mapped in skaffold.yaml's
manual sync config is added or changed. skaffold dev instead
respects .dockerignore as I discovered
in this issue.

Add **/*.swp to both node and python directories in the hot-reload
example so that this example is more likely to work out-of-the-box
for new users.

@davidxia davidxia requested a review from a team as a code owner November 22, 2021 21:16
@google-cla google-cla bot added the cla: yes label Nov 22, 2021
It is not obvious that `skaffold dev` will rebuild the image
even when a file that is not mapped in `skaffold.yaml`'s
manual sync config is added or changed. `skaffold dev` instead
respects `.dockerignore` as I discovered
[in this issue](GoogleContainerTools#3124).

Add `**/*.swp` to both node and python directories in the hot-reload
example so that this example is more likely to work out-of-the-box
for new users.

Signed-off-by: David Xia <dxia@spotify.com>
@codecov
Copy link

codecov bot commented Nov 22, 2021

Codecov Report

Merging #6895 (35ccb8a) into main (290280e) will decrease coverage by 1.34%.
The diff coverage is 61.83%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #6895      +/-   ##
==========================================
- Coverage   70.48%   69.13%   -1.35%     
==========================================
  Files         515      547      +32     
  Lines       23150    25081    +1931     
==========================================
+ Hits        16317    17340    +1023     
- Misses       5776     6576     +800     
- Partials     1057     1165     +108     
Impacted Files Coverage Δ
cmd/skaffold/app/cmd/deploy.go 52.00% <ø> (-1.85%) ⬇️
cmd/skaffold/app/cmd/dev.go 84.61% <0.00%> (ø)
cmd/skaffold/app/cmd/flags.go 91.00% <0.00%> (+0.18%) ⬆️
cmd/skaffold/app/cmd/render.go 36.66% <0.00%> (-4.72%) ⬇️
cmd/skaffold/skaffold.go 0.00% <0.00%> (ø)
cmd/skaffold/app/cmd/inspect_tests.go 62.50% <14.28%> (-1.14%) ⬇️
cmd/skaffold/app/cmd/fix.go 68.85% <40.00%> (-7.62%) ⬇️
cmd/skaffold/app/cmd/lint.go 42.85% <42.85%> (ø)
cmd/skaffold/app/cmd/find_configs.go 48.88% <50.00%> (+0.24%) ⬆️
cmd/skaffold/app/skaffold.go 76.19% <70.00%> (-8.43%) ⬇️
... and 163 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b6da4ff...35ccb8a. Read the comment docs.

Copy link
Member

@briandealwis briandealwis left a comment

Choose a reason for hiding this comment

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

Thanks!

@briandealwis briandealwis added the kokoro:run runs the kokoro jobs on a PR label Nov 23, 2021
@briandealwis briandealwis enabled auto-merge (squash) November 23, 2021 17:02
@davidxia
Copy link
Contributor Author

looks like kokoro is stuck preventing the auto-merge?

@kokoro-team kokoro-team removed the kokoro:run runs the kokoro jobs on a PR label Nov 29, 2021
@MarlonGamez
Copy link
Contributor

hey @davidxia , sorry for the delay on this! I've triggered the kokoro build. I'll merge this when done assuming it goes green

@briandealwis briandealwis merged commit 24180d9 into GoogleContainerTools:main Nov 29, 2021
@davidxia davidxia deleted the patch4 branch November 29, 2021 19:52
@davidxia
Copy link
Contributor Author

@MarlonGamez thank you!

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.

None yet

4 participants