Exclude some tag patterns from needing some builds

parent c6b3d3c4
......@@ -190,7 +190,7 @@ $(OUTPUTDIR):
# Create per book jobs in the CI config
define ci_setup ?=
yq -M -s -y -e --arg sources "$(strip $(SOURCES))" \
'. + ($$sources | [splits(" ") as $$target | [["pdfs", "renderings", "promotionals"][] as $$action | { ($$target+"."+$$action) : { "extends": ("."+$$action), "only": [ "master", ("/^"+$$target+"\\/.*/") ], "artifacts": { "paths": [($$target+"*")] } }}][]]) | add'
'. + ($$sources | [splits(" ") as $$target | [["pdfs", "renderings", "promotionals"][] as $$action | { ($$target+"."+$$action) : { "extends": ("."+$$action), "only": [ "master", ("/^"+$$target+"\\/.*/")], "except": (if ($$action != "pdfs") then ["/.*\\/isbn-basvuru$$/", "/.*\\/\\d+\\.-basim$$/"] else null end), "artifacts": { "paths": [($$target+"*")] } }}][]]) | add'
endef
require_inputdir = $(or $(strip $(INPUTDIR)),fail)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment