secureCodeBox/secureCodeBox

View on GitHub
hooks/generic-webhook/Makefile

Summary

Maintainability
Test Coverage
#!/usr/bin/make -f
#
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0
#

include_guard = set
hook = generic-webhook

include ../../hooks.mk

.PHONY: deploy-test-deps
deploy-test-deps: deploy-test-dep-http-webhook 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 ro-hook . \
        --set="hook.image.repository=docker.io/$(IMG_NS)/$(hook-prefix)-$(name)" \
        --set="hook.image.tag=$(IMG_TAG)" \
        --set="webhookUrl=http://http-webhook/hallo-welt"