A solution for implementing efficient and consistent software delivery to Kubernetes facilitating best practices.
APACHE-2.0 License
Bot releases are hidden (Show)
Published by flant-team-sysdev over 3 years ago
werf.yaml
...
{{- $values := .Files.Get "werf_values.yaml" | fromYaml -}} // or fromYaml (.Files.Get "werf_values.yaml")
from: {{- $values.image.from }}
werf_values.yaml
image:
from: alpine
Published by flant-team-sysdev over 3 years ago
Added support for .gitignore
into giterminism subsystem.
[giterminism] Optimize listing fs files
Skip file if:
[giterminism] Use pathMatcher for matching paths
[path_matcher] Implement StubPathMatcher that always returns false
[git_repo] ListCommitFilesWithGlob: small improvement
The file path does not get into the result if the glob is the file path without patterns
Published by flant-team-sysdev over 3 years ago
[win][git] Fix CRLF issues and patch-does-not-apply errors
The root of the issue: werf have added file converted from LF to CRLF into built image under windows due to some local git autocrlf settings. Then werf cannot apply patch to the file with CRLF's inside the build container.
Published by flant-team-sysdev over 3 years ago
[win][git] Fix CRLF issues and patch-does-not-apply errors
The root of the issue: werf have added file converted from LF to CRLF into built image under windows due to some local git autocrlf settings. Then werf cannot apply patch to the file with CRLF's inside the build container.
[docs] Fix incorrect link to Go guide
Published by flant-team-sysdev over 3 years ago
[helm 2 to 3] Fix werf helm migrate2to3 command: create helm 3 release in the first place
- Migration command should create helm 3 release object because it contains managed fields of all resources.
- It is better not lost this information about managed fields, because werf-converge will not delete fields, which has been deleted for some resource in the current repo .helm/templates in such case.
[bundles] Fix "unable to create bundle: unable to write ... no such file or directory"
[giterminism] Fix broken symlinks are processed incorrectly
[stapel, git] Fix adding a broken symlink does not work
[docs] Fix incorrect link to Go guide
[docs] Updating Telegram links
[docs] Fix incorrect Liquid syntax
[werf.io landing] Index page update: new intro slides
[helm][giterminism] Cache chart dependencies by hashsum of the whole .helm/Chart.lock, not digest
Temporarily revert custom docker images tags.
Added global .Values.global.werf.name value.
[config] .Files.Glob fails with an error instead of a warning message if no matches found
Error: unable to load werf config: template: werfConfig:8:9: executing "werfConfig" at <.Files.Glob>: error calling Glob: {{ .Files.Glob "path" }}: no matches found
[giterminism] Optimize listing files with glob
[tests] Giterminism Suite: disable log color
[giterminism] Refactor: WalkConfigurationFilesWithGlob returns paths relative to dir
Published by flant-team-sysdev over 3 years ago
[bundles] Fix "unable to create bundle: unable to write ... no such file or directory"
[giterminism] Fix broken symlinks are processed incorrectly
[stapel, git] Fix adding a broken symlink does not work
Published by flant-team-sysdev over 3 years ago
Published by flant-team-sysdev over 3 years ago
Cache chart dependencies by hashsum of the whole .helm/Chart.lock, not digest. This allows usage of update chart dependency when digest has not been changed.
Published by flant-team-sysdev over 3 years ago
Custom build tags.
--add-custom-tag
that can be used multiple times for build command.--use-custom-tag
for helm commands.%image%
or %image_slug%
in the tag format if there is more than one image in the werf config.cli.AllowCustomTags
directive.Migration from helm 2 to helm 3.
Published by flant-team-sysdev over 3 years ago
Fix interactive werf run session (--shell/--bash) works not properly
Published by flant-team-sysdev over 3 years ago
Introduce the following list of sprig v3 functions which was not previously avaialable in the sprig v2:
add1f
addf
all
any
bcrypt
chunk
concat
decryptAES
deepCopy
deepEqual
dig
divf
duration
durationRound
encryptAES
fromJson
genCAWithKey
genSelfSignedCertWithKey
genSignedCertWithKey
get
getHostByName
htpasswd
maxf
minf
mulf
mustAppend
mustChunk
mustCompact
mustDateModify
mustDeepCopy
mustFirst
mustFromJson
mustHas
mustInitial
mustLast
mustMerge
mustMergeOverwrite
mustPrepend
mustPush
mustRegexFind
mustRegexFindAll
mustRegexMatch
mustRegexReplaceAll
mustRegexReplaceAllLiteral
mustRegexSplit
mustRest
mustReverse
mustSlice
mustToDate
mustToJson
mustToPrettyJson
mustToRawJson
mustUniq
mustWithout
must_date_modify
osBase
osClean
osDir
osExt
osIsAbs
randBytes
randInt
regexQuoteMeta
seq
subf
toDecimal
toRawJson
urlJoin
urlParse
https://github.com/werf/werf/pull/3220
Published by flant-team-sysdev over 3 years ago
Do not print warnings for MANIFEST_UNKNOWN and BLOB_UNKNOWN registry errors until werf-cleanup does not delete these images automatically.
Published by flant-team-sysdev over 3 years ago
Ignore BLOB_UNKNOWN registry errors. Ignore silently without warnings until werf-cleanup does not delete these broken images.
Published by flant-team-sysdev over 3 years ago
[git repo] Move cache and change checksum calculation lock logic
[status] Do not cache repository and submodules repositories in the result
[docs] Fix custom helm release name template docs example
[refactor] Container runtime pkg: remove unused code and small fixes
[ls_tree] Do not cache repository and submodule repositories in the result
[docs] Fix a single quote in flag description breaks styles on cli command page
Published by flant-team-sysdev over 3 years ago
[giterminism] Fix processing of an invalid submodule state
Published by flant-team-sysdev over 3 years ago
Published by flant-team-sysdev over 3 years ago
[BLOB_UNKNOWN] Completely ignore images with BLOB_UNKNOWN errors from the standard docker registry
Published by flant-team-sysdev over 3 years ago
Ignore image-metadata-by-commit BLOB_UNKNOWN errors when WERF_EXPERIMENTAL_IGNORE_IMAGE_METADATA_BY_COMMIT_BLOB_UNKNOWN=1 is set
Published by flant-team-sysdev over 3 years ago
Set "werf.io/replicas-on-creation": NUM
annotation, do not set spec.replicas
field in templates explicitly.
Integration test and docs included.
[config] The required
function to declare a variable as required
The required function gives developers the ability to declare a value entry as required for config rendering. If the value is empty, the config will not render and will return an error message supplied by the developer.
{{ required "A valid <anything> value required!" <anything> }}
[config] the env
function requires the set environment variable
executing "werfConfig" at <env "test">: error calling env: the environment variable "<ENV_NAME>" must be set
will be returned[logging] logboek v0.5.0
[tests] Cleanup old three_way_merge_patches_creator_* fixtures
[tests] Docs Suite: fix and add to default set
Published by flant-team-sysdev over 3 years ago
[giterminism] Improve feedback if a related submodule is not clean or has changes
Ignore user work tree submodule directory if a submodule ".git" directory not found
Return a detailed error if a work tree submodule directory is not clean:
the submodule "<submodule path>" is not clean and must be committed. Do not forget to push the current commit to the submodule remote If this commit exists only locally
Details:
commit: "0000000000000000000000000000000000000000"
currentWorktreeCommit: "d9243a9a45b10e6b7d985322b8108897626a25a6"
expectedWorktreeCommit: "d9243a9a45b10e6b7d985322b8108897626a25a6"
You might also be interested in developer mode (activated with --dev option) that allows you to work with staged changes without doing redundant commits. Just use "git add <file>..." to include the changes that should be used.
Return a detailed error if a work tree submodule directory has changes:
the submodule "<submodule path>" has modified files and these changes must be committed (do not forget to push new changes to the submodule remote) or discarded:
- file1
- file2
[giterminism] Support for configuration files outside the project directory
Internals:
[doc] Add Rails guide
[tests] Fix daily tests, not compiling and failing tests, refactor tests precompile