mirror of
https://github.com/dokku/dokku.git
synced 2026-07-10 12:36:13 +02:00
The bash :report implementation for the certs plugin is replaced with a compiled golang binary. The certificate inspection getters run openssl and reproduce the existing field extraction, so the ssl report keys are unchanged, while collection now happens in parallel and json is marshalled directly. The now-unused fn-ssl-* display helpers are dropped, and fn-certs-set and fn-certs-remove remain for certs:add and certs:remove.
14 lines
419 B
Makefile
14 lines
419 B
Makefile
GOARCH ?= amd64
|
|
TRIGGERS = triggers/report
|
|
BUILD = report-subcommand triggers
|
|
PLUGIN_NAME = certs
|
|
|
|
clean-report-subcommand:
|
|
rm -rf report-subcommand
|
|
|
|
report-subcommand: clean-report-subcommand src/subcommands/subcommands.go
|
|
GOARCH=$(GOARCH) go build -mod=readonly -ldflags="-s -w" $(GO_ARGS) -o report-subcommand src/subcommands/subcommands.go
|
|
ln -sf ../report-subcommand subcommands/report
|
|
|
|
include ../../common.mk
|