Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
abbe79a
#1353 Quote project path to find package list
Weltraumschaf Sep 13, 2022
174a734
#1353 Quote paths in Makefile passed to shell
Weltraumschaf Sep 13, 2022
68d7a53
#1353 Movel help target to bottom of file
Weltraumschaf Sep 14, 2022
6c13d25
#1353 Fix phony targets
Weltraumschaf Sep 14, 2022
698adef
#1353 Escape paths to scripts in make targets
Weltraumschaf Sep 14, 2022
afce86a
#1353 Extract npm-ci-all shell code in script
Weltraumschaf Sep 14, 2022
d34fc57
#1353 Mark possible locations where spaces in path may break make tar…
Weltraumschaf Sep 14, 2022
f325f90
#1353 Fix the targets to test one scanner/hook
Weltraumschaf Sep 14, 2022
83e19f9
#1353 Test all targets and mark which ones fail with spaces in path
Weltraumschaf Sep 15, 2022
61dcffc
#1353 Add stub for ADR-0018
Weltraumschaf Sep 23, 2022
23dbcf8
#1353 Document the decission to forbid white spaces in file names
Weltraumschaf Sep 23, 2022
e4d21b0
#1353 Delete debug output in script
Weltraumschaf Sep 23, 2022
26eefec
#1353 Document the diferent sentinel character to separate npm packag…
Weltraumschaf Sep 23, 2022
9f9b5cd
#1353 Remove fixme markers bc we decided to not suppot white spaces
Weltraumschaf Sep 23, 2022
1252a35
#1353 Escape some paths to mitigate the white space problem
Weltraumschaf Sep 23, 2022
b305174
#1353 Reformat white spaces
Weltraumschaf Sep 23, 2022
fa14f9d
#1353 Fix typos
Weltraumschaf Sep 23, 2022
6a2626c
#1353 Fix indentation to tabs
Weltraumschaf Sep 29, 2022
e32775c
#1353 Document and fix indentation problem of conditionals in make
Weltraumschaf Sep 29, 2022
6d1698c
#1353 Add missing PHONY to make targets
Weltraumschaf Sep 29, 2022
2a7fcfb
#1353 Remove Capt'n Obvious comments
Weltraumschaf Sep 29, 2022
522cb04
#1353 Make npm-ci-all script work w/o direnv installed
Weltraumschaf Sep 29, 2022
47ad341
#1353 Include common.mk in main Makefile to enable precondition checks
Weltraumschaf Sep 29, 2022
3d5f4b5
#1353 List all tools on first error message
Weltraumschaf Sep 29, 2022
d446b8e
#1353 Remove quotes bc they're printed literaly in the output w/o esc…
Weltraumschaf Sep 29, 2022
e8bf064
#1353 Implement check for spaces in project path
Weltraumschaf Sep 29, 2022
4f89a6b
#1353 USe built in error function to stop on missing name var
Weltraumschaf Sep 29, 2022
a2f9752
#1353 Allso include spaces check in operator make file
Weltraumschaf Oct 6, 2022
2fa6cff
#1353 Allso include spaces check in auto-discovery make file
Weltraumschaf Oct 6, 2022
43a1fc8
#1353 Allso include spaces check in hooks make file
Weltraumschaf Oct 6, 2022
4fb225e
#1353 Allso include spaces check in scanners make file
Weltraumschaf Oct 6, 2022
df44f73
#1353 Use PHONY at the target it self
Weltraumschaf Oct 6, 2022
27308ab
#1353 Add common makle checks to the scanner sub module of zap advanced
Weltraumschaf Oct 6, 2022
e791e19
#1353 The ci jobs execute shells w/ /bin/sh so we can't rely on Bash …
Weltraumschaf Oct 10, 2022
5f7c2f6
#1353 Show errornous path to help understand the error
Weltraumschaf Oct 10, 2022
60968cc
#1353 Exctract prerequisites check into own make include
Weltraumschaf Oct 10, 2022
166ee23
#1353 Add python to error message
Weltraumschaf Oct 10, 2022
9c57332
#1353 Use extracted prerequistes.mk instead of common.mk
Weltraumschaf Oct 10, 2022
054bd12
#1353 Use extracted include and remove duplicated code
Weltraumschaf Oct 10, 2022
e38109f
#1353 Give the make file include a name and comment with more meaning
Weltraumschaf Oct 10, 2022
9bb8452
#1353 Replace copied and pasted comment
Weltraumschaf Oct 10, 2022
ad81545
#1353 Break too long lines
Weltraumschaf Oct 11, 2022
e426dec
#1353 Add go to required build tools
Weltraumschaf Oct 11, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 43 additions & 37 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@
#
# SPDX-License-Identifier: Apache-2.0

