Skip to content

Latest commit

 

History

History
965 lines (475 loc) · 46.6 KB

CHANGELOG.md

File metadata and controls

965 lines (475 loc) · 46.6 KB

Changelog

1.2.116 (2022-06-16)

Features

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

1.2.115 (2022-06-15)

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)

1.2.114 (2022-06-10)

Bug Fixes

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

1.2.113 (2022-06-08)

Bug Fixes

  • helm: unable to recognize "": no matches for kind "..." in version "..." errors when base64 kubeconfig used (90678ec)

1.2.112 (2022-06-08)

Bug Fixes

  • export-values: propagate result of export-values to all parent charts Values (12a0b54)

1.2.111 (2022-06-07)

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)

1.2.110 (2022-06-03)

Features

  • deploy in multiple stages; improve 3way merge (9a8d3ee)

1.2.109 (2022-06-02)

Bug Fixes

  • kube-run: --copy-from skipped if command failed (8f595ec)
  • kube-run: better log message when command failed (6551c8e)

1.2.108 (2022-06-01)

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)

1.2.107 (2022-05-27)

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)

1.2.106 (2022-05-25)

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)

1.2.105 (2022-05-23)

Bug Fixes

  • post-renderer: fix null value validation panic in annotations and labels (5d80460)

1.2.104 (2022-05-19)

Features

  • cross-platform-builds: basic support of --platform=OS/ARCH[/VARIANT] parameter for buildah builder (276fc0f)

Bug Fixes

  • migrate2to3: new target namespace not respected in new Release (985e241)
  • warning message misspeling fix (15c2dbb)

1.2.103 (2022-05-18)

Bug Fixes

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

1.2.102 (2022-05-18)

Features

  • kube-run: --copy-from-file and --copy-from-dir opts (dcfa982)
  • kube-run: add --copy-to; replace --copy-from-[file|dir] with --copy-from (231ccbc)

Bug Fixes

  • kube-run: ignore image CMD (98bfc7e)

1.2.101 (2022-05-16)

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)

1.2.100 (2022-05-13)

Bug Fixes

  • imports: recursive copying issues (9351c25)
  • switch to actions/checkout@v3 (ba3ac8e)

1.2.99 (2022-05-11)

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)

1.2.98 (2022-05-06)

Features

  • docs: added info about deploying bundles as helm chart dependencies (188ec71)
  • docs: werf cheat sheet (091383e)
  • stapel-to-buildah: run user stages commands in the script using sh or bash (e9aa1d4)

1.2.97 (2022-05-06)

Bug Fixes

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

1.2.96 (2022-05-05)

Features

  • update helm v3.8.1 to v3.8.2 (7f4e6b7)

Bug Fixes

  • helm: solved broken 3 way merge case when pre-upgrade hook fails (a4610e3)

1.2.95 (2022-05-04)

Bug Fixes

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

1.2.94 (2022-04-28)

Bug Fixes

1.2.93 (2022-04-28)

Features

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

1.2.92 (2022-04-27)

Features

  • bundle: implement 'bundle copy' command (92122e7)
  • support --show-only|-s helm-style render option + export-values chaining (e9e3b86)

Bug Fixes

  • render: manifests keys sort order not preserved after rendering (469ce7a)

1.2.91 (2022-04-22)

Bug Fixes

  • buildah_backend: bump copyrec, fix broken windows build (cefeb72)
  • git worktree switch invalidation loop (e698bff)

1.2.90 (2022-04-21)

Features

  • kube-run: pod and container name can be used in --overrides (686b402)
  • kube-run: set --overrides-type=strategic for better merges (9f222a5)

Bug Fixes

  • .helm/Chart.yaml chart name redefines project name from werf.yaml (cda82f7)
  • build: cleanup orphan build containers on ctrl-c or gitlab cancel (8702efa)
  • deploy: do not print secret values in debug mode by default (44be01a)

1.2.89 (2022-04-19)

Bug Fixes

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

1.2.88 (2022-04-15)

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)

1.2.87 (2022-04-08)

Bug Fixes

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

1.2.86 (2022-04-08)

Bug Fixes

  • server-dry-run: possible fix for 'unable to recognize ...: no matches for kind ... in version ...' (part 2) (e053dad)

