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(build): extend werf.yaml with build.cacheVersion and <image>.cacheVersion to help manage the cache #6643

Merged
merged 9 commits into from
Feb 27, 2025

Conversation

nervgh
Copy link
Contributor

@nervgh nervgh commented Feb 17, 2025

No description provided.

Copy link
Member

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.

Copy link
Member

@alexey-igrychev alexey-igrychev left a comment

Choose a reason for hiding this comment

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

✊🏼

@alexey-igrychev alexey-igrychev marked this pull request as draft February 17, 2025 15:56
- name: cacheVersion
description:
en: A static parameter used when forming tags for all image configurations. Helps to invalidate the cache.
ru: Статический параметр используемый при формировании тегов для всех конфигураций образов. Помогает инвалидировать кеш.
Copy link
Member

Choose a reason for hiding this comment

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

Инвалидация кэша это отдельных из возможных сценариев. По сути эта директива влияет на версию кэша всех образов.

@nervgh nervgh force-pushed the feat/build/global-cache-version branch from e82255a to bb7b47a Compare February 18, 2025 15:13
@nervgh nervgh marked this pull request as ready for review February 18, 2025 16:16
@nervgh nervgh force-pushed the feat/build/global-cache-version branch from bb7b47a to 2b2c548 Compare February 18, 2025 16:18
@alexey-igrychev alexey-igrychev marked this pull request as draft February 21, 2025 11:56
@nervgh nervgh force-pushed the feat/build/global-cache-version branch 2 times, most recently from 633b14d to 94c73d0 Compare February 21, 2025 15:13
nervgh and others added 8 commits February 24, 2025 09:51
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>
@nervgh nervgh force-pushed the feat/build/global-cache-version branch from 94c73d0 to 63e505d Compare February 24, 2025 06:52
@nervgh nervgh marked this pull request as ready for review February 24, 2025 06:53
Signed-off-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
@alexey-igrychev alexey-igrychev merged commit 2a34fbc into main Feb 27, 2025
12 of 13 checks passed
@alexey-igrychev alexey-igrychev deleted the feat/build/global-cache-version branch February 27, 2025 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants