werf

A solution for implementing efficient and consistent software delivery to Kubernetes facilitating best practices.

APACHE-2.0 License

Stars
4.2K
Committers
64

Bot releases are hidden (Show)

werf - werf v1.2.18+fix1

Published by flant-team-sysdev about 3 years ago

Small features and fixes

feat(secret): set notepad as the default editor for Windows
fix: KUBECONFIG config path merge list support for --synchronization=kubernetes://... param.
docs(cli): fix werf compose run example
docs: storage layouts small updates
fix: remove host cleanup debug message

Internals

infra: use gox parallel release build tool, update base builder image

Installation

Linux amd64

Linux arm64

Darwin amd64

Darwin arm64

Windows amd64

werf - werf v1.2.18

Published by flant-team-sysdev about 3 years ago

Support startup, readiness and liveness probes failures handling

docs(kubedog): failure handling for startup/readiness/liveness
test(kubedog): failure handling for startup/readiness/liveness
feat(kubedog): add werf.io/ignore-readiness-probe-fails-for annotation

Installation

Linux amd64

Linux arm64

Darwin amd64

Darwin arm64

Windows amd64

werf - werf v1.2.17+fix1

Published by flant-team-sysdev about 3 years ago

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

Installation

Linux amd64

Linux arm64

Darwin amd64

Darwin arm64

Windows amd64

werf - werf v1.2.17

Published by flant-team-sysdev about 3 years ago

Minor features and fixes

Installation

Linux amd64

Linux arm64

Darwin amd64

Darwin arm64

Windows amd64

werf - werf v1.2.16+fix1

Published by flant-team-sysdev about 3 years ago

Fixes

  • fix(git_repo): unable to get a configuration file from the submodule with a name that is not equal to the path

Docs

  • [docs] Update publications

Installation

Linux amd64

Linux arm64

Darwin amd64

Darwin arm64

Windows amd64

werf - werf v1.2.16

Published by flant-team-sysdev about 3 years ago

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: https://ru.werf.io/documentation/v1.2/advanced/storage_layouts.html
Translation to english coming soon.

Installation

Linux amd64

Linux arm64

Darwin amd64

Darwin arm64

Windows amd64

werf - werf v1.2.15+fix2

Published by flant-team-sysdev about 3 years ago

Fixes

Installation

Linux amd64

Linux arm64

Darwin amd64

Darwin arm64

Windows amd64

werf - werf v1.2.15+fix1

Published by flant-team-sysdev about 3 years ago

Fixes

feat: expose "tag" service value

fix: ambiguous error when trying to export not in a registry

Error:

$ werf export --tag "test:%image%"
Error: phase export after image test stages handler failed: denied: requested access to the resource is denied

$ werf export --repo=REPO --tag=test
Error: phase export after image test stages handler failed: HEAD https://index.docker.io/v2/library/test/blobs/sha256:e25d89020eacd5ff45c65dd9f69da5f1c1ed9381c157707dde395d529e9f47cb: unexpected status code 401 Unauthorized (HEAD responses have no body, use GET for details)

Changes:

  • Made mandatory use of Docker Hub address when exporting.
  • Add detailed error:
    Error: invalid tag template "test:%image%":
    - the command exports images to the registry (cannot export them locally)
    - the user must explicitly provide the address "index.docker.io" when using Docker Hub as a registry
    

Docs

docs: export-values using .helm/Chart.yaml dependencies.

Installation

Linux amd64

Linux arm64

Darwin amd64

Darwin arm64

Windows amd64

werf - werf v1.2.15

Published by flant-team-sysdev about 3 years ago

Exporting final images to arbitrary repositories

The command allows exporting images to an arbitrary repository according to a template specified by the --tag option (build if needed). All meta-information related to werf is removed from the exported images, and then images are completely under the user's responsibility.

The --tag option can be specified multiple times. It is necessary to use image name shortcut %image% or %image_slug% if multiple images are exported (e.g. REPO:TAG-%image% or REPO-%image%:TAG).

