forked from Chill-project/manuals
parallelization
This commit is contained in:
parent
476b0b31c1
commit
34af210f7f
13
.drone.yml
13
.drone.yml
@ -18,12 +18,16 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- git lfs fetch
|
- git lfs fetch
|
||||||
- git lfs checkout
|
- git lfs checkout
|
||||||
|
depends_on:
|
||||||
|
- clone
|
||||||
|
|
||||||
- name: pandoc
|
- name: pandoc
|
||||||
image: pandoc/core:2.18-alpine
|
image: pandoc/core:2.18-alpine
|
||||||
commands:
|
commands:
|
||||||
- sh build-pandoc.sh latex user > user/user-manual.tex
|
- sh build-pandoc.sh latex user > user/user-manual.tex
|
||||||
- sh build-pandoc.sh latex admin > admin/admin-manual.tex
|
- sh build-pandoc.sh latex admin > admin/admin-manual.tex
|
||||||
|
depends_on:
|
||||||
|
- fetch images
|
||||||
|
|
||||||
- name: build-latex-user
|
- name: build-latex-user
|
||||||
image: texlive/texlive
|
image: texlive/texlive
|
||||||
@ -31,6 +35,8 @@ steps:
|
|||||||
- cd user
|
- cd user
|
||||||
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex user-manual.tex
|
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex user-manual.tex
|
||||||
- mv user-manual.pdf ../Manuel\ utilisateur.pdf
|
- mv user-manual.pdf ../Manuel\ utilisateur.pdf
|
||||||
|
depends_on:
|
||||||
|
- pandoc
|
||||||
|
|
||||||
- name: build-latex-admin
|
- name: build-latex-admin
|
||||||
image: texlive/texlive
|
image: texlive/texlive
|
||||||
@ -38,6 +44,8 @@ steps:
|
|||||||
- cd admin
|
- cd admin
|
||||||
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex admin-manual.tex
|
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex admin-manual.tex
|
||||||
- mv admin-manual.pdf ../Manuel\ administrateur.pdf
|
- mv admin-manual.pdf ../Manuel\ administrateur.pdf
|
||||||
|
depends_on:
|
||||||
|
- pandoc
|
||||||
|
|
||||||
- name: release
|
- name: release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
@ -49,11 +57,14 @@ steps:
|
|||||||
- "Manuel administrateur.pdf"
|
- "Manuel administrateur.pdf"
|
||||||
- "Manuel utilisateur.pdf"
|
- "Manuel utilisateur.pdf"
|
||||||
title: ${DRONE_TAG:=latest}
|
title: ${DRONE_TAG:=latest}
|
||||||
|
depends_on:
|
||||||
|
- build-latex-user
|
||||||
|
- build-latex-admin
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: dc200b08e09b83e734ff829ac62c7daf5f80986f725edac1b974b07793adb4b0
|
hmac: a83892d8f9bb967bd2a6335e2b34008e05f9bec482f270237c6764918434f97c
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user