-
Notifications
You must be signed in to change notification settings - Fork 209
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(build): extend werf.yaml with build.cacheVersion
and <image>.cacheVersion
to help manage the cache
#6643
Conversation
a0b4a9e
to
e82255a
Compare
pkg/build/stage/instruction/add.go
Outdated
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.
For staged Dockerfile, you should add this dependency only to the FROM instruction (similar to the Stapel from stage), as that should be sufficient.
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.
✊🏼
docs/_data/werf_yaml.yml
Outdated
- name: cacheVersion | ||
description: | ||
en: A static parameter used when forming tags for all image configurations. Helps to invalidate the cache. | ||
ru: Статический параметр используемый при формировании тегов для всех конфигураций образов. Помогает инвалидировать кеш. |
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.
Инвалидация кэша это отдельных из возможных сценариев. По сути эта директива влияет на версию кэша всех образов.
e82255a
to
bb7b47a
Compare
bb7b47a
to
2b2c548
Compare
633b14d
to
94c73d0
Compare
Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
…cacheVersion` to help manage the cache Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
…acheVersion for localization Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Co-authored-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
94c73d0
to
63e505d
Compare
Signed-off-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
No description provided.