include ./prerequisites.mk
include ./env-paths.mk

all: help

.PHONY: npm-ci-all
npm-ci-all: ## Runs npm ci in all node module subfolders.
@echo "Installing all NPM dependencies"
@for package in $(PACKAGE_JSON_LIST); do \
echo "🧱 Installing dependencies for $${package}" && cd $$(dirname $${package}) && npm ci; \
done
@"$(BIN_DIR)/npm-ci-all.sh"

.PHONY: npm-test-all
npm-test-all: ## Runs all Jest based test suites.
Expand All @@ -21,91 +20,98 @@ npm-test-all: ## Runs all Jest based test suites.
test-all: install-operator install-sdks ## Runs all makefile based test suites (unit + integration Tests).
@echo "Running make test for all scanner and hook modules..."
@for dir in $(SCANNERS_TEST_LIST) $(HOOKS_TEST_LIST); do \
echo "🧪 Test Suite for $${dir}" && cd $$(dirname $$dir) && $(MAKE) -s test || exit 1; \
echo "🧪 Test Suite for $${dir}" && cd $$(dirname $$dir) && $(MAKE) -s test || exit 1; \
done

.PHONY: install-operator
install-operator: ## Install the operator for makefile based testing.
@echo "Installing the operator for makefile based testing..."
cd $(OPERATOR_DIR) && $(MAKE) -s docker-build docker-export kind-import helm-deploy
cd "$(OPERATOR_DIR)" && $(MAKE) -s docker-build docker-export kind-import helm-deploy

.PHONY: install-sdks
install-sdks: ## Install the SDKs for makefile based testing.
@echo "Installing the SDKs (parser, hooks) for makefile based testing..."
cd $(PARSER_SDK_DIR) && $(MAKE) -s docker-build
cd $(HOOK_SDK_DIR) && $(MAKE) -s docker-build
cd "$(PARSER_SDK_DIR)" && $(MAKE) -s docker-build
cd "$(HOOK_SDK_DIR)" && $(MAKE) -s docker-build

.PHONY: readme
readme: ## Generate README.md based on Chart.yaml and template.
$(BIN_DIR)/generate-helm-docs.sh --readme $(PROJECT_DIR) $(HELM_DOCS_DIR)
"$(BIN_DIR)/generate-helm-docs.sh" --readme $(PROJECT_DIR) $(HELM_DOCS_DIR)

.PHONY: hook-docs
hook-docs: ## Generate documentation for hooks.
@for chart in $(HOOKS_CHART_LIST); do \
$(BIN_DIR)/generate-helm-docs.sh --hook $${chart} $(HELM_DOCS_DIR); \
"$(BIN_DIR)/generate-helm-docs.sh" --hook "$${chart}" "$(HELM_DOCS_DIR)"; \
done

.PHONY: scanner-docs
scanner-docs: ## Generate documentation for scanners.
@for chart in $(SCANNERS_CHART_LIST); do \
$(BIN_DIR)/generate-helm-docs.sh --scanner $${chart} $(HELM_DOCS_DIR); \
"$(BIN_DIR)/generate-helm-docs.sh" --scanner "$${chart}" "$(HELM_DOCS_DIR)"; \
done

