2021-07-26 19:33:39 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2022-05-16 09:22:05 +00:00
|
|
|
name: build-release
|
|
|
|
|
2022-05-16 10:48:21 +00:00
|
|
|
clone:
|
2022-05-16 10:50:28 +00:00
|
|
|
disable: true
|
2022-05-16 10:48:21 +00:00
|
|
|
|
2021-07-26 19:33:39 +00:00
|
|
|
steps:
|
|
|
|
|
2022-05-16 10:48:21 +00:00
|
|
|
- name: clone
|
|
|
|
image: plugins/git
|
|
|
|
settings:
|
|
|
|
recursive: true
|
2021-07-26 19:33:39 +00:00
|
|
|
|
|
|
|
- name: pandoc
|
2022-05-16 10:19:46 +00:00
|
|
|
image: pandoc/core:2.18-alpine
|
2021-07-26 19:33:39 +00:00
|
|
|
commands:
|
2022-05-16 11:11:25 +00:00
|
|
|
- sh build-pandoc.sh latex user > user/user-manual.tex
|
|
|
|
- sh build-pandoc.sh latex admin > admin/admin-manual.tex
|
2021-07-26 19:33:39 +00:00
|
|
|
|
2022-05-16 11:14:30 +00:00
|
|
|
- name: build-latex-user
|
2022-05-16 12:08:25 +00:00
|
|
|
image: texlive/texlive
|
2021-07-26 19:33:39 +00:00
|
|
|
commands:
|
2022-05-16 10:48:21 +00:00
|
|
|
- echo "images"
|
|
|
|
- ls user/img
|
2022-05-16 12:27:39 +00:00
|
|
|
- echo $PWD
|
2022-05-16 11:14:30 +00:00
|
|
|
- cd user
|
2022-05-16 12:27:39 +00:00
|
|
|
- echo $PWD
|
2022-05-16 11:14:30 +00:00
|
|
|
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex user-manual.tex
|
|
|
|
|
|
|
|
- name: build-latex-admin
|
2022-05-16 12:08:25 +00:00
|
|
|
image: texlive/texlive
|
2022-05-16 11:14:30 +00:00
|
|
|
commands:
|
|
|
|
- echo "images"
|
|
|
|
- ls user/img
|
2022-05-16 12:27:39 +00:00
|
|
|
- echo $PWD
|
2022-05-16 11:14:30 +00:00
|
|
|
- cd admin
|
2022-05-16 12:27:39 +00:00
|
|
|
- echo $PWD
|
2022-05-16 11:14:30 +00:00
|
|
|
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex admin-manual.tex
|
2021-07-26 19:33:39 +00:00
|
|
|
|
|
|
|
- name: release
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: gitea_key
|
|
|
|
base_url: https://gitea.champs-libres.be
|
|
|
|
files:
|
|
|
|
- user-manual.pdf
|
2021-08-25 15:46:54 +00:00
|
|
|
- admin-manual.pdf
|
2021-07-26 19:33:39 +00:00
|
|
|
checksum:
|
|
|
|
- sha512
|
2022-05-16 09:27:13 +00:00
|
|
|
title: ${DRONE_TAG:=latest}
|
2021-07-26 19:33:39 +00:00
|
|
|
prerelease: true
|
2022-05-16 09:22:05 +00:00
|
|
|
---
|
|
|
|
kind: signature
|
2022-05-16 12:27:39 +00:00
|
|
|
hmac: 7061eedadaaf5244494cbf9ad8a503de19475097b89443b35a2853a9ca816761
|
2022-05-16 09:22:05 +00:00
|
|
|
|
|
|
|
...
|