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.23+fix8

Published by flant-team-sysdev almost 4 years ago

Small features

Added .Values.global.werf.version service value with werf cli util version.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.23+fix7

Published by flant-team-sysdev almost 4 years ago

Fixes

Fix redundant stapel container initialization for dockerfile image

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.3+fix11

Published by flant-team-sysdev almost 4 years ago

Fixes

Fix remote git for stapel builder error: error writing ... meta.json: no such file or directory

Rework ~/.werf/local_cache/git_* caches files structure.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.4+fix4

Published by flant-team-sysdev almost 4 years ago

Fixes

Fix remote git for stapel builder error: error writing ... meta.json: no such file or directory

Rework ~/.werf/local_cache/git_* caches files structure.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.4+fix3

Published by flant-team-sysdev almost 4 years ago

Giterminism improvements

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.4+fix2

Published by flant-team-sysdev almost 4 years ago

Giterminism config extended

Giterminism config reside in werf-giterminism.yaml.

  • Allow fromLatest and branch:

    giterminismConfigVersion: "1"
    config:
      stapel:
        allowFromLatest: true
        git:
          allowBranch: true
    
  • Allow uncommitted config templates:

    giterminismConfigVersion: "1"
    config:
      allowUncommittedTemplates:
        - /*/**/
        - .werf/template.tmpl
    

Other:

  • Do not work without project git repository.
  • Custom config path (--config) must be in project directory.

Fixes

[cleanup] Fix goroutine stack exceeds limit

One checksum can be associated with many stages, so it is necessary to exclude the stage itself before processing linked imports

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.3+fix10

Published by flant-team-sysdev almost 4 years ago

Fixes

[cleanup] Fix goroutine stack exceeds limit

One checksum can be associated with many stages, so it is necessary to exclude the stage itself before processing linked imports

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.3+fix9

Published by flant-team-sysdev almost 4 years ago

Fixes

Fix deadline-exceeded when hook job took more than 5 min:

  • Fix default helm 5 min timeout => infinite.
  • Fix any timeout other than default results in 'context deadline' error.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.4+fix1

Published by flant-team-sysdev almost 4 years ago

Fixes

Fix deadline-exceeded when hook job took more than 5 min:

  • Fix default helm 5 min timeout => infinite.
  • Fix any timeout other than default results in 'context deadline' error.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.4

Published by flant-team-sysdev almost 4 years ago

Introduce werf-giterminism.yaml config

Implement fine-grained giterminism config (part 1), werf-giterminism.yaml:

giterminismConfigVersion: 1
config:
  stapel:
    mount:
      allowBuildDir:
      allowFromPaths:
        - PATH1
        - PATH2
  goTemplateRendering:
    allowEnvVariables:
      - VARIABLE_X
      - VARIABLE_Y
      - /CI_*/
  dockerfile:
    allowContextAddFile:
      - aaa
      - bbb
    allowUncommitted:
      - **/*
      - myapp/Dockerfile
    allowUncommittedDockerignoreFiles:
      - **/*
      - myapp/.dockerignore

WERF_LOOSE_GITERMINISM=1 still working but will be removed soon.

Fixes

Fix werf-helm-template and werf-helm-lint commands try to load kube config; fix werf-render command excess options.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.3+fix8

Published by flant-team-sysdev almost 4 years ago

Fixes

  • Fix Chart.lock file not unpacked when applying bundle.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.3+fix7

Published by flant-team-sysdev almost 4 years ago

Giterminism fixes

Extended support for git-submodules for the giterminism mode, added ability to have werf.yaml (or any other configuration files) which is symlink to another file, which reside in a submodule.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.3+fix6

Published by flant-team-sysdev almost 4 years ago

Fixes

Fix "unable to create registry client" error when DOCKER_CONFIG variable is set

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.3+fix5

Published by flant-team-sysdev almost 4 years ago

Fixes

Fix panic when running 'werf helm dependency update' in the project with secret files

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.3+fix4

Published by flant-team-sysdev almost 4 years ago

New bundle commands and fix bundle registry authentication

  • werf bundle export — creates resulting bundle chart directory without publishing this chart into the docker registry.
  • werf bundle download — downloads previously published chart into the directory without applying it into the kubernetes.

Use default ~/.docker/config.json authentication data when publishing and applying bundles.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.3+fix3

Published by flant-team-sysdev almost 4 years ago

Introduce initial werf bundle apply command

Publish (no kubernetes connection needed):

cd werf-project
werf bundle publish --repo REPO --tag TAG

Apply (Kubernetes connection required, no werf project needed):

werf bundle apply --repo REPO --tag TAG

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.3+fix2

Published by flant-team-sysdev almost 4 years ago

Fix error: unable to resolve docker endpoint: open .../ca.pem: no such file or directory

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.3+fix1

Published by flant-team-sysdev almost 4 years ago

Support docker client compatible tls docker server settings

Support following environment variables:

  • DOCKER_TLS
  • DOCKER_TLS_VERIFY
  • DOCKER_CERT_PATH

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.3

Published by flant-team-sysdev almost 4 years ago

Introduce 'werf bundle publish' command

werf bundle publish --repo REPO --tag TAG

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

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.2+fix6

Published by flant-team-sysdev almost 4 years ago

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.

Installation

Linux amd64

Darwin amd64

Windows amd64