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 about 5 years ago
Published by flant-team-sysdev about 5 years ago
Now user can fetch env variables in the helm templates with the following function:
{{ env "ENVIRONMENT_VARIABLE_NAME" }}
Temporary helm chart was an obsolete way to extend standard helm chart derived from dapp tool. Werf uses enchanced version of helm and does not need to generate temporal chart files.
Also this change fixed https://github.com/flant/werf/issues/1580.
werf helm generate chart
commandUse werf helm render
instead
imagePullPolicy: Always
for custom tag strategy.DOCKER_IMAGE_ID
only for git branch and custom tag strategies.~/.werf/local_cache/git_worktrees/2/local/REPO_ID_HASH/
COMMIT # actual work tree directory in the state corresponding to COMMIT
current # symlink to the current COMMIT directory
REPO_ID is unique per each local repo clone.
During switch from OLD_COMMIT to NEW_COMMIT procedure
OLD_COMMIT dir will be renamed to ~/.werf/local_cache/git_worktrees/2/local/REPO_ID_HASH/UUID temporary dir,
then state switched, then UUID will be renamed to NEW_COMMIT dir. In the case of switch error,
UUID temporary dir will be leaved for the inspection.
Only a single process can work with ~/.werf/local_cache/git_worktrees/2/local/REPO_ID_HASH cache at the same time.
Published by flant-team-sysdev about 5 years ago
Published by flant-team-sysdev about 5 years ago
refs https://github.com/flant/kubedog/issues/134
closes #1703
[speedup git] Optimize git worktree switch procedure
Published by flant-team-sysdev about 5 years ago
[speedup git] Optimize git worktree switch procedure
[ci-env] Fix typo in environment name of extra anno
Published by flant-team-sysdev about 5 years ago
Published by flant-team-sysdev about 5 years ago
from
directive on each run.Published by flant-team-sysdev about 5 years ago
Docs available at: https://werf.io/documentation/reference/deploy_process/working_with_chart_dependencies.html
Also ability to install helm charts from official helm repo using werf helm deploy-chart CHART_REFERENCE RELEASE_NAME
command, like:
werf helm deploy-chart stable/nginx-ingress myrelease
Set --status-progress-period=N
in seconds (5 seconds by default), set -1 to disable periodical status-progress-table. Works only for release resources.
Set --hooks-status-progress-period=N
in seconds (5 seconds by default), set -1 to disable periodical status-progress-table. Works only for release hooks.
Published by flant-team-sysdev about 5 years ago
ci.werf.io/commit
gitlab.ci.werf.io/job-url
gitlab.ci.werf.io/pipeline-url
project.werf.io/gitlab-url
to project.werf.io/git
Store images in one or several Docker repositories by the following patterns:
IMAGES_REPO:[IMAGE_NAME-]TAG
using monorepo
mode.multirepo
mode.WERF_TAG_CUSTOM*
Published by flant-team-sysdev about 5 years ago
Rename image-repo-mode option values
Published by flant-team-sysdev about 5 years ago
add Add a chart repository
fetch Download a chart from a repository and (optionally) unpack it in local directory
init Init default chart repositories configuration
list List chart repositories
remove Remove a chart repository
search Search for a keyword in charts
update Update information of available charts locally from chart repositories
build Rebuild the charts/ directory based on the requirements.lock file
list List the dependencies
update Update charts/ based on the contents of requirements.yaml
$ werf helm deploy-chart stable/nginx-ingress myrelease
ci.werf.io/commit
gitlab.ci.werf.io/job-url
gitlab.ci.werf.io/pipeline-url
project.werf.io/gitlab-url
to project.werf.io/git
mount:
- fromPath: ~/go-cache
to: /app/go-cache
Published by flant-team-sysdev about 5 years ago
Published by flant-team-sysdev about 5 years ago
Merge pull request #1724 from flant/fix_macos_tmp_mount
[macOS] Fix mount tmp problem
Published by flant-team-sysdev about 5 years ago
Werf writes 3-way-merge repair patch to annotations:
debug.werf.io/repair-patch
debug.werf.io/repair-patch-errors
Repair patch is a 3-way-merge kubectl-apply-like patch between current live resource state and desired chart state. User should apply this patch manually when live resource state is out of sync with the chart configuration resource state.
A warning message will be written to the screen during deploy process when repair patch is not empty.
Docs is available at pages:
Published by flant-team-sysdev about 5 years ago
[doc] fix YAML in sidebar and the Three-way merge article
Published by flant-team-sysdev about 5 years ago
Fix panic in 'werf config render' command.
[config] Disable auto GC for config commands.
Published by flant-team-sysdev about 5 years ago
Werf writes 3-way-merge repair patch to annotations:
debug.werf.io/repair-patch
debug.werf.io/repair-patch-errors
Repair patch is a 3-way-merge kubectl-apply-like patch between current live resource state and desired chart state. User should apply this patch manually when live resource state is out of sync with the chart configuration resource state.
A warning message will be written to the screen during deploy process when repair patch is not empty.
Doc available at page: https://github.com/flant/werf/blob/master/docs/pages/reference/deploy_process/experimental_three_way_merge.md
[config] Disable auto GC for config commands.
Fix panic in 'werf config render' command.
Published by flant-team-sysdev about 5 years ago
Unnecessary hooks, added for experiment, finally decided to remove.
[deploy] Ignore 'POST operation could not be complete' sts error.
[ci-env] Fix Gitlab 12.1.4+ output: turn off color mode
[docs] ci-env and tag slug
[docs] Gemfile.lock vulnerability update fix
[stapel image] Fix CMD and ENTRYPOINT logic
[dockerignore] Fix pattern with starting double asterisks does not work properly
[config] werf config list command
[config] werf config render command
Published by flant-team-sysdev about 5 years ago
[deploy] Ignore 'POST operation could not be complete' sts error.
[ci-env] Fix Gitlab 12.1.4+ output: turn off color mode
[docs] ci-env and tag slug
[stapel image] Fix CMD and ENTRYPOINT logic
[config] werf config list command
[config] werf config render command
Published by flant-team-sysdev about 5 years ago