werf Changelog

What's new in werf 2.0.3

May 3, 2024
  • Bug Fixes:
  • v2: replace leftovers of v1.2 to v2 /2 (d6cacfb)

New in werf 1.2.307 (Apr 10, 2024)

  • Features:
  • nelm: switch back to the old deployment engine by default (439b0d4)

New in werf 1.2.305 (Apr 6, 2024)

  • Bug Fixes:
  • nelm: --save-deploy-report not saving report on skipped release /2 (83190c2)

New in werf 1.2.303 (Apr 5, 2024)

  • Features:
  • deps: update Nelm
  • nelm: deploy bundles using new deployment engine
  • nelm: skip removal of resources with missing/incorrect release annotations and labels
  • Bug Fixes:
  • nelm: "werf converge" panics on first release
  • nelm: allow empty helm.sh/hook-delete-policy and werf.io/delete-policy
  • nelm: don't skip release if all resources up-to-date but the release itself changed
  • nelm: missing expected annotations values in adoption errors

New in werf 1.2.302 (Apr 1, 2024)

  • nelm: change propagation policy on DELETE from Auto to Foreground (d7906f0)

New in werf 1.2.301 (Mar 29, 2024)

  • Features:
  • deps: mini bump all modules (8802bd7)
  • Bug Fixes:
  • buildah: "could not find netavark" error (0503170)
  • buildah: "unknown version specified" error (d475c14)
  • buildah: unable to find "pasta" binary (858933f)
  • deps: update all direct dependencies (48641a0)
  • deps: update Helm to v3.14.3 (049f682)
  • e2e converge tests after Nelm migration (216d363)
  • nelm: --status-progress-period=-1 panics (aa152f6)
  • nelm: don't show logs produced before current release (7067534)
  • nelm: Jobs not failing on errors /2 (688b760)
  • nelm: tracking might hang with werf.io/track-termination-mode: "NonBlocking" (c0fda6b)
  • stapel: copying suitable stage from secondary might break reproducibility of subsequent stages (96dddad)
  • stapel: discarding newly built image might break reproducibility of subsequent stages (78d2905)
  • stapel: using suitable stage might break reproducibility of subsequent stages (f0a618c)

New in werf 1.2.300 (Mar 22, 2024)

  • Features:
  • make werf root command embeddable (2e1c9d3)
  • Bug Fixes:
  • nelm: Jobs not failing on errors /2 (96793f0)

New in werf 1.2.299 (Mar 21, 2024)

  • Bug Fixes
  • Nelm: Jobs not failing on errors (ca069a2)

New in werf 1.2.298 (Mar 20, 2024)

  • Bug fixes:
  • nelm: WERF_DIR ignored for chart path (5acfaa3)

New in werf 1.2.297 (Mar 19, 2024)

  • Features:
  • nelm: improve log coloring
  • nelm: remove excessive operations summary
  • nelm: show NOTES.txt on release
  • nelm: show release name/namespace on converge/plan start
  • Bug Fixes:
  • nelm: panic with werf.io/replicas-on-creation
  • nelm: removing child chart values with null

New in werf 1.2.296 (Mar 5, 2024)

  • nelm: activate new deployment engine Nelm by default (be67fc1)

New in werf 1.2.295 (Feb 29, 2024)

  • Bug Fixes:
  • Nelm: deployment tracking hangs; old pods tracked.
  • Ssh: initialize ssh agent before working with git repo.

New in werf 1.2.294 (Feb 20, 2024)

  • Bug Fixes:
  • deploy: dont strip non-whitespace after --- in manifests

New in werf 1.2.293 (Feb 19, 2024)

  • Bug Fixes:
  • More robust manifest splitting (340c92b)
  • Nelm: corrupted revision number in errors messages (e95fb4f)

New in werf 1.2.292 (Feb 15, 2024)

  • Features:
  • Add --atomic, --timeout, --skip-dependencies-repo-refresh for "bundle apply" (b29c290)

New in werf 1.2.290 (Feb 14, 2024)

  • Features:
  • Nelm: save plan graph on plan build error
  • Bug Fixes:
  • Nelm: panic on replicas null

New in werf 1.2.289 (Feb 12, 2024)

  • Bug Fixes:
  • --wait-for-jobs did not use Kubedog (69fac2c)

New in werf 1.2.288 (Feb 7, 2024)

  • Bug Fixes
  • Nelm: controllers not Readying; no logs for STS/DS (84b5054)

