Releases: werf/werf
Werf v1.0.5-alpha.3
Github Actions CI/CD for werf project
https://github.com/flant/werf/actions
Example workflow: https://github.com/flant/werf/runs/253425591
Codeclimate tests coverage report: https://codeclimate.com/github/flant/werf (33% at the moment).
More fixes and improvements
[deploy] Fix printStatus panic
[deploy] Hide secret values in error
[docs] Reference/Build process: add section
[stapel builder] Fix werf removes user's empty directories during adding patch with binary
Installation
Werf v1.0.5-alpha.2
Integration tests
Integration tests with code coverage and CI/CD for werf project.
New stapel image
Ansible updated to v2.8.5.
Unzip, unarchive, gpg, user, group modules problems fixed.
Replace module is enabled.
Problem with UTF8 chars in python scripts running from ansible fixed.
Not fixed yet problems:
Fixes and small improvements
[git-worktree] Revert fast git worktree switch procedure till issue #1825 is fixed.
10000[docs] Publications: add articles about chart dependencies
[docs] Reference/Working with secrets: up
[docs] Up auto annotations docs
[dockerfile] Fix BuildKit RUN --mount flag does not work
[stapel image] Fix empty ENTRYPOINT processing for UCP
- support old and new reset ENTRYPOINT value formats for CE and EE Docker Engine
- use new one for other solutions from docker (e.g. UCP)
[stapel image] Fixbash: -H: command not found
[insecure docker registry] Fix http: server gave HTTP response to HTTPS client
Installation
Werf v1.0.4-beta.7
[dockerfile] Fix BuildKit RUN --mount flag does not work
Installation
Werf v1.0.5-alpha.1
Deploy process improvements
Enable environment access functions in chart templates
Now user can fetch env variables in the helm templates with the following function:
{{ env "ENVIRONMENT_VARIABLE_NAME" }}
Refuse temporary helm chart generation
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 #1580.
Remove werf helm generate chart
command
Use werf helm render
instead
Update chart templates werf helpers
- werf_container_image: add
imagePullPolicy: Always
for custom tag strategy. - werf_container_env: set
DOCKER_IMAGE_ID
only for git branch and custom tag strategies.
Git work tree switch strikes back: rework and speedup git work tree cache
- One work tree belongs only to one git repo on localhost.
Multiple repos (as in gitlab with parallel builds) will
have multiple uniq work trees, one per repo. - Optimized work tree switch procedure in the case when
work tree is already in the desired commit state. - New cache files structure:
~/.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.
Other fixes
- [lint] Actualize werf anno validation.
- [docs] Fix of copying file with ansible.
- [cleanup commands] Skip broken tags (known as "MANIFEST_UNKNOWN" error during cleanup).
- [render] Optional variables and saving the rendered chart to the file.
Installation
Werf v1.0.4-beta.6
Fixes and docs improvements
- Kubernetes 1.16.0 support.
- Rework werf.io and README intro text.
Installation
Werf v1.0.4-beta.5
Fixes
- Suppress klog INFO and WARNING streams to disable excess messages from client-go
refs werf/kubedog#134
closes #1703
- Revert breaking change to fix git error:
[speedup git] Optimize git worktree switch procedure
Installation
Werf v1.0.4-beta.4
[speedup git] Optimize git worktree switch procedure
[ci-env] Fix typo in environment name of extra anno
- WERF_ADD_ANNOTATION_GILAB_CI_PIPELINE_URL -> WERF_ADD_ANNOTATION_GITLAB_CI_PIPELINE_URL
Installation
Werf v1.0.4-beta.3
Revert experimental git worktree switch procedure to fix errors
Installation
Werf v1.0.4-beta.2
Optimize idle werf build!
- Speedup git worktree switch procedure (#1644).
- Do not fetch latest id for image specified in
from
directive on each run. - Cache git operations (checksum, archive and patch) in a single werf run.
Other fixes and improvements
- [dockerfile] Fix resolving FROM with ARG does not work properly.
- [dockerfile] Fix dockerfile stage is not cleaned up.
- [dockerfile] Fix resolve symlink logic.
- [cleanup] Log kubernetes context names.
Installation
Werf v1.0.4-beta.1
v1.0.4-alpha becomes v1.0.4 beta!
Helm chart dependencies commands
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
Configurable status-progress table period
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.
Other fixes
- Fixed terminal width in gitlab-ci env to 95 chars, fixed kubedog status-progress table to fit into width.
- Fix 'werf run --docker-opts="--rm"' does not remove container on SIGINT.