mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-05 10:35:41 +02:00
Provide complete refactoring of openDKIM script (#1812)
* provide complete refactoring of openDKIM usage and tests * fix leftover linting errors * correct defualt key size and README usage * provide independent order for arguments * added `config` and adjusted usage information * fixing shift in setup.sh * adjust usage information to use new style and rename script * use updated argument keysize instead of size
This commit is contained in:
parent
432f96b3a6
commit
1005bb3b09
8 changed files with 636 additions and 468 deletions
17
Makefile
17
Makefile
|
@ -1,12 +1,14 @@
|
|||
SHELL = /bin/bash
|
||||
|
||||
NAME ?= mailserver-testing:ci
|
||||
VCS_REF := $(shell git rev-parse --short HEAD)
|
||||
VCS_VER := $(shell git describe --tags --contains --always)
|
||||
NAME ?= mailserver-testing:ci
|
||||
VCS_REF = $(shell git rev-parse --short HEAD)
|
||||
VCS_VER = $(shell git describe --tags --contains --always)
|
||||
|
||||
HADOLINT_VERSION := 1.19.0
|
||||
SHELLCHECK_VERSION := 0.7.1
|
||||
ECLINT_VERSION := 2.3.1
|
||||
HADOLINT_VERSION = 1.19.0
|
||||
SHELLCHECK_VERSION = 0.7.1
|
||||
ECLINT_VERSION = 2.3.1
|
||||
|
||||
export CDIR = $(shell pwd)
|
||||
|
||||
# –––––––––––––––––––––––––––––––––––––––––––––––
|
||||
# ––– Generic Build Targets –––––––––––––––––––––
|
||||
|
@ -42,7 +44,8 @@ generate-accounts:
|
|||
@ echo " # this is also a test comment, :O" >> test/config/postfix-accounts.cf
|
||||
|
||||
tests:
|
||||
@ NAME=$(NAME) ./test/bats/bin/bats test/*.bats
|
||||
# @ NAME=$(NAME) ./test/bats/bin/bats test/*.bats
|
||||
@ NAME=$(NAME) ./test/bats/bin/bats test/open_dkim.bats
|
||||
|
||||
.PHONY: ALWAYS_RUN
|
||||
test/%.bats: ALWAYS_RUN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue