Skip to content

@flant-team-sysdev flant-team-sysdev released this Sep 10, 2019 · 30 commits to master since this release

Fixes

  1. Suppress klog INFO and WARNING streams to disable excess messages from client-go

refs flant/kubedog#134
closes #1703

  1. Revert breaking change to fix git error:

[speedup git] Optimize git worktree switch procedure

Installation

Linux amd64

Darwin amd64

Windows amd64

Assets 2

@flant-team-sysdev flant-team-sysdev released this Sep 10, 2019 · 34 commits to master since this release

[speedup git] Optimize git worktree switch procedure

[ci-env] Fix typo in environment name of extra anno

  • WERF_ADD_ANNOTATION_GILAB_CI_PIPELINE_URL -> WERF_ADD_ANNOTATION_GITLAB_CI_PIPELINE_URL

Installation

Linux amd64

Darwin amd64

Windows amd64

Assets 2

@flant-team-sysdev flant-team-sysdev released this Sep 9, 2019 · 38 commits to master since this release

Revert experimental git worktree switch procedure to fix errors

Installation

Linux amd64

Darwin amd64

Windows amd64

Assets 2

@flant-team-sysdev flant-team-sysdev released this Sep 9, 2019 · 40 commits to master since this release

Optimize idle werf build!

  • Speedup git worktree switch procedure (#1644).
  • Do not fetch latest id for image specified in from directive on each run.
  • Cache git operations (checksum, archive and patch) in a single werf run.

Other fixes and improvements

  • [dockerfile] Fix resolving FROM with ARG does not work properly.
  • [dockerfile] Fix dockerfile stage is not cleaned up.
  • [dockerfile] Fix resolve symlink logic.
  • [cleanup] Log kubernetes context names.

Installation

Linux amd64

Darwin amd64

Windows amd64

Assets 2

@flant-team-sysdev flant-team-sysdev released this Sep 4, 2019 · 60 commits to master since this release

v1.0.4-alpha becomes v1.0.4 beta!

Helm chart dependencies commands

Docs available at: https://werf.io/documentation/reference/deploy_process/working_with_chart_dependencies.html

Also ability to install helm charts from official helm repo using werf helm deploy-chart CHART_REFERENCE RELEASE_NAME command, like:

werf helm deploy-chart stable/nginx-ingress myrelease

Configurable status-progress table period

Set --status-progress-period=N in seconds (5 seconds by default), set -1 to disable periodical status-progress-table. Works only for release resources.

Set --hooks-status-progress-period=N in seconds (5 seconds by default), set -1 to disable periodical status-progress-table. Works only for release hooks.

Other fixes

  • Fixed terminal width in gitlab-ci env to 95 chars, fixed kubedog status-progress table to fit into width.
  • Fix 'werf run --docker-opts="--rm"' does not remove container on SIGINT.

Installation

Linux amd64

Darwin amd64

Windows amd64

Assets 2

@flant-team-sysdev flant-team-sysdev released this Aug 30, 2019 · 65 commits to master since this release

Rename image-repo-mode option values

  • multirep to multirepo
  • monorep to monorepo

Installation

Linux amd64

Darwin amd64

Windows amd64

Assets 2

@flant-team-sysdev flant-team-sysdev released this Aug 30, 2019 · 154 commits to master since this release

[ci-env] Modify GitLab extra annotations

  • Add annotations
    • ci.werf.io/commit
    • gitlab.ci.werf.io/job-url
    • gitlab.ci.werf.io/pipeline-url
  • Rename annotation:
    • project.werf.io/gitlab-url to project.werf.io/git

Support Monorepo and multirepo

Store images in one or several Docker repositories by the following patterns:

  • IMAGES_REPO:[IMAGE_NAME-]TAG using monorepo mode.
  • IMAGES_REPO[/IMAGE_NAME]:TAG using multirepo mode.

[stapel builder] Improve git cache stage logic

  • Stage is empty if patch size is lower than patch size step (1MB)
  • Patch size is 0 if any git mapping commit from previous built image is not exists

[dockerfile image] addHost directive

Other

  • [docs] Reference/Publish process: images-repo-mode
  • [docs] Stapel Image/Adding source code from git repositories: add note about submodules
  • [docs] Configuration/Deploy into kubernetes: note about using Go templates functions in TEMPLATE
  • [docs] Publications: add articles about Dockerfiles
  • [logging] Up deploy
  • [tags] Specify --tag-custom values using environments WERF_TAG_CUSTOM*
  • [stapel image] Expand tilde to home directory for custom mount
  • [deploy] Default helm render engine

Installation

Linux amd64

Darwin amd64

Windows amd64

Assets 2

@flant-team-sysdev flant-team-sysdev released this Aug 29, 2019 · 66 commits to master since this release

werf helm repo/dependency commands

werf helm repo

add         Add a chart repository
fetch       Download a chart from a repository and (optionally) unpack it in local directory
init        Init default chart repositories configuration
list        List chart repositories
remove      Remove a chart repository
search      Search for a keyword in charts
update      Update information of available charts locally from chart repositories

werf helm dependency

build       Rebuild the charts/ directory based on the requirements.lock file
list        List the dependencies
update      Update charts/ based on the contents of requirements.yaml

Deploy chart by CHART_REFERENCE

$ werf helm deploy-chart stable/nginx-ingress myrelease 

[ci-env] Modify GitLab extra annotations

  • Add annotations
    • ci.werf.io/commit
    • gitlab.ci.werf.io/job-url
    • gitlab.ci.werf.io/pipeline-url
  • Rename annotation:
    • project.werf.io/gitlab-url to project.werf.io/git

[stapel image] Expand tilde to home directory for custom mount

mount:
- fromPath: ~/go-cache 
  to: /app/go-cache

Other

  • [deploy] Default helm render engine
  • [docs] Stapel Image/Adding source code from git repositories: add note about submodules
  • [docs] Configuration/Deploy into kubernetes: note about using Go templates functions in TEMPLATE
  • [docs] Publications: add articles about Dockerfiles
  • [logging] Up deploy
  • [ci-env] Defaults log terminal width to 95
  • [logging] Update status progress and log chunks view

Installation

Linux amd64

Darwin amd64

Windows amd64

Assets 2

@flant-team-sysdev flant-team-sysdev released this Aug 26, 2019 · 87 commits to master since this release

Merge pull request #1724 from flant/fix_macos_tmp_mount

[macOS] Fix mount tmp problem

Assets 2

@flant-team-sysdev flant-team-sysdev released this Aug 26, 2019 · 154 commits to master since this release

  • [macOS] Fix mount tmp problem
  • [docs] Tiny fixes

Installation

Linux amd64

Darwin amd64

Windows amd64

Assets 2
You can’t perform that action at this time.