New in werf 1.2.287 (Feb 2, 2024)

  • Cleanup: issue with incorrect exclusion of ancestors for retained images (#5956) (00ee0e1)
  • Nelm: resources always rendered in no-cluster mode (289cf14)

New in werf 1.2.286 (Feb 1, 2024)

  • Bug Fixes:
  • Dont try to create namespace if exists (88c0610)

New in werf 1.2.285 (Feb 1, 2024)

  • Bug Fixes:
  • Nelm: pods not ready in progress report when they are (89efd58)

New in werf 1.2.284 (Jan 26, 2024)

  • Features:
  • nelm: --auto-rollback support for converge (5826586)
  • Bug Fixes:
  • nelm: refactor error handling in converge (fd50797)
  • nelm: refactor failure deploy plan in converge (51aa423)
  • nelm: refactor pending release check in converge (00e0c0f)

New in werf 1.2.283 (Jan 25, 2024)

  • Features:
  • compose: use host docker binary instead of docker-compose (#5944) (a82a665)
  • nelm: heavily improved resource tracking (0a23121)

New in werf 1.2.282 (Jan 24, 2024)

  • cleanup: panic: runtime error: invalid memory address or nil pointer dereference (#5937) (33465ab)

New in werf 1.2.281 (Jan 19, 2024)

  • Features:
  • nelm: --exit-code flag for werf plan (a9dcf1b)
  • Bug Fixes:
  • update helm, nelm modules (90d07de)

New in werf 1.2.280 (Jan 16, 2024)

  • Bug Fixes:
  • disable dependabot (76998e9)
  • switch to go 1.21 (2624b32)

New in werf 1.2.278 (Jan 10, 2024)

  • Bug Fixes:
  • deps: update go-git (ff00de8)
  • deps: update helm-plugin-utils (608941e)

New in werf 1.2.277 (Dec 30, 2023)

  • Bug Fixes:
  • add WERF_NELM var (same as WERF_EXPERIMENTAL_DEPLOY_ENGINE) (455d293)
  • Nelm moved to separate repo (be662c3)

New in werf 1.2.276 (Dec 29, 2023)

  • Bug Fixes:
  • pre-collapsed gitlab section not usable (#5897) (68040b1)

New in werf 1.2.274 (Dec 21, 2023)

  • Bug Fixes:
  • buildah: fix digest change on rebuild of install/beforeSetup/setup stage when using multiple git-mappings in the same image (52db306)

New in werf 1.2.273 (Dec 21, 2023)

  • Bug Fixes:
  • Exp-engine: "no matches for kind" when deploying CR for CRD from crds/ (5c68186)

New in werf 1.2.272 (Dec 19, 2023)

  • Features:
  • Improve generic resource tracking (c366a72)
  • Bug Fixes:
  • Staged-dockerfile: explanatory error message when building unsupported Dockerfile conf (a884912)

New in werf 1.2.271 (Dec 14, 2023)

  • Bug Fixes:
  • Secrets: empty secrets values yaml file results in werf error (7fe6b2b)

New in werf 1.2.270 (Dec 4, 2023)

  • Features:
  • Container: implement generic Retry-After header handling (#5867) (b2a6022)
  • Bug Fixes:
  • Secrets: fix double decryption error when decrypting a yaml with multiple references to the same anchor (a7df8cc)

New in werf 1.2.269 (Nov 10, 2023)

  • Bug Fixes:
  • werf-in-image: unable to update tuf meta (#5846) (fd41be1)

New in werf 1.2.267 (Oct 20, 2023)

  • add yq to werf images (7d23125)

New in werf 1.2.266 (Oct 16, 2023)

  • Bug Fixes:
  • werf-in-image: detected dubious ownership in git repository (#5827) (2ae94b4)

New in werf 1.2.265 (Oct 14, 2023)

  • Features:
  • option to disable registry login in "werf ci-env" (170d068)
  • Bug Fixes:
  • forbid "werf run" in Buildah mode (09fb5bd)

New in werf 1.2.264 (Oct 13, 2023)

  • Features:
  • add more tools to werf images; update werf images (9ca24e7)
  • configurable giterminism config path (b852a34)
  • Bug Fixes:
  • "bundle copy --from" fails after "ci-env" (6c8ed39)
  • build: initialize ondemandKubeInitializer for custom sync server in Kubernetes (e08a901)
  • tone down --loose-giterminism warning (938a9ab)

New in werf 1.2.263 (Sep 28, 2023)

  • Bug Fixes:
  • Exp-engine: panic connecting internal dependencies.

New in werf 1.2.261 (Sep 27, 2023)

  • Bug Fixes:
  • Exp-engine: helm hooks with multiple pre/post conditions always skipped (5d0db6d)

New in werf 1.2.260 (Sep 25, 2023)

  • Features:
  • Exp-engine: hide sensitive Secret's diff in werf plan (27192fd)
  • Bug Fixes:
  • Parallel: cancel context for active tasks when task fails (#5800) (1d062fd)

New in werf 1.2.259 (Sep 21, 2023)

  • Bug Fixes:
  • Don't add useless "name" label when creating release namespace
  • Exp-engine: cosmetics
  • Exp-engine: steal managed fields from any manager with prefix "werf"

New in werf 1.2.256 (Sep 20, 2023)

  • Features:
  • ci-env: add ci.werf.io/tag automatic annotation (#5789) (b36586f)
  • complete rework of managed fields handling + minor fixes (2d41d32)
  • exp-engine: "werf plan" command, "werf converge" improvements (f3a2b0b)
  • exp-engine: complete rework of managed fields handling + (2d41d32)
  • Bug Fixes:
  • hide CRDs create diffs from plan (2d41d32)
  • remove "..." from log messages (2d41d32)
  • show "insignificant changes" in plan if filtered resource diff is (2d41d32)
  • unreliable deletion of resources removed from release due to race (327f1fd)

New in werf 1.2.254 (Sep 13, 2023)

  • Features:
  • exp-engine: experimental deploy engine v2 with graph.

New in werf 1.2.253 (Aug 23, 2023)

  • Bug Fixes:
  • exp-engine: parallel GET/dry-APPLY finishing before results received

New in werf 1.2.252 (Aug 18, 2023)

  • Bug Fixes:
  • Cannot deep copy *annotation.AnnotationReplicasOnCreation.

New in werf 1.2.251 (Aug 17, 2023)

  • render: missing WERF_KUBE_VERSION env (810f5d3)

New in werf 1.2.250 (Aug 16, 2023)

  • Bug Fixes:
  • Render: add --kube-version flag (bc48dd0)

New in werf 1.2.249 (Aug 3, 2023)

  • exp-engine: major refactor: new Resource(s), Release, History, ResourcePreparer, KubeClient classes (6b9dcb2)

New in werf 1.2.246 (Jul 18, 2023)

  • Bug Fixes:
  • Exp-engine: panic on external-dependency namespace annotation (be555f7)

New in werf 1.2.243 (Jul 10, 2023)

  • Bug Fixes:
  • Telemetry: experimental deploy engine attribute (753e129)

New in werf 1.2.242 (Jul 4, 2023)

  • Bug Fixes:
  • dev: precommit git hooks are not ignored.

New in werf 1.2.241 (Jun 13, 2023)

  • Bug Fixes:
  • staged-dockerfile: eliminate excess manifest get request from base image registry.

New in werf 1.2.240 (Jun 7, 2023)

  • Bug Fixes:
  • ci: unlabel job should not fail (#5670) (3f4267a)
  • custom-tags: no way to tag only certain images (54ad8a5)
  • integration tests should not fail (#5669) (c4e411a)

New in werf 1.2.239 (May 29, 2023)

  • Bug Fixes:
  • Hide build log in export command (#5658) (88bc502)
  • Kubedog: resource hangs on context canceled (0ff8176)
  • Remove abandoned linters, use unused linter (#5661) (adbf2c7)

New in werf 1.2.238 (May 24, 2023)

  • Bug Fixes:
  • Deploy: new engine no activity timeout for hooks (9dab75d)

New in werf 1.2.237 (May 24, 2023)

  • buildah: use native-chroot isolation by default with buildah backend.

New in werf 1.2.235 (May 18, 2023)

  • Bug Fixes:
  • deploy: add debug for new deploy engine (7481265)

New in werf 1.2.234 (May 18, 2023)

  • Features:
  • New experimental deploy engine (8d431c2)
  • Bug Fixes:
  • Bundles/publish: fix usage of CreateNewBundle without env variables. (974e01a)
  • Bundles/publish: fix usage of CreateNewBundle without env variables. (3e0e079)

New in werf 1.2.233 (May 17, 2023)

  • Bug Fixes:
  • staged-dockerfile: optimize stages dependencies tree builder.

New in werf 1.2.232 (May 16, 2023)

  • Features:
  • dev: tasks for local development (#5607) (5b96afc)
  • multiarch: support platform setting per image in werf.yaml configuration (39fd752)
  • Bug Fixes:
  • harbor regular NOT_FOUND error treated as 'broken image' internal registry error (bc4ef3d)
  • multiarch: use correct multiarch manifests for werf-run and werf-kube-run commands (fca96f2)
  • rename ambiguous --skip-build to --require-built-images (#5619) (2a57b4b)
  • use 'built image' instead 'cache image' (fee0d67)

New in werf 1.2.231 (May 2, 2023)

  • Features:
  • Multiarch: working werf-export command in multiarch mode (a699230)
  • Bug Fixes:
  • Restore data-parent attribute (#5600) (ecb72d2)

New in werf 1.2.227 (Apr 26, 2023)

  • Bug Fixes:
  • Stapel/imports: processing of includePaths/excludePaths with globs in file/directory name
  • Update ruby gems

New in werf 1.2.224 (Apr 14, 2023)

  • multiarch: minimal docs about multiplatform mode.

New in werf 1.2.223 (Apr 12, 2023)

  • buildah: enable :local mode for buildah backend
  • local-stages-storage: introduce local storage independent of container backend implementation
  • multiarch: support :local mode multiarch building for docker server backend

New in werf 1.2.222 (Apr 10, 2023)

  • Bug Fixes:
  • werf-builder: update werf-builder image (1171fc5)

New in werf 1.2.219 (Apr 8, 2023)

  • Bug Fixes:
  • 'certificate signed by unknown authority' and not working skip-tls-verify-registry param
  • multiarch: do not override image metadata for secondary platforms
  • multiarch: do not override image metadata for secondary platforms
  • restart release-please process

New in werf 1.2.218 (Mar 28, 2023)

  • Bug Fixes:
  • Exec: werf-in-a-user-namespace: executable file not found in $PATH' when using buildah (6323d8e)
  • Multiplatform: images report contains correct digests (836fe04)
  • Staged-dockerfile: allow scratch base image (5bf6a27)

New in werf 1.2.217 (Mar 23, 2023)

  • Bug Fixes:
  • Buildah: usage of docker.exactValues affects digest the same way for buildah and docker-server backends (726ef94)

New in werf 1.2.216 (Mar 22, 2023)

  • Bug Fixes:
  • Multiarch: fix panic which occurs when using stapel import from certain stage (431673f)

New in werf 1.2.215 (Mar 22, 2023)

  • Features:
  • multiarch: add support for target platform in container backends
  • Bug Fixes:
  • multiarch: fix 'werf stage image' command panic related to multiarch refactor
  • staged-dockerfile: meaningful message about staged: true available only for buildah backend and not avaiable for docker server backend

New in werf 1.2.214 (Mar 21, 2023)

  • Bug Fixes:
  • fix(deps): update (1578b7c)

New in werf 1.2.212 (Mar 15, 2023)

  • Bug fixes:
  • Downgrade minio (d016fbf)

New in werf 1.2.209 (Mar 15, 2023)

  • Update all dependencies.

New in werf 1.2.209 (Mar 14, 2023)

  • Bug Fixes:
  • multiarch: fix werf converge, kube-run, run and other commands when platform param specified (3e2add1)

New in werf 1.2.207 (Mar 10, 2023)

  • Bug Fixes:
  • update go + go modules (3c7f2d3)
  • update werf builder image (d803468)

New in werf 1.2.206 (Mar 9, 2023)

  • Cleanup: more logging for saved images.

New in werf 1.2.204 (Feb 28, 2023)

  • Bug Fixes:
  • Kube-run: command stderr was redirected to stdin (4d038d4)

New in werf 1.2.202 (Feb 21, 2023)

  • Features:
  • Bundles: enable secrets for bundle publish and apply
  • Bug Fixes:
  • Helm-dependencies: automatically fill ~/.werf/local_cache on 'werf helm dependency update' command
  • Helm-dependencies: enable loading of .helm/charts/CHART-VERSION.tgz charts

New in werf 1.2.201 (Feb 16, 2023)

  • Bug Fixes:
  • dismiss: allow --namespace or --release if git repo present (68f0f14)

New in werf 1.2.200 (Feb 13, 2023)

  • Features:
  • Add --deploy-report-path, --build-report-path (7fa1d81)
  • Dismiss: add two ways to run without git (f2e1d16)
  • Bug Fixes:
  • Build: 'unsupported MediaType' error when using quay base images (27b572d)
  • Build: TOOMANYREQUESTS error occurs for the built images (163961d)
  • Bundles: --helm-compatible-chart and --rename-chart options for 'bundle copy' and 'bundle publish' (3333d03)
  • Compose: redundant image building with compose down command (e94e7c4)
  • Rework build/deploy report options (40a8e81)
  • Staged-dockerfile: fix multiple stages with the same name from multiple Dockerfiles (76f654d)

New in werf 1.2.199 (Jan 31, 2023)

  • Features:
  • added flag to skip helm repo index fetching (39d004a)
  • Bug Fixes:
  • logging: simplify logs, remove excess messages (1d75db1)

New in werf 1.2.198 (Jan 20, 2023)

  • Bug Fixes: staged-dockerfile: correction for ENV and ARG instructions handling (7a17fc7)

New in werf 1.2.197 (Jan 18, 2023)

  • Bug Fixes: dependencies: introduce ImageDigest mode, hide ImageID mode (cc352fd)

New in werf 1.2.196 (Jan 16, 2023)

  • Bug Fixes:
  • Docs: actualize sidebar in usage docs (922d945)

New in werf 1.2.195 (Dec 28, 2022)

  • Bug Fixes:
  • Docs: actualize sidebar in usage docs (922d945)

New in werf 1.2.194 (Dec 27, 2022)

  • Features:
  • docs: new article for build chapter: storage layout (lang:ru) (9afe73c)
  • docs: new article for build chapter: build process (lang:ru) (7c332ee)
  • docs: updated usage/build/stapel section (lang:en+ru) (0c504a4)
  • Bug Fixes:
  • giterminism: false warning about ignoring Dockerfile when using non-root project directory (303a6e4)

New in werf 1.2.192 (Dec 18, 2022)

  • Bug Fixes:
  • Report: fix panic occured when using final-repo and report (e62cd78)
  • Staged-dockerfile: do not store non-target Dockerfile stages in the final-repo (a0d7838)

New in werf 1.2.190 (Nov 18, 2022)

  • Features:
  • staged-dockerfile: support ONBUILD instructions (part 1, preparations) (8a813b5), closes #2215
  • Bug Fixes:
  • build: inconsistent report path when final-repo used (5924702)
  • staged-dockerfile: fix meta args always expands to empty strings (8f6b562)

New in werf 1.2.189 (Nov 15, 2022)

  • Completion: add fish and powershell support.

New in werf 1.2.188 (Nov 8, 2022)

  • Features:
  • staged-dockerfile: support werf images dependencies build-args (8faf229)
  • Bug Fixes:
  • staged-dockerfile: changing FROM base image does not cause rebuilding (a52991a)

New in werf 1.2.186 (Nov 2, 2022)

  • Features:
  • staged-dockerfile: implement first stage of build-args expansion (c0de754)
  • Bug Fixes:
  • buildah: broken build on mac/win (1118613)

New in werf 1.2.184 (Oct 21, 2022)

  • Changelog:
  • Features:
  • Staged-dockerfile: basic support of all dockerfile stages at conveyor level (306ed6c)
  • Staged-dockerfile: implement whether stage uses build-context correctly (2851923)
  • Staged-dockerfile: map dockerfile stages with dependencies to werf internal images (f5f200e)
  • Bug Fixes:
  • Panic when calling SplitFilepath on windows (78c10d2)

New in werf 1.2.183 (Oct 18, 2022)

  • Bundles: fix bundle-render and bundle-apply commands could not access .Values.werf.images service values.

New in werf 1.2.181 (Oct 17, 2022)

  • Features:
  • Added options to disable usage of default values (and secret values) (49425ee)
  • Bundles: publish .helm/files into bundle (68c096f)
  • Staged-dockerfile: add optional image-from-dockerfile reference into Image obj (deb0827)
  • Staged-dockerfile: complete instructions set with all params in the dockerfile parser pkg (06f122b)
  • Staged-dockerfile: Dockerfile and DockerfileStage primitives reworked (78e2911)
  • Staged-dockerfile: implement buidkit frontend instructions to dockerfile instructions conversion (2bc6c30)
  • Staged-dockerfile: initialize dockerfile-images with werf.yaml configration section (186f563), closes #2215
  • Staged-dockerfile: move container backend instructions data into dockerfile parser package (9500967)

New in werf 1.2.180 (Oct 12, 2022)

  • bundles: fix subcharts dependencies not published, and excess files published into the bundle (fd15ddd)
  • helm: keep all revisions since last succeeded release (9224014)

New in werf 1.2.179 (Oct 12, 2022)

  • Bug Fixes:
  • buildah: git add result in broken symlinks (4013833)

New in werf 1.2.178 (Oct 11, 2022)

  • buildah: add low level dockerfile stage builder
  • staged-dockerfile: implement full chain of staged dockerfile building only for single instruction
  • staged-dockerfile: prepare conveyor, stage and dockerfile parser for new impl
  • staged-dockerfile: refactored container backend dockerfile builder
  • staged-dockerfile: refactored conveyor, debug container backend staged dockerfile builder

New in werf 1.2.176 (Oct 1, 2022)

  • Bug Fixes:
  • buildah: import with rename and include paths not working properly (4d35fdb)

New in werf 1.2.175 (Sep 29, 2022)

  • Bug Fixes:
  • Buildah: import with rename and include paths not working properly (4d35fdb)

New in werf 1.2.174 (Sep 16, 2022)

  • Bug Fixes:
  • Helm: empty resource annos/labels result in no service annos/labels (902c5a1)

New in werf 1.2.173 (Sep 15, 2022)

  • Bug Fixes:
  • dismiss: rework uninstall-with-namespace procedure (8657449)
  • helm: don't rely on resource Group for resources equality matching (8e52f59)

New in werf 1.2.172 (Sep 13, 2022)

  • Bug Fixes:
  • Bundles: bundle copy from archive to remote incorrect values (e9a2c53)
  • Deploy: lower releases-history-max default to 5 releases (was 10) (7e2cc3d)
  • Giterminism: --add-custom-tag option is not allowed (8b72dfe)
  • Run: --bash and --shell depend on image entrypoint (c2369f6)
  • Run: a container is not cleaned up after execution by default (c04367c)

New in werf 1.2.171 (Sep 7, 2022)

  • Bug Fixes:
  • Buildah: different processing of CMD/ENTRYPOINT by Stapel and Buildah backend (97e89b0)
  • Cleanup: fallback to batch/v1beta1 when querying CronJobs for cleanup (2f53aa4)
  • Telemetry: repair turn-off telemetry switch (f8559e9)

New in werf 1.2.170 (Sep 7, 2022)

  • Bug Fixes:
  • bundles: deprecate bundle export/download commands in favor of new copy command abilities (d49a81f)
  • bundles: refactor bundle copy implementation (63d13d0)
  • git: try to prevent unshallow error 'shallow file has changed since we read it' (e51546c)

New in werf 1.2.169 (Sep 6, 2022)

  • Bundle: introduce bundle archive format, implement copy command to convert archive to registry and vice versa (345cdf0)

New in werf 1.2.168 (Sep 1, 2022)

  • Bug Fixes:
  • deploy: fix release-history-max param default value help message.

New in werf 1.2.166 (Aug 30, 2022)

  • Bug Fixes:
  • Bundles: fix panic in bundle-download command.

New in werf 1.2.165 (Aug 25, 2022)

  • Bug Fixes:
  • custom-tags: do not store metadata in the --final-repo (1a780c5)
  • helm: use same docker-config as werf uses for helm OCI regsitry related operations (f9bc4f3)

New in werf 1.2.164 (Aug 23, 2022)

  • Features:
  • bundle: support publishing into insecure registries (c88eeb3)
  • converge: do not require to helm-repo-add repositories (c527871)
  • Bug Fixes:
  • cleanup: ignore WERF_KUBE_CONTEXT env var, support option --scan-only-context (68677af)
  • render: do not set empty env in werf render without repo param (2c4bdff)

New in werf 1.2.163 (Aug 19, 2022)

  • Bug Fixes:
  • Buildah: wrong UID/GID/workdir/entrypoint/cmd in stages (32843f2)

New in werf 1.2.162 (Aug 18, 2022)

  • Bug Fixes:
  • stapel: werf ignores non-zero status code (cdd3e0a)

New in werf 1.2.160 (Aug 16, 2022)

  • Bug Fixes:
  • Re-trigger release (2618400)

New in werf 1.2.147 (Aug 8, 2022)

  • Features:
  • Build: add report Image.NAME.Rebuilt field.

New in werf 1.2.146 (Aug 4, 2022)

  • Bug Fixes:
  • build: no imagename in error in image from directive (0974f3a)
  • helm: panic on error when applying resources (c94cef5)

New in werf 1.2.145 (Aug 4, 2022)

  • Features:
  • Telemetry: add attributes related to the usage inside CI-systems (ec02e33)
  • Bug Fixes:
  • Helm: properly initialize all slice structs (07b1e42)

New in werf 1.2.144 (Jul 29, 2022)

  • Bug Fixes:
  • kubedog: generic: ignore jsonpath errs on Condition search (2c2b772)

New in werf 1.2.142 (Jul 28, 2022)

  • Features:
  • Tpl performance improved (bc28f48)

New in werf 1.2.140 (Jul 27, 2022)

  • Features:
  • Render: print build log if failed (8007487)
  • Bug Fixes:
  • Render: live output in verbose/debug mode does not work properly (5032780)

New in werf 1.2.139 (Jul 25, 2022)

  • Features:
  • buildah: auto Buildah Ulimits from current user ulimits (28d4d28)
  • buildah: configurable Ulimit via $WERF_BUILDAH_ULIMIT (734963a)

New in werf 1.2.138 (Jul 22, 2022)

  • Bug Fixes:
  • Helm: CleanupOnFail imrovements (ec749a1)

New in werf 1.2.137 (Jul 21, 2022)

  • Bug Fixes:
  • kubedog: generic tracker: improve logging + few possible fixes (b93b1fe)

New in werf 1.2.136 (Jul 21, 2022)

  • Bug Fixes:
  • Stapel: importing of symlink that points to directory does not work properly (835260f)
  • Test: init werf docker failed on macOS (8306b57)

New in werf 1.2.135 (Jul 21, 2022)

  • Bug Fixes:
  • kubedog: Generic tracker hangs if no list/watch access.

New in werf 1.2.134 (Jul 19, 2022)

  • Bug Fixes:
  • Revert "feat: tpl performance improved" (a8d4b58)

New in werf 1.2.132 (Jul 18, 2022)

  • Features:
  • helm: werf.io/no-activity-timeout annotation (7b84ea0)
  • telemetry: added CommandExited durationMs field (7d7c71a)
  • Bug Fixes:
  • kubedog: increase default NoActivityTimeout to 4min (7a6aa6f)

New in werf 1.2.129 (Jul 18, 2022)

  • custom-tag: add custom tags params for converge and bundle-publish (4cc2802)
  • kubedog: show Ready resources only once (d8281b8)

New in werf 1.2.126 (Jul 13, 2022)

  • Bug Fixes:
  • Bundles: --secret-values option for bundle-render command (f722ec9)

New in werf 1.2.123 (Jul 12, 2022)

  • Features:
  • telemetry: use new telemetry with updated schema and projectID (cf784f7)

New in werf 1.2.122 (Jul 8, 2022)

  • Bug Fixes:
  • Remove LegacyStageImageContainer accidental debug messages (e70d8b6)

New in werf 1.2.121 (Jul 7, 2022)

  • Features:
  • helm: track Helm hooks of any kind (86ba23f)
  • Bug Fixes:
  • kubedog: non-blocking mode didn't work (0cc6882)

New in werf 1.2.120 (Jul 5, 2022)

  • Features:
  • Kubedog: generic resources tracking (93ed2e5)

New in werf 1.2.119 (Jul 1, 2022)

  • Features:
  • Telemetry: experiments with opentelemetry, traces and clickhouse storage (2e404a9)
  • Bug Fixes:
  • Secrets: panic and incorrect behaviour during secrets edit (289400d)

New in werf 1.2.118 (Jun 30, 2022)

  • Features:
  • Telemetry: basic telemetry client and local setup (6dcbd3e)
  • Bug Fixes:
  • Docker-instructions: exactOptionValues option to fix docker-server backend options evaluation (9b3dbf9)
  • External-deps: use Unstructured instead of builtin types (afbb5b4)
  • Git-worktree: ignore existing locked service worktree when re-adding (7775193)
  • Submodules: auto handle "commits not present" patch creation error (91a829b)

New in werf 1.2.117 (Jun 21, 2022)

  • Features:
  • Buildah: $WERF_CONTAINERIZED will override in container detection (5766e6a)
  • Buildah: container runtime autodetection (695ae97)
  • Secrets: preserve comments, order and aliases in the secrets edit commands (5bc6092)
  • Bug Fixes:
  • Buildah: improve whether we are in container detection (532a002)
  • Host-cleanup: do not remove v1.2 local storage images (9702026)
  • Host-cleanup: host cleanup not working in buildah mode (cb51e32)
  • Host-cleanup: run host cleanup without docker-server in buildah mode (f1b1403)

New in werf 1.2.116 (Jun 16, 2022)

  • Features:
  • External-deps: external dependencies for release resources (73e6bcc)
  • External-deps: external dependencies now available for werf helm (c968c08)

New in werf 1.2.115 (Jun 15, 2022)

  • Bug Fixes:
  • Bundles: cleanup --final-repo param usage in bundles (4d77117)
  • Docs: add info about published rock-solid images (9b09593)
  • Final-repo: service values .Values.werf.repo should use --final-repo instead of --repo (e0562f6)
  • Helm: fix werf panic and helm plugins with error codes (a39a1a0)

New in werf 1.2.114 (Jun 10, 2022)

  • Bug Fixes:
  • Custom-tags: support custom tags for --final-repo images (e785c87)
  • Helm: fix 'werf helm *' commands to correctly initialize namespace; fix output (f7faaa7)

New in werf 1.2.112 (Jun 8, 2022)

  • Bug Fixes:
  • export-values: propagate result of export-values to all parent charts Values.

New in werf 1.2.111 (Jun 7, 2022)

  • Features:
  • dismiss: dont fail if no release found (6f79a18)
  • Bug Fixes:
  • dismiss: --with-namespace created empty namespace if release already uninstalled (7c1ab9b)
  • helm: fix werf_secret_file not working in werf helm template command (b2cec4b)
  • helm: plugins positional arguments not passed properly (98f9003)

New in werf 1.2.110 (Jun 3, 2022)

  • Features:
  • Deploy in multiple stages; improve 3way merge (9a8d3ee)

New in werf 1.2.108 (Jun 2, 2022)

  • Features:
  • buildah: update buildah to v1.26.1 (bf1f2d0)
  • Bug Fixes:
  • buildah: buildah Dockerfile builder was not using layers cache (8d9326d)
  • dockerfile: support RUN with --mount from another stage (ebd544a)
  • helm: fix 'error preparing chart dependencies... file exists' (3f32bf0)

New in werf 1.2.107 (May 27, 2022)

  • Bug Fixes:
  • Cache-repo: panic when using cache repo and fromImage directive (3ceb622)
  • Cache-repo: panic when using cache-repo and building images existing in cache (1c97593)

New in werf 1.2.106 (May 25, 2022)

  • Features:
  • bundles: --secret-values option for werf-bundle-apply command (2daea2b)
  • cleanup: optimize cleanup deployed resources images scanning regarding Jobs (b7edaa3)
  • docs: New article about resources adoption (5ab8f26)
  • Bug Fixes:
  • cleanup: fix cleanup not using in-cluster kube config when using in-cluster mode (967a6aa)
  • render: support for --kube-context param when --validate option used (91869a8)

New in werf 1.2.105 (May 23, 2022)

  • Post-renderer: fix null value validation panic in annotations and labels.

New in werf 1.2.103 (May 19, 2022)

  • Bug Fixes:
  • git: fix error "unable to clone repo: reference delta not found"
  • helm: prevent bug with pre-upgrade helm hooks, which was used from the previous release revision
  • post-renderer: non-strict labels and annotations validation in werf's post-renderer

New in werf 1.2.101 (May 16, 2022)

  • Features:
  • Stapel-to-buildah: allow buildah to build stapel images with shell builder (27a1d49)
  • Bug Fixes:
  • Panic when --cache-repo used (ec2ed93)
  • Panic when --secondary-repo or --cache-repo used (c59f1f9)
  • Stapel-to-buildah: fix cleanup parent-id issue for images built with buildah (56e90e2)

New in werf 1.2.100 (May 13, 2022)

  • Bug Fixes:
  • Imports: recursive copying issues (9351c25)
  • Switch to actions/checkout@v3 (ba3ac8e)

New in werf 1.2.99 (May 11, 2022)

  • Bug Fixes:
  • Helm-for-werf: detailed error message for "current release manifest contains removed kubernetes api(s) ..." error (8e8e5df)
  • Stapel-to-buildah: added missing ssh-auth-sock and commit related envs, labels and volumes (3835e62)

New in werf 1.2.97 (May 6, 2022)

  • Bug Fixes:
  • Helm: fix export-values in subcharts case, improve broken 3wm case handling (bf04268)

New in werf 1.2.96 (May 6, 2022)

  • Features:
  • Update helm v3.8.1 to v3.8.2
  • Bug Fixes:
  • helm: solved broken 3 way merge case when pre-upgrade hook fails

New in werf 1.2.95 (May 5, 2022)

  • Bug Fixes:
  • anchors support for extra annotations and labels post-renderer (b8211a9)

New in werf 1.2.94 (Apr 28, 2022)

  • Bug Fixes:
  • Broken export-values (ec1c0e4)

New in werf 1.2.93 (Apr 28, 2022)

  • Bundle: implement 'bundle copy' command (16dbd2e)
  • Cleanup: add cleanup.keepBuiltWithinLastNHours directive in werf.yaml (aabfcea)
  • Cleanup: disable cleanup policies in werf.yaml (c293f3d)

New in werf 1.2.91 (Apr 23, 2022)

  • Bug Fixes:
  • buildah_backend: bump copyrec, fix broken windows build
  • git worktree switch invalidation loop

New in werf 1.2.89 (Apr 20, 2022)

  • Bug Fixes:
  • deploy: remove server-dry-run helm extension to prevent possible bug (f77a8c0)

New in werf 1.2.88 (Apr 15, 2022)

  • Features:
  • custom-tags: add %image_content_based_tag% shortcut (efd1072)
  • export: add %image_content_based_tag% shortcut (7122ee9)
  • stapel-to-buildah: git archive stage implementation (328b033)
  • stapel-to-buildah: implemented dependencies checksum using buildah container backend (9596f6d)
  • stapel-to-buildah: support git patches related stages (79f71c1)
  • Bug Fixes:
  • kube-run: didn't work in Native Buildah mode (db1fec6)
  • tests: fix ansible suite, change deprecated base image (bdb6c9c)

New in werf 1.2.87 (Apr 9, 2022)

  • Bug Fixes:
  • slugification: release name can contain dots (766610b)

New in werf 1.2.86 (Apr 8, 2022)

  • Bug Fixes:
  • server-dry-run: possible fix for 'unable to recognize ...: no matches for kind ... in version ...'

New in werf 1.2.85 (Apr 8, 2022)

  • Features:
  • Stapel-to-buildah: basic implementation of dependencies* stages (9ead236)
  • Bug Fixes:
  • Buildah: use crun instead of runc (fbae777)
  • Server-dry-run: possible fix for 'unable to recognize ...: no matches for kind ... in version ...' (5b13270)

New in werf 1.2.83 (Apr 4, 2022)

  • Bug Fixes:
  • Cleanup: manage custom tags that do not have associated existent stages (ef6efc3)
  • Ignoring broken config in container registry (50ed5c7)

New in werf 1.2.81 (Apr 1, 2022)

  • Features:
  • stapel-to-buildah: support user stages and mounts (da55b2a)
  • Bug Fixes:
  • cleanup: fail on getting manifests for some custom tag metadata (90a3767)
  • stapel-to-buildah: working build of 'from' stage (91527db)

New in werf 1.2.80 (Mar 30, 2022)

  • Features:
  • kube-run: add --kube-config-base64 (a32cd4f)
  • kubectl: add --tmp-dir, --home-dir, --kubeconfig-base64 (cddc6b6)
  • stapel-to-buildah: implement 'from' stage (7cc7d71)
  • Bug Fixes:
  • kube-run: broken --docker-config (60b74b8)

New in werf 1.2.79 (Mar 23, 2022)

  • Features:
  • kube-run: --auto-pull-secret provides private registry access for pod
  • kube-run: add --kube-config, fix --kube-context opts
  • kubectl: respect a few global $WERF_* env vars
  • Bug Fixes:
  • cleanup: fail when no kubernetes configs available and no --without-kube option specified
  • docs: update cli reference
  • docs: update cli reference
  • docs: update cli reference
  • kube-run: temporarily disable --kube-config* opts
  • server-dry-run: fix "admission webhook ... does not support dry-run"

New in werf 1.2.78 (Mar 22, 2022)

  • Features:
  • kubectl exposed via werf kubectl
  • new command werf kube-run
  • Bug Fixes:
  • "unable to get docker system info" error when container runtime not used
  • build: do not store images into final repo when --skip-build is set
  • context extraction error
  • deploy: fix --set-file giving []uint{} array intead of string
  • temporarily disable broken server-dry-run

New in werf 1.2.77 (Mar 17, 2022)

  • Features:
  • Build: speeding up with runtime caching for meta images (7ea0a4c)
  • Build: speeding up with runtime caching for stages (a13a7b0)
  • Cleanup/purge: speeding up with runtime caching for stages (cbb31b2)
  • Bug Fixes:
  • Purge: fix final repo stages deletion (11ed6f7)

New in werf 1.2.76 (Mar 15, 2022)

  • Bug Fixes:
  • Default ~/.ssh/id_rsa key not loaded (2c186fe)

New in werf 1.2.75 (Mar 14, 2022)

  • Features:
  • Ssh-key: support passphrases for --ssh-key options (9ed3c96)
  • Bug Fixes:
  • Broken --ssh-key option (c389259)
  • Server dry-run validation breaks helm 2 to 3 transition (0450171)

New in werf 1.2.74 (Mar 10, 2022)

  • Deploy: fix server side validation false positive failure case (b64b8bb)

New in werf 1.2.73 (Mar 4, 2022)

  • Features:
  • Deploy: support server side validation in converge/dismiss commands (6df39c9)
  • Update to helm v3.8.0 (6fff511)

New in werf 1.2.71 (Feb 24, 2022)

  • Features:
  • Cleanup: optimization of cleaning images which are used when importing
  • Bug Fixes:
  • Add werf-cleanup command warning when no kube configs available
  • WERF_KUBE_CONFIG and WERF_KUBECONFIG environment variables not working

New in werf 1.2.70 (Feb 21, 2022)

  • Bug Fixes:
  • Helm: don't add annotations and labels to *List Kinds (4f2d029)
  • Panic when auto host cleanup runs in some werf commands (a7064ff)

New in werf 1.2.69 (Feb 18, 2022)

  • Bug Fixes:
  • possible error during worktree switch procedure due to lost error handling (82b1770)

New in werf 1.2.67 (Feb 15, 2022)

  • Features:
  • Bundle: new command "werf bundle render" (ad0181e)
  • Bug Fixes:
  • Unable to switch worktree in gitlab (fe6c2d4)

New in werf 1.2.66 (Feb 15, 2022)

  • Features:
  • Config: dependency graph for werf.yaml images.
  • Bug Fixes:
  • Cleanup: odd warning message with a nonexistent tag.

New in werf 1.2.65 (Feb 8, 2022)

  • Bug Fixes:
  • Dev-mode: dev branch breaking on complex merge conflicts (a628ce6)

New in werf 1.2.64 (Feb 7, 2022)

  • buildah: update buildah subsystem to v1.24.1 (f0f3816)
  • dev-mode: less rebuilds due to better cache handling (34df9d2)

New in werf 1.2.63 (Feb 4, 2022)

  • Bundles: remove incompatibility with helm 3 (ba1e5b4)

New in werf 1.2.60 (Feb 1, 2022)

  • Features:
  • config: dependencies directive parser (3eb94e4)
  • images-dependencies: implement images dependencies for dockerfile builder (f8b0204)
  • images-dependencies: stapel deps configuration for dependencies stage (30f06fb)
  • images-imports: dependencies directive parser (0fc45d5)
  • images-imports: respect dependencies during build (4adb6a3)
  • Bug Fixes:
  • dockerfile: validate base image resolved to non-empty image (e6f90c1)
  • images-dependencies: forbid after/before for dockerfile deps (38df0c7)
  • images-imports: added import type=ImageID into validation (b58eb07)

New in werf 1.2.58 (Jan 24, 2022)

  • build: commit info in build container (f1e3372)
  • gc: run host garbage collection in background (29a1ea5)
  • werf.yaml: support [[ namespace ]] param in the helm-release template (82d54e9)

New in werf 1.2.57 (Jan 21, 2022)

  • Bug Fixes:
  • build: virtual merge commits and inconsistent build cache (7372992)
  • git: fast, ad-hoc fix, return exec.ExitError from gitCmd.Run() (d737d8b)
  • git: git warnings sometimes break werf (0a50961)

New in werf 1.2.56 (Jan 19, 2022)

  • Features:
  • build: expose commit info in werf templates (4c2b33a)
  • Bug Fixes:
  • dependencies: update deps, incompatible image-spec (4518b58)

New in werf 1.2.55 (Dec 29, 2021)

  • Features:
  • Added login and logout cli commands for container registry (0b7e147)
  • Docs:
  • Buildah articles & run in container (#4043). Correcting & translating Buildah and Run in Kubernetes articles to russian

New in werf 1.2.54 (Dec 25, 2021)

  • Bug Fixes:
  • parse git versions without patch or minor version (17a20be)
  • warning in git version break werf (266bad0)

New in werf 1.2.52 (Dec 16, 2021)

  • Features:
  • multiwerf: print multiwerf deprecation warning if multiwerf outdated (12d0f55)
  • Bug Fixes:
  • harbor: detect usage of harbor without --repo-container-registry=harbor option (a3843f9)

New in werf 1.2.51 (Dec 10, 2021)

  • Bug Fixes:
  • Buildah: do not use ignore_chown_errors option for overlay storage driver (299a33e)

New in werf 1.2.49 (Dec 9, 2021)

  • Bug Fixes:
  • Buildah: pass default registries.conf to native buildah (ca2995a)

New in werf 1.2.47 (Dec 5, 2021)

  • Docs:
  • New docs for running werf in container (experimental)
  • Bug Fixes:
  • cleanup: ignore harbor "unsupported 404 status code" errors (adf60a0)

New in werf 1.2.45 (Dec 1, 2021)

  • Features:
  • buildah: publish initial werf image with compiled werf binary and buildah environment (20dde28)
  • buildah: working native-rootless buildah mode inside docker container (ed4fa0a)
  • Bug Fixes:
  • panic when docker image inspect has failed with unexpected error (6011721)

New in werf 1.2.18+fix5 Beta (Sep 17, 2021)

  • Fixes:
  • fix(dev): special characters in filename not handled properly
  • fix(dev): fail on retry of a command with a deleted file
  • tests: fix failed suites

New in werf 1.2.17+fix1 Alpha (Sep 9, 2021)

  • Fixes:
  • fix(dev): creating service commits in large projects is too slow
  • do nothing if there are no changes
  • avoid the time-consuming execution of the "Updating files" and "Refresh index" phases of git

New in werf 1.2.16 Alpha (Sep 3, 2021)

  • Implemented --final-repo option:
  • Final repo is a repo to store only final images being deployed into Kubernetes (no artifacts)
  • The main use case is to have final repo near your Kubernetes cluster to allow faster downloads of application images.
  • Cleanup final repo together with primary repo (--repo) using werf cleanup --repo X --final-repo Y command.
  • New documentation article about werf storage types:
  • Documented --repo, --final-repo, --cache-repo and --secondary-repo options and use cases.
  • Currently only available in russian

New in werf 1.2.15 Alpha (Aug 27, 2021)

  • Fixes:
  • feat(cleanup): do not delete used initContainer images
  • fix(cleanup): nested git tag cannot be processed

New in werf 1.1.23+fix48 Stable (Aug 27, 2021)

  • Fixes:
  • feat(cleanup): do not delete used initContainer images
  • fix(cleanup): nested git tag cannot be processed

New in werf 1.2.13+fix12 Early Access (Aug 25, 2021)

  • Correction release for trdl package manager.

New in werf 1.2.13+fix6 Stable (Aug 16, 2021)

  • Complete ghcr.io support related improvements:
  • feat(container_registry): cache package versions to prevent token blocking and rate limitation (ghcr.io)
  • feat(container_registry): handle rate limit error for all GitHub API requests

New in werf 1.2.12+fix2 (Jul 23, 2021)

  • Fixes:
  • fix: panic in ci-env, dismiss, managed-images and stage-image cmds
  • Fixed uninitialized --platform param setup code.

New in werf 1.2.12 (Jul 23, 2021)

  • Support registry mirrors:
  • feat(docker_registry): generic api with registry mirrors support
  • feat(docker_registry): init docker registry after docker for getting daemon info
  • Support arm64 builds
  • Added darwin and linux arm64 werf builds.
  • Support for platform=linux/amd64 emulation
  • Werf only supports building linux/amd64 images at the moment.
  • When running werf on arm64 platform werf requrires explicit param --platform=linux/arm64 (or WERF_PLATFORM, or DOCKER_DEFAULT_PLATFORM env. variable).
  • With this param werf would use buildkit to build Dockerfile-based images and also build stapel-based images using regular docker-run & docker-commit mechanics.
  • Fixes:
  • fix(cleanup): host cleanup removes base images pulled by full name (REPO:TAG@DIGEST)
  • remove images that do not have any tags and digests instead of dangling
  • fix(compose): fix host cleanup gc panics in werf compose command
  • Added forgotten cli-options related to host cleanup procedure.
  • Internals:
  • test(docker_registry): refactor
  • refactor(docker_registry): parse reference parts

New in werf 1.2.11+fix16 Alpha (Jul 22, 2021)

  • Support registry mirrors
  • feat(docker_registry): generic api with registry mirrors support
  • feat(docker_registry): init docker registry after docker for getting daemon info
  • Support arm64 builds
  • Added darwin and linux arm64 werf builds.
  • Support for platform=linux/amd64 emulation
  • Werf only supports building linux/amd64 images at the moment.
  • When running werf on arm64 platform werf requrires explicit param --platform=linux/arm64 (or WERF_PLATFORM, or DOCKER_DEFAULT_PLATFORM env. variable).
  • With this param werf would use buildkit to build Dockerfile-based images and also build stapel-based images using regular docker-run & docker-commit mechanics.
  • Other:
  • Update Helm 3 from v3.6.0 to v3.6.3.
  • Fixes:
  • fix(cleanup): host cleanup removes base images pulled by full name (REPO:TAG@DIGEST)
  • remove images that do not have any tags and digests instead of dangling
  • fix(compose): fix host cleanup gc panics in werf compose command
  • Added forgotten cli-options related to host cleanup procedure.
  • Internals:
  • test(docker_registry): refactor
  • refactor(docker_registry): parse reference parts

New in werf 1.2.11+fix16 Alpha (Jul 20, 2021)

  • Fixes:
  • fix(render): insert stub images names when rendering a project without --repo param, remove debug printf
  • docs: fix config version documentation descriptions
  • fix(build): fix error "lstree result is empty when writing tar archive"
  • Internals:
  • cleanup(build): unused ArchiveDescriptor
  • infra(release_publisher): upload built binaries to S3

New in werf 1.2.11+fix13 Alpha (Jul 2, 2021)

  • Fixes:
  • fix(kubedog): add support for ErrImageNeverPull;
  • fix(host cleanup GC): enable auto cleanup in werf-compose commands;
  • fix(host cleanup GC): Do not print wrongly estimated size of images before delete performed;
  • fix(build): print store stage message when pushing a stage into repo;
  • fix(werf.yaml): fix default path to .helm;
  • should be relative to werf.yaml location so that custom werf.yaml location also specifies custom .helm path automatically.
  • Internals:
  • fix(helm): remove usage of ghodss yaml, use sigs.k8s.io/yaml instead;
  • only for helm-related part, do not change legacy ansible pkg which uses ghodss.

New in werf 1.2.11+fix11 Alpha (Jun 25, 2021)

  • Change behaviour of .Release.IsInstall:
  • Changed .Release.IsInstall logic for a release which has not been installed successfully yet: .Release.IsInstall will be true until we successfully installed release.
  • Docs:
  • [docs] UI tweaks
  • Fixed error messages:
  • [git_mapping] Verbose error when archive creation failed
  • [helm] Add more info about resource kind when patching of resource has failed
  • Update warn message when a stage dependency not found in git
  • Replace relative dependency path with absolute one in git repo.
  • Previously, the message used a relative path (stageDependencies value) and the warning was less informative.
  • Other fixes:
  • [process_exterminator] Fix WERF_ENABLE_PROCESS_EXTERMINATOR=0|false

New in werf 1.2.11+fix9 Alpha (Jun 7, 2021)

  • Fixes:
  • Fix werf automatical namespace creation RBAC issue
  • Werf internally uses --create-namespace flag of helm, which is broken.
  • Fixed in the werf/helm fork for now: werf/helm#96.
  • Created PR into upstream helm: helm/helm#9775.
  • Site and docs:
  • [site] Landing page refinements
  • [docs] Fix installation guide typo

New in werf 1.2.11+fix8 Alpha (Jun 7, 2021)

  • Docs: minor tweaks for Giterminism section of landing page
  • [web] Fix broken links on the main page and update CLI pages (#3567)

New in werf 1.2.11+fix7 Alpha (May 31, 2021)

  • [docs] Fix quickstart minikube start command
  • [site][landing] Reword GitOps section
  • Use Giterminism instead of GitOps in title.
  • Add usage workflows supported by the werf (converge and bundles).
  • Add note about the way werf used (manually, CI/CD, etc.).

New in werf 1.2.11+fix3 Alpha (May 25, 2021)

  • [debug] Catch deployment tracker exited without resource status resolution bug
  • Crash werf with panic and debug info in such case.

New in werf 1.2.11+fix2 Alpha (May 24, 2021)

  • Fixes:
  • [web] Fix details style, update dependencies (#3547).
  • [ci] Release: fix windows binary download link.
  • fix git[].add broken slashes on windows.
  • Tests:
  • [tests] add tests for git[].add file renames
  • Internals:
  • [ci] Added basic trdl.yaml to build releases using github.com/werf/vault-plugin-secrets-trdl tool

New in werf 1.2.11+fix1 Alpha (May 20, 2021)

  • Docs:
  • [publication] Add recent publications
  • [docs] Advanced/Supported container registries: add Yandex Container Registry
  • Fixes:
  • Fix werf does not load secret values files outside of helm chart dir

New in werf 1.2.10+fix26 Alpha (May 6, 2021)

  • Features:
  • [dockerfile] Add dockerignore override support
  • First, check for <DOCKERFILE_DIR>/<DOCKERFILE_BASENAME>.dockerignore, and if it is found it will be used instead of the .dockerignore from the context root.
  • [logging] Improve live output of parallel tasks
  • Output the log of parallel tasks sequentially, after completing a task redirect the output of the next one to stdout.
  • Documentation:
  • [readme] Fix documentation links
  • [docs] Advanced/Cleanup: fix cron job for host cleaning
  • [docs] Advanced/ CI/CD / GitLab: change api call to CI variable
  • [docs] refactoring to use .base_werf in ci
  • [docs] Fix links to binaries on the Installation page

New in werf 1.2.10+fix24 Alpha (Apr 15, 2021)

  • Performance fix:
  • [helm2to3] Fix maintenance helper release exists checking procedure performance
  • Use history command instead of listing of all releases
  • Docs:
  • [docs] Reference/werf.yaml template engine: up function syntax examples
  • [docs] Sidebar: rename Bundles
  • [docs] typofix
  • [docs] Advanced/Helm/Overview: delete irrelevant text
  • Update logging library:
  • [go.mod] github.com/werf/logboek v0.5.4
  • [fitter] Fix unpredictable behavior when using a logger by several processes
  • Fix streams mute mode
  • Internals:
  • [ci] Fix release message template
  • [ci] Enable release publisher into bintray to support older multiwerf clients
  • [ci] Add build release scripts

New in werf 1.2.10+fix23 Alpha (Apr 12, 2021)

  • Docs:
  • [docs] cleanup.md - translate and sync to RU version.
  • [docs] Advanced/Cleanup: update intro.
  • [docs] Reference/werf.yaml: fix broken link.
  • [docs] Reference/werf.yaml template engine: fix typo.
  • [docs] Fix helm configuration templates page (#3463)
  • [docs] Fix markup errors in advanced/helm/configuration/templates.html
  • Fixes:
  • [helm] Force helm kube client namespace initialization.
  • [cleanup] Ignore blob-unknown errors properly.
  • During cleanup operation do not raise should-reset-stages-storage-cache error when get stage manifest operation have failed with blob-unknown error.
  • [run] Fix nonexistent option in the error.
  • [follow] Fix werf run: changes cause reassembly but are not accounted for.
  • [logging] Build: add waiting for background tasks log message.

New in werf 1.1.23+fix36 Stable (Apr 11, 2021)

  • Docs:
  • [docs] cleanup.md - translate and sync to RU version.
  • [docs] Advanced/Cleanup: update intro.
  • [docs] Reference/werf.yaml: fix broken link.
  • [docs] Reference/werf.yaml template engine: fix typo.
  • [docs] Fix helm configuration templates page (#3463)
  • [docs] Fix markup errors in advanced/helm/configuration/templates.html
  • Fixes:
  • [helm] Force helm kube client namespace initialization.
  • [cleanup] Ignore blob-unknown errors properly.
  • During cleanup operation do not raise should-reset-stages-storage-cache error when get stage manifest operation have failed with blob-unknown error.
  • [run] Fix nonexistent option in the error.
  • [follow] Fix werf run: changes cause reassembly but are not accounted for.
  • [logging] Build: add waiting for background tasks log message.

New in werf 1.2.10+fix22 Alpha (Apr 4, 2021)

  • Docs:
  • [docs, ru] Advanced/Cleanup: actualize
  • [docs] Internal/Stages and storage: actualize
  • [docs] What's new in v1.2/Changelog: cleaning commands
  • [docs] Internal/Build process: fix typo
  • [docs] Fix broken quickstart macos instructions
  • [docs] Fix v1.1 to v1.2 instruction: wrong images report usage
  • [docs] Fix v1.1 to v1.2 instruction: more correct report usage: pull images before usage
  • [docs] advanced/cleanup: added info about werf host cleanup GC
  • Only in russian.
  • Also added a helper table with all cleanup commands.
  • [docs] Fixed some grammar in v1.1 to v1.2 migration guide (RU)
  • [docs] Fix bundles translation to RU
  • Fixes:
  • [dockerfile] Automatically reset the Dockerfile exception by .dockerignore
  • File rules
  • There is no way to ignore the Dockerfile due to docker limitation when building an image for a compressed context that reads fro
  • M STDIN.
  • Add an exception and warning message.
  • [GC] Fix werf-host-cleanup default percentage and margin values (always use 70% and 5% margin).
  • [helm] Werf-helm fixes
  • Fix panic on werf-helm-dep-update when secret-values are used (fixes #3443).
  • Set .Values.werf.env="" stub werf service value in werf-helm-* commands.
  • Internals:
  • [web] Add view page source button (#3428)
  • [web] Add page source button
  • [ci] Switch to GHCR (#3441).
  • Fix README werf logo path.

New in werf 1.2.10+fix21 Alpha (Apr 1, 2021)

  • Helm update:
  • Builtin helm updated to v3.5.3.
  • Fixes:
  • [helm] Add support for oci registries in Chart.yaml: fix panic; updated helm:
  • Panic was due to uninitialized helm registry client.
  • Fixes #3415

New in werf 1.2.10+fix20 Alpha (Mar 29, 2021)

  • Add an ability to specify directories along with files in contextAddFile(s) directive.
  • Directories will be added recursively to the current Docker context.
  • Rename contextAddFile to contextAddFiles throughout the code and in werf.yaml, but
  • keep contextAddFile supported as an alias for contextAddFiles for backwards compatibility.

New in werf 1.2.10+fix19 Alpha (Mar 25, 2021)

  • Docs fixes
  • [web] Fix 404 page (#3410)
  • [web] Change 404 logic (#3397)
  • [docs] Replace Werf with werf
  • [docs] Fix style, grammar, and typos

New in werf 1.2.10+fix17 Alpha (Mar 24, 2021)

  • [helm] Added werf-helm-registry command

New in werf 1.2.10+fix15 Alpha (Mar 23, 2021)

  • [GC] Git-data repos, worktrees, archives and patches GC based on LRU algorithm:
  • Remove v1.1 git-data if werf v1.1 was not started for 3 days on this build-host.
  • Remove *.tmp data from git_repos, which are git-clone temporary dirs accidentally left existing.
  • Moved gc and git-data-manager related code into the separate package gitdata inside git_repo package (refactor).
  • Fixed new bug introduced by the v1.2.10+fix14 version

New in werf 1.2.10 Alpha (Mar 23, 2021)

  • [GC] Basic garbage collection for build host images and containers:
  • Experimental feature: automatical host cleaning GC procedure will be activated only when WERF_ENABLE_HOST_STORAGE_GC=1 is set.
  • Werf may perform GC procedure in main commands (werf-build, werf-converge, etc.).
  • To manually call GC procedure use werf host cleanup command.
  • Algorithm and options:
  • Werf will try to maintain 80% disk usage by default and perform deletion of old images build by werf (and containers, and dangligh images as well). User may specify different threshold percentage with --allowed-volume-usage=N (WERF_ALLOWED_VOLUME_USAGE) option.
  • Werf tries to detect docker storage volume to check volume usage. User may specify --docker-server-storage-path (WERF_DOCKER_SERVER_STORAGE_PATH) option manually to specify volume where docker storage directory reside.
  • Fixes:
  • [dockerfile] Skip files ignored by .dockerignore file creating a context archive
  • [bundle] Fix werf-bundle-apply command does not use --env param
  • [compose] Fetch last stages of built images before running compose
  • [dockerfile] Fix .dockerignore does not affect on stage digest when using a custom project directory
  • Docs:
  • [web] Fix some redirects (#3347)
  • [docs] Update the version of werf actions
  • werf/actions/deploy@master -> werf/actions/[email protected]
  • [docs] Tune sitemaps (#3337, #3336)
  • [docs] Renaming the translation of the term "bundle"
  • Internals:
  • [git_repo] Use PatchMatcher instead of FilterOptions
  • [path_matcher] Update multiPathMatcher string format
  • [ci] Delete namespace on review dismiss (#3333)

New in werf 1.2.9+fix9 Alpha (Mar 15, 2021)

  • Docs:
  • Advanced/Supported container registries
  • Advanced/Bundles: update supported container registries section
  • Using the term container registry instead of docker registry implementation
  • rename Advanced/Supported registry implementations to Advanced/Supported container registries
  • /documentation/advanced/supported_registry_implementations.html -> /documentation/advanced/supported_container_registries.html
  • correct all occurrences
  • Fix russian bundles doc
  • Exclude 404 pages from sitemaps (#3330)
  • Internals:
  • More convenient job names (#3332)

New in werf 1.2.9+fix8 Alpha (Mar 9, 2021)

  • Fixes:
  • [helm] Enable secret-values in 'werf helm *' commands, fix lint command
  • Refactored pkg/deploy/helm/chart_extender.
  • Separation of chart-extenders itself and helpers.
  • Common code for secret loader.
  • Refactored secrets-manager: accept working dir param only when reading secret-key.
  • Fixed 'werf helm lint' command (disabled linting of an optional .helm/Chart.yaml file).
  • Refs werf/helm#89
  • [helm] Fix additional --secret-values param files should redefine previously defined secret-values
  • Internals:
  • [ci] Don't deploy backend to the test env (#3327)

New in werf 1.2.9+fix7 Alpha (Mar 9, 2021)

  • Fixes:
  • [bundles] Fix bundle-publish ignores .helm/values.yaml and uses .helm/secret-values.yaml

New in werf 1.2.9+fix5 (Mar 5, 2021)

  • Giterminism:
  • [giterminism] Separate processing for untracked and uncommitted files
  • Docs:
  • [docs] What's new in v1.2: describe mounts rejection cases
  • [docs] Advanced/bundles: added supported registry implementations
  • Other:
  • Kubedog update: disable events informer with KUBEDOG_DISABLE_EVENTS=1

New in werf 1.2.9 (Mar 4, 2021)

  • Support for modified/tracked files for the dev mode:
  • Introduced --dev-mode simple|strict option.
  • --dev-mode simple — default mode when --dev option has been specified, to use strict mode specify --dev-mode strict.
  • In simple dev mode werf will use only files which are staged for commit (files which has been added with the git add command) and also modified files changes, which has not been staged for commit.
  • In strict mode werf will use only files which are staged for commit (files which has been added with the git add command).
  • Fix glob DIR/** not working in stage-dependencies:
  • [path_matcher] Fix Simple/GitMappingPathMatcher.IsMatched method logic
  • Several sets of globes are used when comparing paths:
  • The globes as they are.
  • The globes without asterisks on the right (path//dir/**/, path//dir/**, path//dir///** -> path/*/dir).
  • The globes from the previous set with the universal part **/* (path//dir/**/).

New in werf 1.2.8+fix6 (Mar 3, 2021)

  • Docs:
  • [docs] Translate to russian and refine advanced/helm chapter
  • https://ru.werf.io/v1.2-alpha/documentation/advanced/helm/overview.html (ссылка начнёт работать в ближайшее время)
  • [docs] Introduction: add a reference to giterminism
  • [docs] Advanced/Giterminism: add dev mode note
  • [docs] Internals/Build Process
  • More details about dockerfile image
  • Parallel builds
  • [docs] Internals/Stages and storage: sync
  • [docs] Reference/werf.yaml template engine: the .Env variable
  • [docs] Advanced/Giterminism: small improvement
  • [docs] Reference/werf.yaml template engine: the template directory
  • [docs] Reference/werf.yaml template engine: update the tpl function
  • Fix stageDependencies dir/** does to work
  • [path_matcher] Update Simple/GitMappingPathMatcher.IsMatched method logic
  • Several sets of globes are used when comparing paths:
  • The universal part */ is added to all globes (as before).
  • From all globes all asterisks to the right are cut off.
  • Internals:
  • [ci] Daily Tests: fix "Prepare coverage file" step
  • [ci] Daily Tests: disable self-hosted runners
  • [ci] Fix directory integration/ci_suites/default/docs/_fixtures/cli/docs/backend is outside main module

New in werf 1.2.8+fix5 (Mar 1, 2021)

  • Docs:
  • [docs] "What's new in v1.2 / How to migrate from v1.1 to v1.2" guide
  • [docs] Advanced/Stapel/Mount: add giterminism note
  • [docs] Reference/werf.yaml: contextAddFile
  • [docs] Reference: rearrange menu items
  • Internal fixes:
  • Fixes for new CI and new site infra.
  • [web] Fix topnav
  • [web] Fix RSS feeds and installation page
  • [ci] Fix web converge
  • [web] Fix version menu

New in werf 1.2.8+fix2 Early Access (Feb 27, 2021)

  • New site infra:
  • Fully reworked site internals:
  • Backend deployment component, which handles logic of landing page and other site parts common for all versions.
  • Deployments for each version to handle versioned documentation part of the site.

New in werf 1.2.7+fix7 Early Access (Feb 26, 2021)

  • Added new animation for intro scheme[ Better release channel switcher
  • "What's new in v1.2" documentation chapter (part 1/2)

New in werf 1.2.7+fix6 Early Access (Feb 25, 2021)

  • [docs] Fix version menu

New in werf 1.2.7+fix4 (Feb 21, 2021)

  • English version of advanced/helm chapter.
  • Refinements for advanced/helm and new reference/helm chapter.
  • Russian version of advanced/helm and reference/helm.

New in werf 1.2.7+fix2 (Feb 19, 2021)

  • Automigration helm 2 to 3 fixes:
  • [helm 2 to 3] Fix: ignore resources from helm 2 release which do not exist in Kubernetes
  • Changed order of migration steps: first set annotations and labels, then create helm 3 release.

New in werf 1.2.7 (Feb 19, 2021)

  • New giterminism documentation:
  • [docs] Overview: giterminism
  • [docs] Advanced/Configuration/Template engine: move to reference
  • [giterminism] Update error messages
  • [docs] Advanced/Giterminism
  • [docs] Reference/werf-giterminism.yaml
  • [docs] Advanced/Configuration/Template engine
  • [docs] Reference/werf.yaml: refactor and update
  • change the structure of werf yaml data file:
  • add get_lang_field_or_raise_error filter to work effectively with new data structure
  • update directives descriptions
  • [ci] Fix Documentation Validation
  • [docs] Fix table line counter does not work properly

New in werf 1.2.6+fix6 (Feb 18, 2021)

  • Added support for --kube-config-base64:
  • Ability to pass kube config in base64 encoded form using cli --kube-config-base64 or $WERF_KUBE_CONFIG_BASE64, or $WERF_KUBECONFIG_BASE64 or $KUBE_CONFIG_BASE64 or $KUBECONFIG_BASE64.

New in werf 1.2.6+fix5 (Feb 16, 2021)

  • Docs
  • [docs]Advanced/Configuration: shell examples take precedence over ansible
  • Fixes and other
  • [ci_env] Ignore the non-existent --tagging-strategy option
  • Ignore only if the old form of the command call is used: source <(werf ci-env gitlab --tagging-strategy=...)
  • [ci_env] Fix unable to create tmp docker config based on the user's one
  • Error:
  • Unable to create tmp docker config: unable to copy /home/user/.docker to /tmp/werf-docker-config-780142139: open /home/user/.docker/run/docker-cli-api.sock: no such device or address
  • [bundles] Do not render published chart in werf-publish and bundle-export commands
  • Render cmd was used only to initiate loading of chart configuration.
  • Eliminated render cmd, use loader directly instead.
  • [render] Add --validate and include-crds opts for werf-render cmd

New in werf 1.1.23+fix18 (Feb 16, 2021)

  • Disable resources waiter debug env WERF_DISABLE_RESOURCES_WAITER=1

New in werf 1.2.6+fix4 (Feb 15, 2021)

  • Automigration to helm 3 in werf converge command
  • When werf-converge command detects existing helm 2 release with the same name it will try to render current release using helm 3 with full validation,
  • Then if render has been succeeded werf will migrate helm 2 release to a newly created helm 3 release. Old helm 2 release will be removed.
  • CAUTION!
  • This operation cannot be undone.
  • Once werf v1.2 has converted your project to helm 3, it cannot be deployed by werf v1.1 anymore. Werf v1.1 will refuse to deploy your project once helm 3 release has been created.
  • [config] Add fromYaml function
  • Available in the werf.yaml and .werf/**/*.tmpl configs.
  • FromYAML(str string) (map[string]interface{}, error)
  • Return error if unmarshalling failed
  • Internals and fixes:
  • [git_repo, status] Fix no error handling.
  • [git_repo, status] Fix the use of service work tree when the repository contains submodules
  • Status should always be taken for the user's work tree

New in werf 1.2.6+fix3 (Feb 12, 2021)

  • Added support for .gitignore into giterminism subsystem.
  • [giterminism] Optimize listing fs files
  • Skip file if:
  • Not accepted by giterminism config
  • Not changed locally
  • Ignored by .gitignore
  • Not inside an unclean submodule repository
  • [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

New in werf 1.2.6+fix1 (Feb 12, 2021)

  • Fixes:
  • [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
  • Other:
  • 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
  • [giterminism] Optimize listing files with glob
  • Check each file path for the possibility of matching child files
  • Get glob prefix without patterns and use it as start directory
  • Internals:
  • [tests] Giterminism Suite: disable log color
  • [giterminism] Refactor: WalkConfigurationFilesWithGlob returns paths relative to dir

New in werf 1.2.6 (Feb 10, 2021)

  • Introduce custom build tags and migration from helm2 to helm3
  • Custom build tags.
  • Add --add-custom-tag that can be used multiple times for build command.
  • Add --use-custom-tag for helm commands.
  • It is necessary to use the image name shortcut %image% or %image_slug% in the tag format if there is more than one image in the werf config.
  • [giterminism] Inspect custom tags: the tags should be accepted by cli.AllowCustomTags directive.
  • Should be built check: an image for a specified custom tag must exist and be the same as an image for related content-based tag.
  • Migration from helm 2 to helm 3.
  • werf converge command will fail if it detects existing helm 2 command;
  • start a migration process with the "werf helm migrate2to3 --release HELM2_RELEASE --target-namespace TARGET_HELM3_NAMESPACE" command;
  • finish a migration process with "werf converge" command into specified release and namespace;
  • more docs are coming soon.

New in werf 1.2.5+fix8 Alpha (Feb 9, 2021)

  • Fix interactive werf run session (--shell/--bash) works not properly
  • Fix proxy stream data formatting enabled mode

New in werf 1.2.5+fix7 Alpha (Feb 9, 2021)

  • Fixes:
  • Ignore BLOB_UNKNOWN registry errors. Ignore silently without warnings until werf-cleanup does not delete these broken images.

New in werf 1.1.23+fix14 (Feb 9, 2021)

  • Fixes:
  • Do not print warnings for MANIFEST_UNKNOWN and BLOB_UNKNOWN registry errors until werf-cleanup does not delete these images automatically.

New in werf 1.2.5+fix3 Alpha (Feb 8, 2021)

  • Fixes:
  • Fix logging issues in the v1.2.5+fix2.

New in werf 1.1.23+fix13 (Feb 5, 2021)

  • [BLOB_UNKNOWN] Completely ignore images with BLOB_UNKNOWN errors from the standard docker registry
  • Consider image is not exists in that case.
  • Log warnings on BLOB_UNKNOWN and MANIFEST_UNKNOWN for default docker registry impl.
  • Removed experimental WERF_EXPERIMENTAL_IGNORE_IMAGE_METADATA_BY_COMMIT_BLOB_UNKNOWN env variable.

New in werf 1.2.5+fix2 Alpha (Feb 4, 2021)

  • Fixes and other:
  • [logging] logboek v0.5.0
  • Migrate to gookit/color
  • Support for colors in WIN cmd.exe
  • [win] Fix swith-work-tree occurs on every run due to backslash-slash issues

New in werf 1.2.5+fix1 Alpha (Feb 4, 2021)

  • Giterminism refinements: full git-submodules support, better custom project dir support:
  • [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
  • Return a detailed error if a work tree submodule directory has changes
  • [giterminism] Support for configuration files outside the project directory
  • Internals:
  • [tests] Giterminism Suite: test custom project directory
  • [giterminism] Refactor symlink check code
  • Docs:
  • [doc] Add Rails guide
  • Internals:
  • [tests] Fix daily tests, not compiling and failing tests, refactor tests precompile

New in werf 1.2.4+fix18 Beta (Feb 4, 2021)

  • Docs:
  • Update guides template and overview page.
  • Correct a grammar mistake.

New in werf 1.1.23+fix6 (Feb 4, 2021)

  • Fixes:
  • Fix “Error: parsing file … failed: yaml: unmarshal errors … cannot unmarshal !!map into string”

New in werf 1.2.3 (Dec 17, 2020)

  • Introduce 'werf bundle publish' command:
  • Will publish current chart of the werf project with together with built images and all needed service-values as an image into the provided REPO by the provided TAG. This command does not need a connection to the Kubernetes cluster.
  • Published bundle can be later installed using werf bundle apply ... command, which is not implemented yet.
  • Dev mode improvements:
  • [true git] Fix SyncDevBranchWithStagedFiles handles submodules changes improperly
  • SyncDevBranchWithStagedFiles function creates commit but does not prepare worktree for it. Staged files may include submodule changes that require special handling
  • [dockerfile] Remove excess git ignored files check

New in werf 1.2.2 fix 6 (Dec 17, 2020)

  • Dev mode internal improvements and fixes:
  • [dev] Apply a patch with staged changes also in index.
  • [true git] Reset worktree/staging changes when detaching commit.
  • [tests] Build/Stapel/Git: active developer mode tests.
  • [status] Check worktree and staging changes separately with options.
  • [status] Remove unused code.
  • [dev] Support staged binary files.
  • Dockerfile builder improvements:
  • [dockerfile] Add project repo commit label.

New in werf 1.2.2 fix 5 (Dec 15, 2020)

  • Fix empty checksum
  • Fix os-sensitive contextAddFile path in the checksum

New in werf 1.2.2 fix 4 (Dec 15, 2020)

  • Fixes:
  • [dockerfile] Temporarily force BuildKit deactivation due to the bug in the docker client when used as a go library
  • Fix 'werf render' uses kubernetes based lock due to typo.

New in werf 1.2.2 fix 3 (Dec 15, 2020)

  • Fixes:
  • [dev] Fix not initialized true git package.
  • [stapel, dev] Fix adding dev label to the building image.
  • [giterminism] Check untracked .helm/Chart.yaml exists in the chart.

New in werf 1.2.2 fix 2 (Dec 14, 2020)

  • Fixes:
  • Update metainfo in page template.

New in werf 1.2.2 fix1 (Dec 14, 2020)

  • Rework dev mode for stapel and dockerfile:
  • Werf creates temporary commits in the dev-mode.
  • Files from the git index used in the dev-mode.
  • Support dev-mode in conjunction with the follow-mode.
  • Commit staged files to dev branch werf-dev-<commit>.
  • Add werf-dev label to git stage images.
  • Change default werf images storage for GitLab CI/CD and GitHub Actions:
  • Remove /werf repo suffix for GitLab CI/CD;
  • Remove -werf repo suffix for GitHub Actions.
  • NOTE. This is breaking change, incompatible with the previous werf versions.
  • Other:
  • Fix "list event error: context cancelled" log messages.
  • [web] Update metainfo in page template.
  • More fixes for werf-related ci tests.

New in werf 1.2.1+fix6 (Dec 7, 2020)

  • Fixes:
  • [deploy] Fix max releases history: use default limit = 10.
  • [deploy] Fix dismiss --with-namespace not waiting until namespace terminated.
  • Other changes:
  • [build] Remove stages_and_images read-only lock during build process
  • Stages_and_images read only lock is preventive measure against running cleanup and build commands at the same time;
  • This lock creates unnecessary load on the synchronization server, because this lock working all the time the build process is active for each build process;
  • It is mostly safe to just omit this lock completely;
  • Also removed unused "image" lock from the lock manager (legacy from v1.1).
  • Also renamed kubernetes-related stage and stage-cache locks to include project name (just for more correctness, incompatible with v1.1 change).

New in werf 1.2.1+fix5 (Dec 3, 2020)

  • Helm related changes:
  • Make Chart.yaml optional for all werf helm * commands.
  • Fix enable --with-namespace and --with-hooks werf-dismiss options not working.
  • Update helm to v3.4.1.
  • Fix auto generation of Chart.yaml:
  • Take Chart.yaml from the repository if exists.
  • Override metadata.name field with werf project name from the werf.yaml.
  • Set metadata.version = 1.0.0 if not set.

New in werf 1.2.1+fix2 (Nov 25, 2020)

  • What's new in this version:
  • Pass Dockerfile builder context from the current git commit arhive, not from the current git work tree with uncommitted files.
  • Use contextAddFile directive for dockerfile builder to override and add specified uncommitted or untracked files to the context from the current git work tree:
  • Image: X
  • Dockerfile: Dockerfile
  • Context: vote
  • ContextAddFile:
  • App.py
  • Some-generated-file.tar.gz
  • ContextAddFile will affect checksum calculation of the dockerfile stage during building phase.
  • Load all helm-related configuration (.helm/templates, --values, --secret-values, --set-file from the local git repo commit).
  • Other:
  • Refactor git patches and archives generation.
  • Store tmp patches and archives in the ~/.werf/local_cache/git_data/1/tmp/ instead of /tmp;
  • Store patches cache in the ~/.werf/local_cache/git_data/1/patches/;
  • Store archives cache in the ~/.werf/local_cache/git_data/1/archives/.
  • [docs] Refactor directive summary block for stapel.
  • [ci] Documentation Validation Workflow.
  • Fixes
  • Fix get-namespace, get-release and rotate-secret-key commands panics.
  • [report] Fix envfile report format
  • Name:
  • Use template WERF_<FORMATTED_WERF_IMAGE_NAME>_DOCKER_IMAGE_NAME instead of WERF_IMAGE_<FORMATTED_WERF_IMAGE_NAME>_NAME
  • Replace charset -/ in werf image name with _
  • Value: set docker image name instead of werf image name
  • Update kubedog: fix Job hanging case (werf/kubedog#184), fix color disabled in CI/CD systems.

New in werf 1.2.0+fix9 (Nov 23, 2020)

  • Fix report-related panic on werf-run command

New in werf 1.2.0+fix8 (Nov 23, 2020)

  • Build images report rework:
  • Fix build images report not working.
  • Add envfile report format (--report-format=envfile).
  • Change report format structure.

New in werf 1.2.1+fix1 (Nov 16, 2020)

  • Fixes:
  • Fix --docker-options option cannot contain multiple spaces
  • Fix getting of parentID from image manifest.
  • Cleanup:
  • Add option to keep images that were built within period. The cleaning process skips stages (and relatives) that were built within specified period. Option --keep-stages-built-within-last-n-hours (2 hours by default).
  • Git-history based cleanup improvement. The keep policy imagesPerReference.last counts several stages that were built on the same commit as one.
  • Thus, the policy may cover more tags than expected, and this behavior is correct.
  • Update log levels and messages.
  • Determinism mode:
  • Enabled by default, to disable use option --disable-determinism or WERF_DISABLE_DETERMINISM env var;
  • Mount, git.branch and fromLatest directives are available only when determinism is disabled;
  • .Files.Get and .Files.Glob read data only from the local git repo by default.
  • Define --helm-chart-dir in the werf.yaml
  • Add --env support to werf.yaml config render. Use {{ .Env }} to get an environment value which passed to the werf by --env option or WERF_ENV env var.
  • Move --allow-git-shallow-clone, --git-unshallow and --git-history-synchronization options into werf.yaml. Added new gitWorktree meta section

New in werf 1.2.1 (Nov 12, 2020)

  • Basic docker compose support:
  • Added compose config|up|down commands.
  • Basic determinism mode (disabled by default for now): werf.yaml from git, helm templates from git, disable env go-templates functions
  • Refactor code to use local git repo instead of filesystem to read some configs.
  • Determinism mode is disabled by default for now, because this is experimental feature which is in progress now.
  • Other:
  • [docs] Added seo meta tags.
  • [build] Add envfile report format (--report-format=envfile).
  • Fixes:
  • Disable manifests cache ~/.werf/local_cache/manifests for local stages storage. Manifests cache for local stages storage causes problems when built image has been deleted accidentally or unintentionally by docker rmi or docker compose.
  • Automatically invalidate corrupted manifests cache json records.
  • [cleanup] Fix invalid import metadata found.

New in werf 1.2.0+fix7 (Nov 11, 2020)

  • Docs:
  • Reform build-proces and stages-and-storage articles
  • Move articles one level up.
  • Rename "Images storage" article to "Stages and storage".
  • Reorganize and actualize articles.

New in werf 1.2.0+fix6 (Nov 10, 2020)

  • [docs] Remove outdated warning.
  • [docs] Add last publications.
  • [docs] Fix title generation.
  • [docs] Fix breadcrumbs.
  • [docs] Enable beta channel selected by default.
  • [docs] Eliminate werf-deploy and werf-build-and-publish commands from docs.
  • [docs] Advanced/Helm/Basics: replace werf deploy command with converge.
  • [cleanup] Delete invalid import metadata.

New in werf 1.2.0+fix5 (Nov 9, 2020)

  • [Local development] --follow param support for werf-run and werf-converge:
  • Werf converge --follow will loop on changes into current git-repository and restart converge command when a new commit has been made.
  • Werf run --follow will loop on changes into current git-repository and restart docker container when a new commit has been made.
  • Fix 'Error:
  • UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress' error

New in werf 1.2.0+fix4 (Nov 6, 2020)

  • Fixes:
  • Disable kubernetes connection in the werf-render command. Werf-render command now does not need a connection to the Kubernetes cluster.
  • Fix 'No image specified for template' when using nameless image.

New in werf 1.2.0 (Nov 5, 2020)

  • Fixes and documentation changes:
  • [docs] Final werf yaml table tweaks
  • [docs] Added guides banner.
  • [docs] Eliminate werf_container_image and werf_container_env, change to werf_image.
  • [docs] Fix broken links, typos and headings.
  • [docs] Fix stages storage/images repo usage in cmd help messages.
  • [docs] Actualize command and option descriptions
  • Removed not-yet-implemented werf-diff command.
  • [docs] Internals/Names slug algorithm: up to v1.2.
  • [docs] Advanced/Helm/Basics: up example to v1.2.
  • [docs] DEVELOPMENT-ANSIBLE.md: up to v1.2 syntax.
  • [dockerfile] Fix error handling typo.
  • [docs] Support for arbitrary nesting in the sidebar.
  • [docs] Reference/CLI/Overview: link group command to first command.
  • [docs] Reference/CLI: group commands in sidebar.
  • Primary and secondary stages-storage support:
  • Automatically upload locally built images into specified --repo.
  • Use stages from read-only secondary stages-storages specified by --secodary-repo options (can be specified multiple times).

New in werf 1.2.0 Alpha 20 (Nov 3, 2020)

  • Docs:
  • Added lang switch to topnav.
  • Better reference werf.yaml table.
  • Add publications and extra links.
  • Publication: What GitOps actually is and what it is not.
  • Publication: Delivering cloud-native apps to Kubernetes using werf.
  • Added extra links.
  • Support for custom service urls.
  • Fixes:
  • [dockerfile] Fix unable to build from scratch.
  • [dockerfile, digest] Fix ENV/ARG replacement for dockefile instructions.
  • [dockerfile] Fix calculation without git does not support globs with **.

New in werf 1.1.22 Fix 34 (Nov 2, 2020)

  • Fixes:
  • [dockerfile] Fix unable to build from scratch.
  • [dockerfile, digest] Fix ENV/ARG replacement for dockefile instructions.

New in werf 1.2.0 Alpha 19 (Oct 30, 2020)

  • Updated details widget & quickstart architecture scheme;
  • Index page image fixes;
  • Updated index presentation;
  • Rename signature to digest;
  • Fix Installation link in the top navigation menu.

New in werf 1.2.0 Alpha 18 (Oct 29, 2020)

  • Reworked introduction presentation: https://werf.io/introduction.html
  • Updated reference werf.yaml.

New in werf 1.2.0 Alpha 17 (Oct 29, 2020)

  • Documentation:
  • Redesigned documentation overview page
  • Other:
  • New 'werf render' command:
  • render Kubernetes templates;
  • repo param is optional: calculate stages digests when passed, build images if not exists;
  • render image names stubs if no --repo has been passed.

New in werf 1.1.22 Fix 33 (Oct 27, 2020)

  • [dockerfile] Fix FROM with composite ARG variable value is not resolved.
  • [ci-env] Fix extra annotation with workflow run url for GitHub Actions.

New in werf 1.2.0 Alpha 16 (Oct 26, 2020)

  • More documentation rework:
  • Internals/How CI/CD integrations works: add GitHub Actions article.
  • Reference/werf.yaml: small improvements
  • Fix all broken links.
  • Actualized README.
  • Small fixes for introduction, using-with-ci-cd-systems, quickstart and documentation/overview articles.
  • Fixes:
  • [dockerfile] Fix FROM with composite ARG variable value is not resolved.
  • [ci-env] Fix extra annotation with workflow run url for GitHub Actions.

New in werf 1.2.0 Alpha 15 (Oct 26, 2020)

  • Translate introduction, quickstart, installation, using-with-ci-cd-systems, reference/werf-yaml.
  • Reworked sidebar for reference/cli.

New in werf 1.2.0 Alpha 14 (Oct 22, 2020)

  • Add what-is-gitops video to the werf main page.
  • Fix installation page: show v1.2 + alpha channel only.
  • Partially translate to Russian installation page.
  • Small changes for landing page.

New in werf 1.2.0 Alpha 13 (Oct 22, 2020)

  • Documentation improvements:
  • Add new publications.
  • Reorganize ru.werf.io site for v1.2.
  • Fix some broken links.
  • Fix landing page formulations for werf.io and ru.werf.io.

New in werf 1.2.0 Alpha 12 (Oct 20, 2020)

  • Docs:
  • Introduction and using-with-ci-cd-system articles refinements.

New in werf 1.2.0 Alpha 10 (Oct 19, 2020)

  • Fix zero stage size log message when using --repo images storage

New in werf 1.2.0 Alpha 9 (Oct 16, 2020)

  • Docs minor fixes:
  • Fix documentation overview page links and remove setup-minikube article.
  • Synchronize sidebar articles names and real articles names.

New in werf 1.2.0 Alpha 8 (Oct 16, 2020)

  • Docs:
  • The new cool introduction page with presentation;
  • Small fixes for English index page;
  • Updated Russian index page for v1.2.
  • Change service values format:
  • Do not use .Values.global.werf section, use .Values.werf instead (subcharts does not need to have an access for image-related info);
  • Change image-related values format: .Values.werf.image.NAME or .Values.werf.image (for nameless images);
  • Use werf_image as a main way to generate full image name.

New in werf 1.2.0 Alpha 7 (Oct 15, 2020)

  • installation page;
  • fix broken links.

New in werf 1.2.0 Alpha 6 (Oct 15, 2020)

  • New landing page;
  • New installation page;
  • New quickstart page;
  • New using with ci/cd systems page;
  • New sidebar structure;
  • New documentation structure and logic "from easy to complex".

New in werf 1.1.22 Fix 32 (Oct 13, 2020)

  • Fix publish report related panic 'fatal error: concurrent map writes'.

New in werf 1.1.22 Fix 31 (Oct 9, 2020)

  • Fix artifact import error '@error: invalid uid root'
  • Use 0:0 instead of root:root symbolic names in rsyncd which runs inside artifact.
  • Issue reproduces when artifact image does not have root line in the /etc/passwd file.

New in werf 1.2.0 Alpha 5 (Oct 8, 2020)

  • Signature to digest rename.
  • Fix syncrhonization server panics.

New in werf 1.1.22 Fix 30 (Oct 8, 2020)

  • Hotfix synchronization server panics

New in werf 1.1.22 Fix 29 (Oct 7, 2020)

  • Fix cli docs:
  • Regen cli reference in docs.

New in werf 1.2.0 Alpha 4 (Oct 2, 2020)

  • Fix GitLab Container Registry delete method selection.

New in werf 1.2.0 Alpha 3 (Sep 28, 2020)

  • Doc fixes release

New in werf 1.2.0 Alpha 2 (Sep 25, 2020)

  • New:
  • [get_autogenerated_values] Print service values with actual or stub tags.
  • [run] werf run command launches image building if needed
  • Fix default namespace and helm-release name templates and default environment:
  • use explicitly set environment from werf.yaml if present;
  • when --env not set then use [[ project ]] template by default for both namespace and release;
  • when --env is set then use [[ project ]]-[[ env ]] template by default for both namespace and release.
  • werf_container_image template change:
  • rename to werf_image and change output format to just print docker-image name with tag;
  • add stubbed support for the werf helm template command.
  • Fixes:
  • Fix helm releases created in the default namespace always.
  • Update werf/helm: fix manifest corrupted by Helm when |- is used in the end of the template.

New in werf 1.2.0 Alpha 1 (Sep 24, 2020)

  • Changed cli interface.

New in werf 1.1.22 Fix 26 (Sep 23, 2020)

  • Helm-v3 support for werf-dismiss command
  • Fix runtime error when MANIFEST_UNKNOWN occurs
  • Cleanup Suite: disable parallel for quay tests
  • Increase default parallel tasks limit to 10
  • Fix typo

New in werf 1.1.22 Fix 25 (Sep 20, 2020)

  • [helm-v3] Added auto-rollback and timeout params for werf-deploy command, fixed 'has no deployed releases' error when initial install has failed during waiting for resources readiness.
  • [helm-v3] Added missed --log-* and --set-files flags.
  • Also print all persistent flags in help messages (fixed werf help template).
  • Other:
  • [logging] Print main time prefix with parallel task time prefix

New in werf 1.1.22 Fix 24 (Sep 17, 2020)

  • Parallelize operations with docker registry:
  • parallel read/delete stages from stages-storage operations;
  • parallel read/delete images info from images-repo operations;
  • image metadata cache;
  • add --parallel and --parallel-tasks-limit options for cleanup (by default, parallelization is enabled and tasks limit is 5).
  • Other fixes:
  • Do not lock cleanup process by images-repo.
  • Push image with retries when specific errors occur:
  • http2: server sent GOAWAY and closed the connection
  • http2: Transport received Server's graceful shutdown GOAWAY
  • REDACTED: UNKNOWN

New in werf 1.1.22 Fix 23 (Sep 17, 2020)

  • [dockerfile] Fix "panic: interface conversion" while discarding newly built image.
  • [docs] a hyphen for low-level.

New in werf 1.1.22 Fix 21 (Sep 7, 2020)

  • Cleanup Suite: fix random test fail
  • Refactor: update RunCommandWithOptions interface
  • Cleanup Suite: test remote stages storage
  • Cleanup Suite: fix quay tests
  • Guides Suite: sync with documentation
  • Fix guide First step
  • Daily Tests Workflow: disable werf debug mode

New in werf 1.1.22 Fix 20 (Sep 4, 2020)

  • Fixes:
  • [logging] Ignore klog reflector ERROR messages.
  • [logging] More details in concurrent builds plan.
  • [harbor] Fix NOT_FOUND error during synchronization client id saving.
  • [build] Fix getting inspect for built stage.

New in werf 1.1.22 Fix 19 (Sep 3, 2020)

  • Fix build panic 'invalid memory address or nil pointer dereference' pkg/build/build_phase.go:422

New in werf 1.1.22 Fix 18 (Sep 2, 2020)

  • Logging fixes:
  • Fix klog warning messages: suppress klog info/warning log levels, print error level through logboek.
  • Fix empty size info message for built stage.
  • Cleanup logging: hide empty block.
  • Fix collapsible GitLab log section:
  • apply only for top-level processes;
  • disable for blocks.

New in werf 1.1.22 Fix 17 (Sep 1, 2020)

  • Fixes:
  • [dockerfile] Handle unsupported Media Type (especially v1 manifest version).
  • Image metadata by commit: long image name support.

New in werf 1.1.22 Fix 16 (Sep 1, 2020)

  • Helmfile support and fixes:
  • Werf now can be used as helm-3 replacement with helmfile as follows:
  • Install latest helmfile.
  • Install helm-diff plugin (which is needed for the helmfile):
  • source $(multiwerf use 1.1 alpha --as-file)
  • werf helm-v3 plugin install https://github.com/databus23/helm-diff
  • Prepare helmfile.yaml:
  • repositories:
  • name: stable
  • url: https://kubernetes-charts.storage.googleapis.com
  • releases:
  • name: mytraefik
  • namespace: aaa
  • createNamespace: true
  • wait: true
  • chart: stable/traefik
  • labels:
  • name: traefik-public
  • version: 1.86.2
  • Set environment variable WERF_HELM3_MODE=1 — this will make werf binary CLI interface helm-compatible, then run helmfile with --helm-binary=werf.
  • source $(multiwerf use 1.1 alpha --as-file)
  • export WERF_HELM3_MODE=1
  • helmfile -b werf apply
  • Check installed release with werf:
  • werf list --namespace aaa

New in werf 1.1.22 Fix 15 (Sep 1, 2020)

  • Parallel builds fixes:
  • Maximum 5 parallel tasks by default.
  • Fix index out of range [0] with length 0.

New in werf 1.1.22 Fix 14 (Aug 28, 2020)

  • Reference/Deploy into Kubernetes: reviewed documentation, rephrased
  • Reference/Working with docker registries: upd

New in werf 1.1.22 Fix 13 (Aug 24, 2020)

  • Fix makeslice len out of range (without images in werf.yaml).

New in werf 1.1.22 Fix 11 (Aug 22, 2020)

  • GitHub Actions: fix case sensitive of repository name
  • [introspection] Fix the input device is not a TTY

New in werf 1.1.22 Alpha 8 (Aug 20, 2020)

  • Concurrent builds of images defined in werf.yaml:
  • werf divides all images into independent sets and runs each set in parallel.
  • Option -p/--parallel to enable/disable concurrency builds (by default on)
  • Option --parallel-tasks-limit to regulate the maximum number of images
  • Introspection does not support parallel builds and disables it
  • Auto GC in top-level commands only
  • [email protected]:
  • GitLab collapsible sections for top-level blocks and processes

New in werf 1.1.21 Fix 24 (Aug 15, 2020)

  • Fix cleanup panic "image ... metadata was not found".
  • Ignore unknown-manifest tags from docker-registry tags list when quering image metadata records.