1.2.85 (2022-04-08)

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)

1.2.84 (2022-04-05)

Bug Fixes

  • slugification: kubernetes namespace and release name cannot contain dots (e22eecb)

1.2.83 (2022-04-04)

Bug Fixes

  • cleanup: manage custom tags that do not have associated existent stages (ef6efc3)
  • ignoring broken config in container registry (50ed5c7)

1.2.82 (2022-04-01)

Bug Fixes

  • dependencies: broken imports checksum when files names contain spaces (57ea901)

1.2.81 (2022-04-01)

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)

1.2.80 (2022-03-30)

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)

1.2.79 (2022-03-23)

Features

  • kube-run: --auto-pull-secret provides private registry access for pod (d94104f)
  • kube-run: add --kube-config, fix --kube-context opts (8014d98)
  • kubectl: respect a few global $WERF_* env vars (a2d523e)

Bug Fixes

  • cleanup: fail when no kubernetes configs available and no --without-kube option specified (14de74f)
  • docs: update cli reference (7f65ca2)
  • docs: update cli reference (ad3a705)
  • docs: update cli reference (588eb2d)
  • kube-run: temporarily disable --kube-config* opts (352a0bd)
  • server-dry-run: fix "admission webhook ... does not support dry-run" (5b118f4)

1.2.78 (2022-03-21)

Features

  • kubectl exposed via werf kubectl (c6435d8)
  • new command werf kube-run (3da4449)

Bug Fixes

  • "unable to get docker system info" error when container runtime not used (93b6f5a)
  • build: do not store images into final repo when --skip-build is set (69e1bb0)
  • context extraction error (d19cfb6)
  • deploy: fix --set-file giving []uint{} array intead of string (aa3aa4e)
  • temporarily disable broken server-dry-run (e648787)

1.2.77 (2022-03-17)

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)

1.2.76 (2022-03-15)

Bug Fixes

  • default ~/.ssh/id_rsa key not loaded (2c186fe)

1.2.75 (2022-03-14)

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)

1.2.74 (2022-03-10)

Bug Fixes

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

1.2.73 (2022-03-04)

Features

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

1.2.72 (2022-02-25)

Bug Fixes

  • buildah: support Dockerfile builder target param to build specific stage (44bc718)

1.2.71 (2022-02-24)

Features

  • cleanup: optimization of cleaning images which are used when importing (1b82a47)

Bug Fixes

  • add werf-cleanup command warning when no kube configs available (e87261b)
  • WERF_KUBE_CONFIG and WERF_KUBECONFIG environment variables not working (b0615b0)

1.2.70 (2022-02-21)

Bug Fixes

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

1.2.69 (2022-02-18)

Bug Fixes

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

1.2.68 (2022-02-18)

Features

  • cleanup: cleaning up artifacts by git history-based policy as well as images (04404a3)

Bug Fixes

  • build: werf does not reset stages storage cache when import source image not found (262412a)
  • host-cleanup procedure not running in gitlab-ci (a78df7c)
  • host-cleanup: host cleanup not working without --docker-server-storage-path option (dfa159c)
  • more correct handling of storage.ErrBrokenImage (fbbdd54)

1.2.67 (2022-02-15)

Features

  • bundle: new command "werf bundle render" (ad0181e)

Bug Fixes

  • "unable to switch worktree" in gitlab (fe6c2d4)

1.2.66 (2022-02-14)

Features

  • config: dependency graph for werf.yaml images (403bcb0)

Bug Fixes

  • cleanup: odd warning message with a nonexistent tag (e873376)

1.2.65 (2022-02-08)

Bug Fixes

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

1.2.64 (2022-02-07)

Features

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

1.2.63 (2022-02-04)

Bug Fixes

  • bundles: remove incompatibility with helm 3 (ba1e5b4)

1.2.62 (2022-02-03)

Bug Fixes

  • slugify: limited slug is not idempotent (4b06e8a)

1.2.61 (2022-02-02)

Features

  • images-imports: added reference docs (8d6ef61)

1.2.60 (2022-02-01)

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)

1.2.59 (2022-01-27)