.PHONY: operator-docs
operator-docs: ## Generate documentation for the operator.
$(BIN_DIR)/generate-helm-docs.sh --operator $(OPERATOR_DIR)/Chart.yaml $(HELM_DOCS_DIR)
"$(BIN_DIR)/generate-helm-docs.sh" --operator "$(OPERATOR_DIR)/Chart.yaml" "$(HELM_DOCS_DIR)"

.PHONY: auto-discovery-docs
auto-discovery-docs: ## Generate documentation for the auto-discovery.
$(BIN_DIR)/generate-helm-docs.sh --operator $(AUTO_DISCOVERY_DIR)/kubernetes/Chart.yaml $(HELM_DOCS_DIR)
"$(BIN_DIR)/generate-helm-docs.sh" --operator "$(AUTO_DISCOVERY_DIR)/kubernetes/Chart.yaml" "$(HELM_DOCS_DIR)"

.PHONY: demo-target-docs
demo-target-docs: ## Generate documentation for demo targets.
@for chart in $(DEMO_TARGETS_CHART_LIST); do \
$(BIN_DIR)/generate-helm-docs.sh --demo-target $${chart} $(HELM_DOCS_DIR); \
"$(BIN_DIR)/generate-helm-docs.sh" --demo-target "$${chart}" "$(HELM_DOCS_DIR)"; \
done

.PHONY: docs
docs: readme hook-docs scanner-docs operator-docs auto-discovery-docs demo-target-docs ## Generate all documentation.

.PHONY: create-new-scanner
create-new-scanner: ## Creates templates for a new scanner, pass NAME=NEW-SCANNER to this target.
ifdef NAME
rm -rf $(SCANNERS_DIR)/$(NAME)
cp -r $(TEMPLATES_DIR)/new-scanner/ $(SCANNERS_DIR)/$(NAME)
find $(SCANNERS_DIR)/$(NAME) -type f ! -name tmp \
ifndef NAME
$(error Scanner name not defined, please provide via make create-new-scanner NAME=NEW-SCANNER)
endif
rm -rf "$(SCANNERS_DIR)/$(NAME)"
cp -r "$(TEMPLATES_DIR)/new-scanner/" "$(SCANNERS_DIR)/$(NAME)"
find "$(SCANNERS_DIR)/$(NAME)" -type f ! -name tmp \
-exec sed -n "s/new-scanner/$(NAME)/g;w $(SCANNERS_DIR)/$(NAME)/tmp" {} \; \
-exec mv $(SCANNERS_DIR)/$(NAME)/tmp {} \;
mv $(SCANNERS_DIR)/$(NAME)/templates/new-scanner-parse-definition.yaml \
$(SCANNERS_DIR)/$(NAME)/templates/$(NAME)-parse-definition.yaml
mv $(SCANNERS_DIR)/$(NAME)/templates/new-scanner-scan-type.yaml \
$(SCANNERS_DIR)/$(NAME)/templates/$(NAME)-scan-type.yaml
else
@echo "Scanner name not defined, please provide via make create-new-scanner NAME=NEW-SCANNER"
-exec mv "$(SCANNERS_DIR)/$(NAME)/tmp" {} \;
mv "$(SCANNERS_DIR)/$(NAME)/templates/new-scanner-parse-definition.yaml" \
"$(SCANNERS_DIR)/$(NAME)/templates/$(NAME)-parse-definition.yaml"
mv "$(SCANNERS_DIR)/$(NAME)/templates/new-scanner-scan-type.yaml" \
"$(SCANNERS_DIR)/$(NAME)/templates/$(NAME)-scan-type.yaml"

.PHONY: test-scanner
test-scanner: ## Shorthand to test a scanner w/o changing in its subdirectory.
ifndef NAME
$(error Scanner name not defined, please provide via make test-scanner NAME=SCANNER_NAME)
endif
$(MAKE) test -C $(SCANNERS_DIR)/$(NAME)

.PHONY: help
help: ## Display this help screen.
@grep -h -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | \
awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

test-scanner:
make test -C $(SCANNERS_DIR)/$(target)
test-hook:
make test -C $(HOOKS_DIR)/$(target)