For instance, export images to Docker Hub and GitHub Container Registry with the following command:

werf export --tag=company/project:%image%-latest --tag=ghcr.io/company/project/%image%:latest

Installation

Linux amd64

Linux arm64

Darwin amd64

Darwin arm64

Windows amd64

werf - werf v1.2.14

Published by flant-team-sysdev about 3 years ago

Add export-values directive

Adds export-values directive for Chart.yaml dependencies to pass values from parent chart to its
child:

.helm/requirements.yaml
------------------------------------------------------
dependencies:
- name: subchart
  version: 1.0.0
  export-values:
  - parent: werf
    child: werf

This will pass werf service values $.Values.werf from the main chart to the subchart. Service values will become available in the subchart on the same path: $.Values.werf.

Fixes

Werf's auto dependencies downloader will only vendor external chart dependencies.

Explicitly specified internal chart dependencies (with an empty repository field or "file://path-to-subchart") will be used directly from the project repo without excess vendoring.

Installation

Linux amd64

Linux arm64

Darwin amd64

Darwin arm64

Windows amd64

werf - werf v1.1.23+fix50

Published by flant-team-sysdev about 3 years ago

Fixes

Correction release for trdl package manager.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.13+fix12

Published by flant-team-sysdev about 3 years ago

Fixes

Correction release for trdl package manager.

Installation

Linux amd64

Linux arm64

Darwin amd64

Darwin arm64

Windows amd64

werf - werf v1.2.13+fix11

Published by flant-team-sysdev about 3 years ago

Fixes

Correction release for trdl package manager.

Installation

Linux amd64

Linux arm64

Darwin amd64

Darwin arm64

Windows amd64

werf - werf v1.2.13+fix10

Published by flant-team-sysdev about 3 years ago

Fixes

Correction release for trdl package manager.

Installation

Linux amd64

Linux arm64

Darwin amd64

Darwin arm64

Windows amd64

werf - werf v1.2.13+fix9

Published by flant-team-sysdev about 3 years ago

Fixes

Correction release for trdl package manager.

Installation

Linux amd64

Linux arm64

Darwin amd64

Darwin arm64

Windows amd64

werf - werf v1.2.13+fix8

Published by flant-team-sysdev about 3 years ago

Fixes

Correction release for trdl package manager.

Installation

Linux amd64

Linux arm64

Darwin amd64

Darwin arm64

Windows amd64

werf - werf v1.1.23+fix49

Published by flant-team-sysdev about 3 years ago

Backport

  • feat(build): add image digest to json publish report

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.13+fix7

Published by flant-team-sysdev about 3 years ago

Complete ghcr.io support related improvements

Others

  • feat(build): add image digest to json report
  • fix(cli): cache storage options not initialized
  • chore(docs): small fixes
    • chore(docs): replace backslash in paths
    • chore(docs): update quickstart
    • chore(docs): fix typo

Installation

Linux amd64

Linux arm64

Darwin amd64

Darwin arm64

Windows amd64

werf - werf v1.2.13+fix6

Published by flant-team-sysdev about 3 years ago

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

Installation

Linux amd64

Linux arm64

Darwin amd64

Darwin arm64

Windows amd64

werf - werf v1.2.13+fix5

Published by flant-team-sysdev about 3 years ago

Complete ghcr.io support related improvements

  • feat(container_registry): handle secondary rate limit error deleting tags from ghcr.io
    • Parse Retry-After response header, wait a certain number of seconds and then repeat the request.
  • fix(container_registry): pagination when listing image tags in ghcr.io repository does not work (v2)
    • Perform tag listing without request tags limit.

Others

  • fix: associated environment variable has no effect on the value of the --repo-format option
  • fix(bundles): export failed with stacktrace when destination not defined
  • ci(actions): fix setup-gcloud not available

Installation

Linux amd64

Linux arm64

Darwin amd64

Darwin arm64

Windows amd64