Features

  • images-dependencies: implement images dependencies for stapel builder (5d5f144)
  • images-dependencies: introduce basic image dependencies configuration structs (da36104)
  • images-dependencies: introduce basic image dependencies configuration structs (fix) (1ef7073)
  • images-dependencies: rename imports to dependencies (725fbc9)

Bug Fixes

  • 'werf helm get-release' command panic (bc52c8e)
  • build: multi-stage does not work properly with build args (2b59c76)
  • quay: ignore TAG_EXPIRED broken tags (c302c05)

1.2.58 (2022-01-21)

Features

  • 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)

1.2.57 (2022-01-19)

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)

1.2.56 (2022-01-18)

Features

  • build: expose commit info in werf templates (4c2b33a)

Bug Fixes

  • dependencies: update deps, incompatible image-spec (4518b58)

1.2.55 (2021-12-29)

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.

1.2.54 (2021-12-24)

Bug Fixes

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

1.2.53 (2021-12-17)

Bug Fixes

  • Add missing WERF_TIMEOUT variable for --timeout param (672d379)

1.2.52 (2021-12-16)

Features

  • multiwerf: print multiwerf deprecation warning if multiwerf outdated (12d0f55)

Bug Fixes

  • harbor: detect usage of harbor without --repo-container-registry=harbor option (a3843f9)

1.2.51 (2021-12-10)

Bug Fixes

  • buildah: do not use ignore_chown_errors option for overlay storage driver (299a33e)

1.2.50 (2021-12-10)

Features

  • buildah: support autodetection of native mode for overlayfs (7858360)

Bug Fixes

  • buildah: Buildah mode autodetection (80b9e90)

1.2.49 (2021-12-09)

Bug Fixes

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

1.2.48 (2021-12-09)

Features

  • buildah: added new official werf images:
    • ghcr.io/werf/werf:1.2-{alpha|beta|ea|stable}-{alpine|ubuntu|centos|fedora};
    • ghcr.io/werf/werf:1.2-{alpha|beta|ea|stable} (same as ghcr.io/werf/werf:1.2-{alpha|beta|ea|stable}-alpine);
  • buildah: native OCI rootless mode; vfs storage driver; bugfixes (58e92a2).
  • buildah: improve docs about running werf in containers.

Bug Fixes

  • cleanup: do not use stages-storage-cache when getting all stages list (7e9651b)
  • deploy: status-progress-period and hooks-status-progress-period params fix (2522b25)

1.2.47 (2021-12-03)

Docs

Bug Fixes

  • cleanup: ignore harbor "unsupported 404 status code" errors (adf60a0)

1.2.46 (2021-12-02)

Features

  • docs: added docs for running werf in container in experimental mode.

1.2.45 (2021-12-02)

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)

1.2.44 (2021-11-26)

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)

1.2.43 (2021-11-25)

Bug Fixes

1.2.42 (2021-11-24)

Bug Fixes

  • host_cleanup: getting true dangling images (22949ca)

1.2.41 (2021-11-18)

Bug Fixes

1.2.40 (2021-11-16)

Bug Fixes

  • bundles: fix werf-bundle-publish command error when --tag contains underscore chars (03e8f88)

1.2.39 (2021-11-09)

Bug Fixes

  • buildah: support --build-arg arguments defined in the werf.yaml (8a2081e)

1.2.38 (2021-11-02)

Features

  • bundles: update helm to 3.7.1, provide compatibility with old published bundles (9dc215c)

1.2.37 (2021-10-29)

Features

  • helm: werf-helm-* commands now fully support --post-renderer param (eb8208e)

1.2.36 (2021-10-21)

Bug Fixes

  • deploy: fix dismiss command fails with "panic: close of closed channel" (b9b064c)

1.2.35 (2021-10-20)

Features

  • buildah: communication with insecure registries (e0502c2)

Bug Fixes

  • cleanup: panic: runtime error: invalid memory address or nil pointer dereference (9024c5c)

1.2.34 (2021-10-19)

Bug Fixes

  • stapel: add patch to update ssl certs in the old stapel image (76fb6c8)
  • stapel: build omnibus packages with /.werf/stapel toolchain (cc86423)

1.2.33 (2021-10-19)

Bug Fixes

  • build: commit object or packfile not found after git GC (b7a6bba)

1.2.32 (2021-10-18)

Bug Fixes

  • custom tags: --use-custom-tag with an image name not work properly (89807af)

1.2.31 (2021-10-18)

Bug Fixes

  • stapel: disable python 2 deprecation warning in ansible builder (00d9834)
  • stapel: rebuild stapel to fix expired certificates (1da0d43)

1.2.30 (2021-10-14)

Bug Fixes

  • deploy: WERF_SET_DOCKER_CONFIG_VALUE not working (b850301)

1.2.29 (2021-10-12)

Bug Fixes

  • deploy: possible fix for hanging werf-dismiss (4ea7915)
  • WERF_SET_DOCKER_CONFIG_VALUE env variable collision with --set param (30177b4)

1.2.28 (2021-10-11)

Features

Alias tags support #3706

  • The option --add-custom-tag=TAG_FORMAT sets tag aliases for the content-based tag of each image (can be used multiple times).
  • The option --use-custom-tag=TAG_FORMAT allows using tag alias in helm templates instead of an image content-based tag (NOT RECOMMENDED).
  • If there is more than one image in the werf config it is necessary to use the image name shortcut %image% or %image_slug% in the tag format (e.g. $WERF_ADD_CUSTOM_TAG_1="%image%-tag1", $WERF_ADD_CUSTOM_TAG_2="%image%-tag2").
  • For cleaning custom tags and associated content-based tag are treated as one:
    • The cleanup command deletes/keeps all tags following the cleaning policies for content-based tags.
    • The cleanup command keeps all when any tag is used in k8s.
  • By default, alias tags are not allowed by giterminism, and it is necessary to use werf-giterminism.yaml to activate options:
    giterminismConfigVersion: 1 
    cli:
      allowCustomTags: true

Bug Fixes

  • final repo options not set for get-autogenerated-values command (ff70054)
  • host-cleanup: "permission denied" errors, do not wipe git-patches on every run (2840427)

1.2.27 (2021-10-11)

Features

  • Completed first step of buildah adoption: allow building of dockerfiles with buildah on any supported by the werf platform (linux, windows and macos).
    • Enable buildah mode with WERF_CONTAINER_RUNTIME_BUILDAH=auto|native-rootless|docker-with-fuse environment variable:
      • native-rootless mode uses local storage and runs only under Linux.
      • docker-with-fuse mode runs buildah inside docker enabling crossplatform buildah support. This mode could be changed later to use podman instead of docker server.

Bug Fixes

1.2.26 (2021-10-08)

Features

  • Completed first step of buildah adoption: allow building of dockerfiles with buildah on any supported by the werf platform (linux, windows and macos).
    • Enable buildah mode with WERF_CONTAINER_RUNTIME_BUILDAH=auto|native-rootless|docker-with-fuse environment variable:
      • native-rootless mode uses local storage and runs only under Linux.
      • docker-with-fuse mode runs buildah inside docker enabling crossplatform buildah support. This mode could be changed later to use podman instead of docker server.

Bug Fixes

1.2.25 (2021-10-07)

Bug Fixes

  • cleanup: fix "should reset storage cache" error during werf-cleanup and werf-purge (dd43b68)

1.2.24 (2021-10-04)

Bug Fixes

  • dev: deletion of untracked files not taken into account (c67a956)
  • dev: submodule changes may not be taken into account (f3b2fab)

1.2.23 (2021-09-23)

Bug Fixes

  • panic in dismiss command, helm regsitry client initialization failure (6a2e159)

1.2.22 (2021-09-23)

Bug Fixes

  • sharing not thread safe go-git tree and storer (1e2755b)

1.2.21 (2021-09-21)

Bug Fixes

  • stapel: changes in directories of import.include/excludePaths not triggered import (f9043c3)

1.2.19 (2021-09-17)

Bug Fixes

  • broken release building script, fix site installation instructions (3dc31f2)
  • dev: fail on retry of a command with a deleted file (d286821)
  • dev: special characters not handled properly (1e72887)
  • force disable CGO for release builds (7a69ca7)
  • separate --insecure-helm-dependencies flag (b2beb3a)