.PHONY: test-hook
test-hook: ## Shorthand to test a hook w/o changing in its subdirectory.
ifndef NAME
$(error Hook name not defined, please provide via make test-hook NAME=HOOK_NAME)
endif
$(MAKE) test -C $(HOOKS_DIR)/$(NAME)

.PHONY:
.PHONY: lint
lint: ## Lint only changed files with respect to main branch
npx mega-linter-runner
@printf "\033[36m\n\n\nThe generated reports can be found under ./report/linters_logs/ \n\n\033[0m"

.PHONY:
.PHONY: lintfix
lintfix: ## Lint only changed files with respect to main branch and apply automatic fixes if possible
npx mega-linter-runner --fix
@printf "\033[36m\n\n\nThe generated reports can be found under ./report/linters_logs/ \n\n\033[0m"

.PHONY:
.PHONY: lintall
lintall: ## Lint complete repo
npx mega-linter-runner --env VALIDATE_ALL_CODEBASE=true
@printf "\033[36m\n\n\nThe generated reports can be found under ./report/linters_logs/ \n\n\033[0m"

.PHONY: help
help: ## Display this help screen.
@grep -h -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | \
awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
19 changes: 14 additions & 5 deletions auto-discovery/kubernetes/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
#
# SPDX-License-Identifier: Apache-2.0

include ../../prerequisites.mk

IMG_NS ?= securecodebox

# Image URL to use all building/pushing image targets
Expand All @@ -10,7 +12,10 @@ IMG ?= auto-discovery-kubernetes
# Tag used for the image
IMG_TAG ?= sha-$$(git rev-parse --short HEAD)

# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set).
# IMPORTANT: The body of conditionals MUST not be indented! Indentation result in
# errors on macOS/FreeBSD because the line wil be interpreted as command which must
# inside a recipe (target). (see https://github.com/secureCodeBox/secureCodeBox/issues/1353)
ifeq (,$(shell go env GOBIN))
GOBIN=$(shell go env GOPATH)/bin
else
Expand Down Expand Up @@ -71,7 +76,7 @@ test-setup: manifests generate fmt vet ## Run tests.
.PHONY: test
test: test-setup
source ${ENVTEST_ASSETS_DIR}/setup-envtest.sh; fetch_envtest_tools $(ENVTEST_ASSETS_DIR); setup_envtest_env $(ENVTEST_ASSETS_DIR); go test ./... -coverprofile cover.out

.PHONY: ginko
ginkgo:
source ${ENVTEST_ASSETS_DIR}/setup-envtest.sh; fetch_envtest_tools $(ENVTEST_ASSETS_DIR); setup_envtest_env $(ENVTEST_ASSETS_DIR); ginkgo test ./... -coverprofile cover.out -v --progress
Expand Down Expand Up @@ -111,18 +116,22 @@ kind-import:
helm-deploy:
@echo ".: ⚙️ Deploying auto-discovery with the Image tag '$(IMG_TAG)' into kind."
helm upgrade --install auto-discovery ./ --wait \
--set="image.repository=docker.io/$(IMG_NS)/$(IMG)" \
--set="image.tag=$(IMG_TAG)" \
--set="image.repository=docker.io/$(IMG_NS)/$(IMG)" \
--set="image.tag=$(IMG_TAG)" \
--set="image.pullPolicy=IfNotPresent" \

# IMPORTANT: The body of conditionals MUST not be indented! Indentation result in
# errors on macOS/FreeBSD because the line wil be interpreted as command which must
# inside a recipe (target). (see https://github.com/secureCodeBox/secureCodeBox/issues/1353)
ifndef ignore-not-found
ignore-not-found = false
ignore-not-found = false
endif

.PHONY: install
install: manifests kustomize ## Install CRDs into the K8s cluster specified in ~/.kube/config.
$(KUSTOMIZE) build config/crd | kubectl apply -f -


.PHONY: uninstall
uninstall: manifests kustomize ## Uninstall CRDs from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion.
$(KUSTOMIZE) build config/crd | kubectl delete --ignore-not-found=$(ignore-not-found) -f -
Expand Down
50 changes: 50 additions & 0 deletions bin/npm-ci-all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#!/usr/bin/env bash

