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.1.21+fix12

Published by distorhead over 4 years ago

Doc CI/CD integration fixes

  • Updating supported CI systems + a few corrections.
  • Fixed intro for unsupported CI systems.
  • Renaming generic CI/CD integration doc.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.21+fix11

Published by distorhead over 4 years ago

New implementation of distributed locking http server: use new version of lockgate

https://github.com/werf/lockgate/pull/26

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.20+fix14

Published by distorhead over 4 years ago

Shallow clone related fixes

Do origin fetch only when git shallow clone is detected. The complete commit history is enough for all commands except images cleanup.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.21+fix10

Published by distorhead over 4 years ago

Do origin fetch only when git shallow clone is detected

The complete commit history is enough for all commands except images cleanup

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.20+fix13

Published by distorhead over 4 years ago

Optimistic git shallow clone handling

  • Ignore git shallow clone when it is possible
  • Force using git shallow clone despite restrictions with option --allow-git-shallow-clone

The new cleanup algorithm: config syntax updates and fixes

[cleanup] Change configuration syntax: replace createdIn/publishedIn with in
[docs] Configuration/Cleanup: replace createdIn/publishedIn with in
[tests] Cleanup Suite: update syntax
[tests] Cleanup Suite: fix checks are not compatible with monorepo implementations
[cleanup] UNAUTHORIZED error should not be ignored
[cleanup] Fail purge commands if deletion failed due to using by containers without the force option

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.21+fix9

Published by distorhead over 4 years ago

Optimistic git shallow clone handling

  • Ignore git shallow clone when it is possible
  • Force using git shallow clone despite restrictions with option --allow-git-shallow-clone

The new cleanup algorithm: config syntax updates and fixes

[cleanup] Change configuration syntax: replace createdIn/publishedIn with in
[docs] Configuration/Cleanup: replace createdIn/publishedIn with in
[tests] Cleanup Suite: update syntax
[tests] Cleanup Suite: fix checks are not compatible with monorepo implementations
[cleanup] UNAUTHORIZED error should not be ignored

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.20+fix12

Published by distorhead over 4 years ago

Docs and small fixes

[docs] Reference/Cleanup: more details for git history based cleanup
[managed images] Ignore artifact names
[docs] Adding href rels to topnav.html
[docs] Adding rels to slack_popup.html links for security

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.21+fix8

Published by distorhead over 4 years ago

Docs and small fixes

[docs] Reference/Cleanup: more details for git history based cleanup
[managed images] Ignore artifact names
[docs] Adding href rels to topnav.html
[docs] Adding rels to slack_popup.html links for security

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.19+fix9

Published by distorhead over 4 years ago

Fix dockerfile ONBUILD

[dockerfile] Take into account ONBUILD instructions from base image

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.20+fix11

Published by distorhead over 4 years ago

Fix dockerfile ONBUILD

[dockerfile] Take into account ONBUILD instructions from base image

The new cleanup algorithm updates

[tests] Cleanup Suite: fix commit commiter when overriding
[cleanup] Improve logging: shortify commit and content signature
[cleanup] Disable meta images fetching by default

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.21+fix7

Published by distorhead over 4 years ago

Fix dockerfile ONBUILD

[dockerfile] Take into account ONBUILD instructions from base image

The new cleanup algorithm updates

[tests] Cleanup Suite: fix commit commiter when overriding
[cleanup] Improve logging: shortify commit and content signature
[cleanup] Disable meta images fetching by default

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.20+fix10

Published by distorhead over 4 years ago

Fix AWS ECR build and publish

Fix AWS ECR build/publish problem 'Image has to have at least 1 layer'

Create empty zero-bytes layer for manifest-only images: managed images records and image metadata by commit id records.

The new cleanup algorithm backports for v1.1.20

[cleanup] Update default policies
[cleanup] Fix parsing of cleanup policy tag/branch parameter
[cleanup] Use creation date for annotated tags instead of head commit date
[docs] Reference/Git history based cleanup

[cleanup] Git history based cleanup: improve algorithm

  • Add opportunity to keep images by publishing period.
  • Update default policies
  • Update cleanup section configuration:
