Split up books into CI jobs

parent 80499a27
......@@ -13,7 +13,7 @@ before_script:
- make sync_pre
cache:
untracked: true
books:
.books:
stage: build
tags:
- casile
......
......@@ -167,6 +167,12 @@ time_warp: time_warp_avadanlik
time_warp_avadanlik:
$(call time_warp,$(AVADANLIKDIR))
# Create per book jobs in the CI config
define ci_setup ?=
yq -M -s -y -e --arg targets "$(TARGETS)" \
'. + ($$targets | [splits(" ") | { (.) : { "extends": ".books" }}]) | add'
endef
pre_sync = $(sync_nextcloud)
post_sync = $(sync_nextcloud)
......
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