You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

157 lines
3.5 KiB

kind: pipeline
type: docker
name: compile
steps:
- name: compile individual chapters
image: stpranger/latex-minted-latexmk
commands:
- ./compile -d -b all
# TODO This does not work, since we have parallel pipelines!
# I was hoping to just run the release in the same container and therefore not needing to recompile
#when:
# event:
# exclude:
# - tag
- name: release chapter one
image: plugins/gitea-release
settings:
base_url: https://git.pranger.xyz
api_key:
from_secret: gitea_token
files:
- questionnaire_one.pdf
- questionnaire_with_solutions_one.pdf
- questionnaire_with_spacing_one.pdf
when:
ref:
include:
- refs/tags/release_one*
- name: release chapter two
image: plugins/gitea-release
settings:
base_url: https://git.pranger.xyz
api_key:
from_secret: gitea_token
files:
- questionnaire_two.pdf
- questionnaire_with_solutions_two.pdf
- questionnaire_with_spacing_two.pdf
when:
ref:
include:
- refs/tags/release_two*
- name: release chapter three
image: plugins/gitea-release
settings:
base_url: https://git.pranger.xyz
api_key:
from_secret: gitea_token
files:
- questionnaire_three.pdf
- questionnaire_with_solutions_three.pdf
- questionnaire_with_spacing_three.pdf
when:
ref:
include:
- refs/tags/release_three*
- name: release chapter four
image: plugins/gitea-release
settings:
base_url: https://git.pranger.xyz
api_key:
from_secret: gitea_token
files:
- questionnaire_four.pdf
- questionnaire_with_solutions_four.pdf
- questionnaire_with_spacing_four.pdf
when:
ref:
include:
- refs/tags/release_four*
- name: release chapter five
image: plugins/gitea-release
settings:
base_url: https://git.pranger.xyz
api_key:
from_secret: gitea_token
files:
- questionnaire_five.pdf
- questionnaire_with_solutions_five.pdf
- questionnaire_with_spacing_five.pdf
when:
ref:
include:
- refs/tags/release_five*
- name: release chapter six
image: plugins/gitea-release
settings:
base_url: https://git.pranger.xyz
api_key:
from_secret: gitea_token
files:
- questionnaire_six.pdf
- questionnaire_with_solutions_six.pdf
- questionnaire_with_spacing_six.pdf
when:
ref:
include:
- refs/tags/release_six*
- name: release chapter seven
image: plugins/gitea-release
settings:
base_url: https://git.pranger.xyz
api_key:
from_secret: gitea_token
files:
- questionnaire_seven.pdf
- questionnaire_with_solutions_seven.pdf
- questionnaire_with_spacing_seven.pdf
when:
ref:
include:
- refs/tags/release_seven*
- name: release chapter eight
image: plugins/gitea-release
settings:
base_url: https://git.pranger.xyz
api_key:
from_secret: gitea_token
files:
- questionnaire_eight.pdf
- questionnaire_with_solutions_eight.pdf
- questionnaire_with_spacing_eight.pdf
when:
ref:
include:
- refs/tags/release_eight*
- name: release chapter nine
image: plugins/gitea-release
settings:
base_url: https://git.pranger.xyz
api_key:
from_secret: gitea_token
files:
- questionnaire_nine.pdf
- questionnaire_with_spacing_nine.pdf
- questionnaire_with_solutions_nine.pdf
when:
ref:
include:
- refs/tags/release_nine*
trigger:
event:
include:
- push
- tag