cleanup:
    keepPolicies:
    - references:
        branch: /.*/
        tag: /.*/
        limit:
        last: 10
        createdIn: 168h
        operator: And
    imagesPerReference:
        last: 10
        publishedIn: 168h
        operator: And

[tests] Cleanup Suite: git history based tests
[logging] Optimize verbose output

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.21+fix6

Published by distorhead over 4 years ago

The new cleanup algorithm updates

[cleanup] Update default cleanup policies
[docs] Git history based cleanup

Fix AWS ECR build and publish

Fix AWS ECR build/publish problem 'Image has to have at least 1 layer'

Create empty zero-bytes layer for manifest-only images: managed images records and image metadata by commit id records.

Other

[docs] Reference/Publish process: fix typo

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.21+fix5

Published by distorhead over 4 years ago

Deploy updates and fixes

  • Update Helm core: 2.16.1 => 2.16.9.
  • Fix support --kube-config-base64 for helm subsystem (fix deploy command failure when --kube-config-base64 option used).

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.21+fix4

Published by distorhead over 4 years ago

Rework syncrhonization kubernetes param

  • Rework --syncrhonization param (WERF_SYNCHRONIZATION env var): specify all kube-related params in the URI-like string:
    • kubernetes://NAMESPACE[:CONTEXT][@(base64:BASE64_CONFIG_DATA)|CONFIG_PATH]
  • Added --kube-config-base64 param (or WERF_KUBECONFIG_BASE64, or WERF_KUBE_CONFIG_BASE64, or KUBECONFIG_BASE64 env var) support.
    • Werf does not generate config file and unpacks specified base64 yaml config into memory.
  • Improve validation of kube-connection params validation for synchronization components
    • Check KUBECONFIG env var setting and print warnings.

The new cleanup algorithm improvements and fixes

[cleanup] Git history based cleanup: improve algorithm

  • Add opportunity to keep images by publishing period.
  • Update default policies
  • Update cleanup section configuration:
cleanup:
    keepPolicies:
    - references:
        branch: /.*/
        tag: /.*/
        limit:
        last: 10
        createdIn: 168h
        operator: And
    imagesPerReference:
        last: 10
        publishedIn: 168h
        operator: And

[cleanup] Fail purge commands if deletion failed due to using by containers without the force option
[logging] Optimize verbose output
[tests] Cleanup Suite: git history based tests

Other: werf ci, tests, docs and small fixes

[ci] Enable GitHub Docker registry implementation tests
[ci] Fix shallow git clone makes several tests fail

[render] Fix stub env value ENV
Error: bad Helm release 'project-ENV' rendered by template '[[ project ]]-[[ env ]]': helm release name should be a valid DNS-1123 subdomain and be maximum 53 chars: a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is a-z0-9?(.a-z0-9?)*')

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.21+fix3

Published by distorhead over 4 years ago

Added separate kube-connection for synchronization components (part 2, fixes)

Fix --synchronization-kube-context param not working.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.20+fix9

Published by distorhead over 4 years ago

Fixes

Git history synchronization: sync tags only with git >=2.17.0.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.21+fix2

Published by distorhead over 4 years ago

Added separate kube-connection for synchronization components (lock-manager and stages-storage-cache)

Also print warnings when user explicitly specified --kube-config or context, but not specified --synchronization-kube-config or context.

Fixes

Git history synchronization: sync tags only with git >=2.17.0.
[ci_env] GitHub: skip defaults for images repo and stages storage if werf.yaml is not found.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.19+fix8

Published by distorhead over 4 years ago

Cleanup fixes

[cleanup] Fix UNAUTHORIZED: authentication required error with gitlab.com
[docker_registry] Autodetect gitlab.com implementation

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.20+fix8

Published by distorhead over 4 years ago

Cleanup fixes

[cleanup] Fix UNAUTHORIZED: authentication required error with gitlab.com
[docker_registry] Autodetect gitlab.com implementation

Installation

Linux amd64

Darwin amd64

Windows amd64