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.2+fix5

Published by flant-team-sysdev almost 4 years ago

Fixes and tests

[dockerfile] Fix contextAddFile checksum calculation

  • Fix empty checksum
  • Fix os-sensitive contextAddFile path in the checksum

[logging] Show nameless image correctly

[tests] Build/Stapel/Git: developer mode test
[tests] Dockerfile Suite: fix project name is not set
[tests] Dockerfile Suite: upd contextAddFile test
[ci] Daily Tests: fix temporary docker config directory

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.2+fix4

Published by flant-team-sysdev almost 4 years ago

Fixes

  • [dockerfile] Temporarily force BuildKit deactivation due to the bug in the docker client when used as a go library
  • Fix 'werf render' uses kubernetes based lock due to typo.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.2+fix3

Published by flant-team-sysdev almost 4 years ago

Fixes

  • [dev] Fix not initialized true git package.
  • [stapel, dev] Fix adding dev label to the building image.
  • [giterminism] Check untracked .helm/Chart.yaml exists in the chart.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.2+fix2

Published by flant-team-sysdev almost 4 years ago

Fixes

  • [web] Update metainfo in page template.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.2+fix1

Published by flant-team-sysdev almost 4 years ago

Rework dev mode for stapel and dockerfile

  • Werf creates temporary commits in the dev-mode.
  • Files from the git index used in the dev-mode.
  • Support dev-mode in conjunction with the follow-mode.
  • Commit staged files to dev branch werf-dev-<commit>.
  • Add werf-dev label to git stage images.

Change default werf images storage for GitLab CI/CD and GitHub Actions

  • Remove /werf repo suffix for GitLab CI/CD;
  • Remove -werf repo suffix for GitHub Actions.

NOTE. This is breaking change, incompatible with the previous werf versions.

Other

  • Fix "list event error: context cancelled" log messages.
  • [web] Update metainfo in page template.
  • More fixes for werf-related ci tests.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.23+fix6

Published by flant-team-sysdev almost 4 years ago

Fixes

Fix "Error: parsing file ... failed: yaml: unmarshal errors ... cannot unmarshal !!map into string"

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.2

Published by flant-team-sysdev almost 4 years ago

[developer mode] Introduce developer mode for dockerfile builder

Pass --dev flag to the werf-converge command to use files which are staged for git-commit as a build context (including Dockerfile itself).

Not yet supported:

  • dev-mode for stapel builder;
  • dev-mode for helm templates.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.1+fix6

Published by flant-team-sysdev almost 4 years ago

Support subcharts in the giterminism mode

Support subcharts loading from the local filesystem in the giterminism mode:

  • Read committed dependencies lock file (requirements.lock or Chart.lock).
  • Scan local filesystem for the charts archives specified in the lock-file and use these charts in the giterminism mode.

No auto werf helm dependency build yet.

Fixes

[deploy] Fix max releases history: use default limit = 10.
[deploy] Fix dismiss --with-namespace not waiting until namespace terminated.

Other changes

[build] Remove stages_and_images read-only lock during build process

  • stages_and_images read only lock is preventive measure against running cleanup and build commands at the same time;
  • this lock creates unnecessary load on the synchronization server, because this lock working all the time the build process is active for each build process;
  • it is mostly safe to just omit this lock completely;
  • also removed unused "image" lock from the lock manager (legacy from v1.1).
  • also renamed kubernetes-related stage and stage-cache locks to include project name (just for more correctness, incompatible with v1.1 change).

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.1+fix5

Published by flant-team-sysdev almost 4 years ago

Determinism to giterminism

Renamed determinism to giterminism: git + determinism or "determinated by the git".

--disable-determinism param renamed to --loose-giterminism (WERF_DISABLE_DETERMINSM to WERF_LOOSE_GITERMINISM).

Helm related changes

  • Update helm to v3.4.1.
  • Fix auto generation of Chart.yaml:
    • Take Chart.yaml from the repository if exists.
    • Override metadata.name field with werf project name from the werf.yaml.
    • Set metadata.version = 1.0.0 if not set.
  • Make Chart.yaml optional for all werf helm * commands.
  • Fix enable --with-namespace and --with-hooks werf-dismiss options not working.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.1+fix4

Published by flant-team-sysdev almost 4 years ago

Docs

  • Fix quickstart minikube setup guides for MacOS and Windows.
    • Make a separate instructions list for Windows, MacOS and Linux OS in the quickstart guide.
    • Require for werf dependencies installation explicitly.

Werf CI and tests

