debugci (#12)
All checks were successful
continuous-integration/drone/tag Build is passing

Co-authored-by: Julien Fastré <julien.fastre@champs-libres.coop>
Reviewed-on: Vendee/manuals#12
This commit is contained in:
2022-05-16 13:12:55 +00:00
parent 8e3c6634fa
commit 9f0418299f
14 changed files with 85 additions and 66 deletions

View File

@@ -3,14 +3,21 @@ kind: pipeline
type: docker
name: build-release
clone:
disable: true
steps:
- name: submodules
- name: clone
image: plugins/git
settings:
recursive: true
- name: fetch images
image: alpine/git
commands:
- git submodule init
- git submodule update --recursive --remote
- git lfs fetch
- git lfs fetch
- git lfs checkout
- name: pandoc
image: pandoc/core:2.18-alpine
@@ -18,11 +25,19 @@ steps:
- sh build-pandoc.sh latex user > user/user-manual.tex
- sh build-pandoc.sh latex admin > admin/admin-manual.tex
- name: build-latex
image: ghcr.io/xu-cheng/texlive-full:latest
- name: build-latex-user
image: texlive/texlive
commands:
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex user/user-manual.tex
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex admin/admin-manual.tex
- cd user
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex user-manual.tex
- mv user-manual.pdf ../.
- name: build-latex-admin
image: texlive/texlive
commands:
- cd admin
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex admin-manual.tex
- mv admin-manual.pdf ../.
- name: release
image: plugins/gitea-release
@@ -36,9 +51,11 @@ steps:
checksum:
- sha512
title: ${DRONE_TAG:=latest}
prerelease: true
when:
event:
- tag
---
kind: signature
hmac: ba0091444464145c540b6dd7407af9b765cf6a31460b88d590ea6eccc7659a7e
hmac: 686b3bf2e6d8ffd370cfde19d9110b6c71af6e2dc4afc3c1b8d7a5016397ee3e
...