Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Essential Makefile targets in repos which should tag code, publish and push Docker images
    • build - build the binaries and run all validation
    • test - run the unit tests and source code validation
    • docker-build - build all Docker images in the repo
    • docker-push - push all Docker images to the registry
    • lint - examine Go source code and reports coding problems
    • license - run license check
    • check-version - check version if it is valid and duplicated
    • clean - remove all build artifacts
    • help - show help message
  • Essential Makefile targets in repos which should tag code only
    • build - build the binaries and run all validation
    • test - run the unit tests and source code validation
    • lint - examine Go source code and reports coding problems
    • license - run license check
    • check-version - check version if it is valid and duplicated
    • clean - remove all build artifacts
    • help - show help message
  • Essential Makefile targets in repos which should tag code, publish and push Helm charts
    • build - build the binaries and run all validation
    • test - run the unit tests and source code validation
    • helm-package - package all Helm charts
    • helm-push - push all Helm charts to the registry
    • lint - examine Go source code and reports coding problems
    • license - run license check
    • check-version - check version if it is valid and duplicated
    • clean - remove all build artifacts
    • help - show help message
    • deps - run helm dependency update for all umbrella charts

Create a PR

  • Run two workflows in parallel
    • Workflow 1: Code scanning
      • Version check job: validate version in VERSION file with Makefile target - make check-version 
      • Lint job: check linters with Makefile target - make lint 
      • License job: check license with Makefile target - make license 
      • Fossa check job: run Fossa check with fossa-action 
    • Workflow 2: Test and build
      • Build job: build code with Makefile target - make build 
      • Test job: run tests with Makefile target - make test 

...