set -euo pipefail

if [ -z "${PROJECT_DIR:-}" ]; then
echo >&2 "Waring: Env var PROJECT_DIR is not set! Maybe direnv is not installed/enabled."
echo >&2 "Determine PROJECT_DIR by myself..."
# @see: http://wiki.bash-hackers.org/syntax/shellvars
[ -z "${SCRIPT_DIRECTORY:-}" ] && SCRIPT_DIRECTORY="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
# Assuming we are in ./bin and need one level up.
PROJECT_DIR="$(dirname "${SCRIPT_DIRECTORY}")"
echo >&2 "Determined PROJECT_DIR is ${PROJECT_DIR}"
fi

# Found directives are delimited by : to make this script failsafe,
# if the repository working copy is cloned into a directory which
# contains white spaces in the file name.
# This find construct is based on https://stackoverflow.com/questions/4210042/how-to-exclude-a-directory-in-find-command/4210072#4210072
PACKAGE_JSON_LIST=$(find "$PROJECT_DIR" \( \
-name .git -o \
-name .github -o \
-name .idea -o \
-name .reuse -o \
-name .vagrant -o \
-name .vscode -o \
-name bin -o \
-name docs -o \
-name LICENSES -o \
-name coverage -o \
-name dist -o \
-name node_modules -o \
-name target \) \
-prune \
-false \
-o -type f \
-iname package.json \
-exec printf '%s:' {} + | sed '$s/:$/\n/')
# Print each path w/o newline but w/ : appended and then remove the last : with sed.

# We split on colon instead of any white space in the for loop.
IFS=':'
for package in $PACKAGE_JSON_LIST; do
echo "- ${package}"
echo "🧱 Installing dependencies for ${package}"
dir=$(dirname "${package}")
(
cd "${dir}"
npm ci
)
done
49 changes: 49 additions & 0 deletions docs/adr/adr_0018.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

title: "ADR-0018: Spaces in File Names Are Not Allowed"
sidebar_label: "ADR-0018"
---
# ADR-0018: Spaces in File Names Are Not Allowed

| <!-- --> | <!-- --> |
|----------------|----------------------------------------------------|
| **Status**: | ACCEPTED |
| **Date**: | 2022-09-20 |
| **Author(s)**: | Sven Strittmatter <sven.strittmatter@iteratec.com> |

## Context

We have the [issue](https://github.com/secureCodeBox/secureCodeBox/issues/1353) that most of our [make][gnu-make] targets fail, if this repository working copy is cloned into a file location which contains white spaces in its file path.

We chose [make][gnu-make] as build tool because of its maturity and capabilities, but it lacks one essential feature: Handling of white spaces in paths. Of course, it is possible to escape paths, but this has only an effect to paths passed as string to a make target's command which will be evaluated by the shell. [Make][gnu-make] itself ignores such escaping which leads to bugs especially in constructs such as:

```makefile
@for chart in $(HOOKS_CHART_LIST); do \
$(BIN_DIR)/generate-helm-docs.sh --hook $${chart} $(HELM_DOCS_DIR); \
done
```

### Problem

The for-construct of shell does word splitting on any whitespace, not only newline. We assume lists of directories delimited by newlines. We heavily rely on looping subdirectories with such loops to build our modules (scanners, hooks etc.). Using a different sentinel character (e.g. `:`) is not a possible fix because setting `IFS` in the `Makefile` has no effect on word splitting, even for while-read loops.

### Solutions

1. To fix this we need to extract all of these loop constructs into shell scripts (like `bin/npm-ci-all.sh` for the `npm-ci-all` target). That's lot of work and counteracts the sense of [make][gnu-make].
2. Use another build tool which can deal with this will also result in a lot of work. We just did this to use [make][gnu-make]. Luckily we cleaned up lot of things, so this may take less effort than the migration to [make][gnu-make].
3. Simply forbid white spaces in file names.

## Decision

We decided to simply forbid white spaces in file paths. If one clones the repository to a location with white spaces in the path we exit make with an error message.

## Consequences

- We must not use white spaces for filenames in our repository.
- Windows users will possibly have a slightly worse user experience.
- Someone who can't freely modify or change the target path for his working copy can't make the secureCodeBox.

[gnu-make]: https://www.gnu.org/software/make/
19 changes: 0 additions & 19 deletions env-paths.mk
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,3 @@ SCANNERS_TEST_LIST := $(sort $(wildcard $(SCANNERS_DIR)/*/Makefile))
HOOKS_CHART_LIST := $(sort $(wildcard $(HOOKS_DIR)/*/Chart.yaml))
HOOKS_TEST_LIST := $(sort $(wildcard $(HOOKS_DIR)/*/Makefile))
DEMO_TARGETS_CHART_LIST := $(sort $(wildcard $(DEMO_TARGETS_DIR)/*/Chart.yaml))
# This find construct is based on https://stackoverflow.com/questions/4210042/how-to-exclude-a-directory-in-find-command/4210072#4210072
PACKAGE_JSON_LIST := $(shell find $(PROJECT_DIR) \( \
-name .git -o \
-name .github -o \
-name .idea -o \
-name .reuse -o \
-name .vagrant -o \
-name .vscode -o \
-name bin -o \
-name docs -o \
-name LICENSES -o \
-name coverage -o \
-name dist -o \
-name node_modules -o \
-name target \) \
-prune \
-false \
-o -type f \
-iname package.json)
22 changes: 6 additions & 16 deletions hooks.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,17 @@
# SPDX-License-Identifier: Apache-2.0
#
#
# This Makefile is intended to be used for developement and testing only.
# For using this scanner/hook in production please use the helm chart.
# See: <https://www.securecodebox.io/docs/getting-started/installation>
#
# This Makefile expects some additional software to be installed:
# - git
# - node + npm
# - docker
# - kind
# - kubectl
# - helm
# - yq
# This include is a base for all hooks make files.

module = hook
prefix = hook
name = ${hook}

include ../../common.mk
include ../../test-base.mk
include ../../env-paths.mk
## Telling the env-paths file where the root project dir is. This is done to allow the generation of the paths of the different project folders relative to where the makefile is being run from.
## So BIN_DIR= $(PROJECT_DIR)/bin will be BIN_DIR=../../bin
# Telling the env-paths file where the root project dir is. This is done to allow the generation of the paths of the
# different project folders relative to where the makefile is being run from. So BIN_DIR= $(PROJECT_DIR)/bin will be
# BIN_DIR=../../bin
PROJECT_DIR=../..

module = $(hook-prefix)
Expand Down Expand Up @@ -55,4 +45,4 @@ integration-tests: ## 🩺 Start integration test for this module in the namespa
@echo ".: 🩺 Starting integration test in kind namespace 'integration-tests'."
kubectl -n integration-tests delete scans --all
npm ci --prefix $(TESTS_HELPERS_DIR)
cd $(hook-prefix) && npm ci && npm run test --package jest@$(JEST_VERSION)
cd $(hook-prefix) && npm ci && npm run test --package jest@$(JEST_VERSION)
6 changes: 4 additions & 2 deletions hooks/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
# SPDX-License-Identifier: Apache-2.0
#

include ../prerequisites.mk

.PHONY: integration-tests
integration-tests:
for dir in $(wildcard */.); do \
$(MAKE) integration-tests -C $$dir;\
done
$(MAKE) integration-tests -C $$dir;\
done
1 change: 1 addition & 0 deletions hooks/finding-post-processing/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ include ../../hooks.mk

deploy-test-deps: deploy-test-dep-test-scan

.PHONY: deploy
deploy:
@echo ".: 💾 Deploying '$(name)' $(hook-prefix) HelmChart with the docker tag '$(IMG_TAG)' into kind namespace 'integration-tests'."
helm -n integration-tests upgrade --install finding-post-processing . \
Expand Down
Loading