helm-diff-notifier

command module
v0.0.0-...-b35c3aa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2021 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Coverage Status Go Report Card CircleCI

Introduction

Helm Diff Notifier is a simple tool based on helm-diff, mainly using in the CI pipeline, to send the helm diff result to GitHub PR review page.

demo.png

Features

  • Could simplify diff result by picking up the key diff lines
    • Eventually found there is already a feature in helm-diff, that could simplify the final result by providing option -C int
  • Desensitization by using provided rules

Usage

Right now it is only supported in CircleCI pipeline, you could config the tool like below:

  1. Setup Github Token as GITHUB_API_TOKEN in the CircleCI context

  2. Config CircleCI jobs in config.yml to use this tool with helm diff result

    helm diff upgrade -n namespace foo-release | helm-diff-notifier
    

Development

Prerequisites:

  • Docker

This project is fully dockerized. So you could setup your local env by only install Docker.

Basic commands used in local dev:

  • enable debug mode, export HELM_DIFF_DEBUG=true
  • run test, make test
  • build local dev image, make build-dev-image

More commands you could check the details in Makefile

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL