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.9+fix1

Published by flant-team-sysdev over 4 years ago

Fixes and docs

  • Use 1.1 stable in README installation and docs.
  • Fix: change stages-storage-cache dir to ~/.werf/shared_context/storage/stages_storage_cache/1/.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.8+fix11

Published by flant-team-sysdev over 4 years ago

Fix release

  • Use 1.1 stable in README installation and docs.
  • Change v1.1.8 stages-storage-cache dir to prevent bugs related to update to new v1.1.9.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.9

Published by flant-team-sysdev over 4 years ago

Support non-default docker registries implementations and dockerhub

Support stages-storage in docker registry

For now only when building from single host. Building from multiple hosts will be available soon in v1.1.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.8+fix10

Published by flant-team-sysdev over 4 years ago

Fix werf dockerfile image not rebuilds when COPY/ADD source path files changed

Fix COPY/ADD source path with trailing backslash is not counted in the signature.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.9-alpha.9

Published by flant-team-sysdev over 4 years ago

New builder features ported from v1.1 beta to v1.1 alpha

  • build artifacts only by werf build -s :local ARTIFACT ARTIFACT;
  • import from certain artifact/image stage by specifying stage directive in imports.

Fixes

Fix gitLatestPatch signature differs in different worktrees: handle git-diff patch index line in v1.1 compatible manner.

Werf stages-storage commands and changes

  • improved 'werf stages sync' command: implemented --remove-source and --cleanup-local-cache options;
  • implemented restriction for project to use only single stages-storage at a time,
    use 'werf stages switch' command to switch stages-storage for the project.
  • removed 'werf stages mv' command, use 'werf stages sync --remove-source' + 'werf stages switch' instead.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.8.9

Published by flant-team-sysdev over 4 years ago

Fix build panic when running 'werf build ARTIFACT' and artifact depends on another artifact

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.8.8

Published by flant-team-sysdev over 4 years ago

Fixes release

  • Fix gitLatestPatch signature differs in different worktrees: handle git-diff patch index line in v1.1 compatible manner.
  • Fix '@ERROR: auth failed on module import' when importing from aritfact stage: isolate rsync server configs properly.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.8.7

Published by flant-team-sysdev over 4 years ago

Support import from certain artifact/image stage

Added ability to specify stage directive in the import directive to perform import from certain artifact or image stage:

import:
- add: /file
  to: /file
  artifact: myartifact
  before: setup
  stage: install

Note that image which imports some files from another image stage will be rebuild only if this specified stage has been rebuilt.

This feature allows to avoid unnecessary imports of unchanged files.

Implementation details

  • image stages-signature has been renamed to image content-signature;
  • added content-signature to each stage, which differs from regular signature and represents content of the stage.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.8.6

Published by flant-team-sysdev over 4 years ago

Support building only artifacts specified for 'werf build' command

werf build -s :local ARTIFACT_NAME1 ARTIFACT_NAME2 ...

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.9-alpha.8

Published by flant-team-sysdev over 4 years ago

INCOMPATIBLE CHANGE Fix stages and images isolation problem for git-latest-patch and stages-signature

  • gitLatestPatch stage was not isolated between different branches when the same changes
    has been made in two different commits: added commits ancestry check when selecting
    suitable stage from cache for gitLatestPatch. The signature of gitLatestPatch stage
    has not been changed.

  • Stages-signature was not isolated between different branches when the same
    changes has been maed in two different commits. IMPORTANT stages-signature
    calculation algorithm has been changed, stages-signature will change for all projects
    that use stages-signature tagging strategy (content-based).

Remote storages support: more registries support, docs and fixes

  • Full support for Azure CR implementation.
  • Documented docker registry implementations.
  • Added separate stages docker images manifests cache in ~/.werf/local_cache/manifests/1/DOCKER_IMAGE_NAME_SHA256.
  • Added global locks for build, publish and images cleaning commands, to prevent collissions: only a single cleanup command
    can be active at one time, no build, publish or deploy command is allowed while cleanup command is wokring;
    but build, publish and deploy commands can work simultaneously.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.8.5

