-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Improve syntax for artifact.sync config [1/3] #1847
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
Changes from 7 commits
89ced8c
ea756f7
169d22f
bf0e8da
162a524
6aa677c
d6deff6
2899a52
adc783b
4b35761
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
build: | ||
artifacts: | ||
- image: gcr.io/k8s-skaffold/node-example | ||
context: node | ||
sync: | ||
manual: | ||
- src: '.filebaserc' | ||
dest: /etc | ||
- src: 'static-html/*.html' | ||
dest: static | ||
- src: '**/*.png' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A comment on what the intended behavior is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've added some comments. Please have a look if this is what you intended. I'm not sure whether I like those comments, though. After all, each rule is explained further below. But I trust you have a better feeling for what's appropriate here. |
||
dest: assets | ||
- src: 'content/en/**/*.md' | ||
dest: content | ||
strip: 'content/en/' |
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.
Just for clarity, I would rephrase this as
Destination paths may be absolute or relative. If the destination is a relative path, an absolute path will be inferred by prepending the path with the container's WORKDIR