Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
variables:
GIT_SUBMODULE_STRATEGY: recursive
# input
VERSION:
value: ""
description: "Set version number of manuals"
image: registry.gitlab.com/islandoftex/images/texlive:TL2021-historic
NEMO manual:
tags:
- docker
stage: build
when: manual
script:
# fix sed in place issue between osx and linux
- sed -i "s/sed -i ''/sed -i /g" manual_build.sh
- version=${CI_COMMIT_REF_NAME}
- if [ "x${VERSION}" != "x" ] ; then version=${VERSION} ; fi
- bash -x manual_build.sh -r ${VERSION} -p NEMO
artifacts:
paths:
- NEMO_manual.pdf
expire_in: 1 hour
TOP manual:
tags:
- docker
stage: build
when: manual
script:
# fix sed in place issue between osx and linux
- sed -i "s/sed -i ''/sed -i /g" manual_build.sh
- bash -x manual_build.sh -r ${CI_COMMIT_REF_NAME} -p TOP
artifacts:
paths:
- TOP_manual.pdf
expire_in: 1 hour
SI3 manual:
tags:
- docker
stage: build
when: manual
script:
# fix sed in place issue between osx and linux
- sed -i "s/sed -i ''/sed -i /g" manual_build.sh
- bash -x manual_build.sh -r ${CI_COMMIT_REF_NAME} -p SI3
artifacts:
paths:
- SI3_manual.pdf
expire_in: 1 hour