Published by flant-team-sysdev over 4 years ago

INCOMPATIBLE CHANGE Fix stages and images isolation problem for git-latest-patch and stages-signature

  • gitLatestPatch stage was not isolated between different branches when the same changes
    has been made in two different commits: added commits ancestry check when selecting
    suitable stage from cache for gitLatestPatch. The signature of gitLatestPatch stage
    has not been changed.

  • Stages-signature was not isolated between different branches when the same
    changes has been maed in two different commits. IMPORTANT stages-signature
    calculation algorithm has been changed, stages-signature will change for all projects
    that use stages-signature tagging strategy (content-based).

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.8.4

Published by flant-team-sysdev over 4 years ago

Werf kubernetes manifests yaml generation fixes

  1. Fix werf extra labels and annotations not added to deployed resources.

  2. Unfortunately revert fix to the problem with '|' rendered as '|-' in kubernetes templates,
    which was in the https://github.com/flant/werf/releases/tag/v1.1.7 release.

    The fix for this problem is being investigated and will be released soon.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.9-alpha.7

Published by flant-team-sysdev over 4 years ago

Fix cleanup-procedure that breaks builds and descriptive error in that case

  1. Cleanup procedure in the previous version was not cleaning stages-storage-cache ~/.werf/local_cache/stages_storage_v3, while deleting images from stages-storage. This behaviour lead to unexpected error during build-procedure, like: "Error response from daemon: No such image: sha256:69dcb14a44993b7...".
  2. When image has been found in the stages-storage-cache and does not exists in the stages-storage werf will print descriptive error prompting to delete stages-storage-cache. In the future versions werf will reset build automatically in this case.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.8.3

Published by flant-team-sysdev over 4 years ago

Fix failed to prepare update: unable to decode "": Object 'Kind' is missing

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.9-alpha.6

Published by flant-team-sysdev over 4 years ago

Fix extra annotations/labels are not added to k8s resources

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.8.2

Published by flant-team-sysdev over 4 years ago

Fix extra annotations/labels are not added to k8s resources

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.9-alpha.5

Published by flant-team-sysdev over 4 years ago

Remote storages support: fix 'error creating docker registry accessor for repo ... registries must be valid RFC 3986 URI'

Support registry or Docker Hub account as --images-repo value.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.9-alpha.4

Published by flant-team-sysdev over 4 years ago

Remote storages support: distributed builds

  • optimized distributed builds by not cleaning up built and fetched stages from localhost — these will be reused as a cache on retries;
  • added 'werf stages mv' command prototype to move built stages from one stages storage to another.
  • fix panic 'github.com/flant/werf/pkg/build/stage.(*BaseStage).getServiceMountsFromLabels', which occured when base image has been pulled from the registry.

Remote storages support: more registries available and fixes

  • full support for AWS ECR implementation;
  • enabled cleanup for stages storage when docker registry is used as a stages storage;
  • fix "UNSUPPORTED: Invalid parameter at 'maxResults'" when using ECR, by updating github.com/google/go-containerregistry, the issue: https://github.com/google/go-containerregistry/issues/681.
  • support registry/account as --images-repo value;
  • detailed error when user specifies incorrect credentials;
  • add options to specify Docker Hub token;
  • auto images repo mode: default repo mode for images repo implementation.

Other

  • fix lint and render panic: --insecure-registry, --skip-tls-verify-registry for images repo and stages repo by default, change stub "IMAGES_REPO" to "stub/repository".

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.8.1

Published by flant-team-sysdev over 4 years ago

Fixes

Fix "UNSUPPORTED: Invalid parameter at 'maxResults'" when using ECR. Fixed by updating github.com/google/go-containerregistry, the issue: https://github.com/google/go-containerregistry/issues/681.

Docs

Added publications about werf 1.1.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.9-alpha.3

Published by flant-team-sysdev over 4 years ago

More docker registries implementations support

  • harbor;
  • GitHub packages registry.

Installation

Linux amd64

Darwin amd64

Windows amd64