[ci] Disable ECR and GitHub Packages cleanup tests more visibly.
[ci] Enable windows self hosted runners.
[ci] K8s versions: 1.16, 1.17, 1.18, 1.19.
[tests] Config Suite: fix line breaks.
[tests] Helm Suite

Fixes

[render, windows] Fix helm does not recognize chart templates.
[windows] Fix unable to read file from local git repo.
[render] Fix comment with template source path.
Fix incorrect usage of println/printf-like functions.
Clean kubedog log from klog warnings: silence klog/v2 and klog.
Fix checking existence of secret files in chart.
[logging, debug] Disable debug docker messages.

Other

[stapel] Remove the ability to cache each instruction separately with asLayers directive.
Remove unused code.
Remove samples.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.1+fix3

Published by flant-team-sysdev almost 4 years ago

Docs

Fixes

  • [windows] Fix unable to rename archive (file already use by another process).
  • [helm] Fix disable-determinism flag is not added to commands which lead to panics.
  • Fix werf helm 3 does not respect WERF_KUBE_* settings.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.1+fix2

Published by flant-team-sysdev almost 4 years ago

Determinism

Determinism is enabled by default since v1.2.1 version.

  • All configuration and application files will be taken from the current git commit in this mode.
  • Usage and existance of uncommitted files in the git work tree is restricted.

What's new in this version:

  • Pass Dockerfile builder context from the current git commit arhive, not from the current git work tree with uncommitted files.
  • Use contextAddFile directive for dockerfile builder to override and add specified uncommitted or untracked files to the context from the current git work tree:
image: X
dockerfile: Dockerfile
context: vote
contextAddFile:
 - app.py
 - some-generated-file.tar.gz
  • contextAddFile will affect checksum calculation of the dockerfile stage during building phase.
  • Load all helm-related configuration (.helm/templates, --values, --secret-values, --set-file from the local git repo commit).

Other

  • Refactor git patches and archives generation.
    • store tmp patches and archives in the ~/.werf/local_cache/git_data/1/tmp/ instead of /tmp;
    • store patches cache in the ~/.werf/local_cache/git_data/1/patches/;
    • store archives cache in the ~/.werf/local_cache/git_data/1/archives/.
  • [docs] Refactor directive summary block for stapel.
  • [ci] Documentation Validation Workflow.

Fixes

  • Fix get-namespace, get-release and rotate-secret-key commands panics.
  • [report] Fix envfile report format
    • name:
      • use template WERF_<FORMATTED_WERF_IMAGE_NAME>_DOCKER_IMAGE_NAME instead of WERF_IMAGE_<FORMATTED_WERF_IMAGE_NAME>_NAME
      • replace charset -/ in werf image name with _
    • value: set docker image name instead of werf image name
  • Update kubedog: fix Job hanging case (https://github.com/werf/kubedog/pull/184), fix color disabled in CI/CD systems.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.22+fix37

Published by flant-team-sysdev almost 4 years ago

Fixes

Update kubedog: fix Job hanging case (https://github.com/werf/kubedog/pull/184), fix color disabled in CI/CD systems.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.23+fix5

Published by flant-team-sysdev almost 4 years ago

Fixes

Update kubedog: fix Job hanging case (https://github.com/werf/kubedog/pull/184), fix color disabled in CI/CD systems.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.23+fix4

Published by flant-team-sysdev almost 4 years ago

Fix documentation broken links

Also:

  • [ci] Documentation Validation Workflow.
  • [docs] Refactor directive summary block for stapel.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.22+fix36

Published by flant-team-sysdev almost 4 years ago

Fix documentation broken links

Also:

  • [ci] Documentation Validation Workflow.
  • [docs] Refactor directive summary block for stapel.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.1.21+fix32

Published by flant-team-sysdev almost 4 years ago

Fix documentation broken links

Also:

  • [ci] Documentation Validation Workflow.
  • [docs] Refactor directive summary block for stapel.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.0.13+fix4

Published by flant-team-sysdev almost 4 years ago

Fix documentation broken links

Also:

  • [ci] Documentation Validation Workflow.
  • [docs] Refactor directive summary block for stapel.

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.0+fix9

Published by flant-team-sysdev almost 4 years ago

Fix report-related panic on werf-run command

Installation

Linux amd64

Darwin amd64

Windows amd64

werf - werf v1.2.0+fix8

Published by flant-team-sysdev almost 4 years ago

Build images report rework

  • Fix build images report not working.
  • Add envfile report format (--report-format=envfile).
  • Change report format structure.

Installation

Linux amd64

Darwin amd64

Windows amd64