Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pôle IS
Outillage
prezbuilder
Commits
d6d2a73d
Commit
d6d2a73d
authored
May 13, 2020
by
Guillaume Perréal
Browse files
Prépare la release 1.0.3
parent
03b480ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
prezbuilder-ci.yml
View file @
d6d2a73d
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
tags
:
[
docker
]
tags
:
[
docker
]
variables
:
variables
:
PREZBUILDER_IMAGE
:
gitlab-registry.irstea.fr/pole-is/tools/prezbuilder
PREZBUILDER_IMAGE
:
gitlab-registry.irstea.fr/pole-is/tools/prezbuilder
PREZBUILDER_TAG
:
master
PREZBUILDER_TAG
:
1.0.3
PREZBUILDER_SRC
:
src
PREZBUILDER_SRC
:
src
image
:
image
:
name
:
"
${PREZBUILDER_IMAGE}:${PREZBUILDER_TAG}"
name
:
"
${PREZBUILDER_IMAGE}:${PREZBUILDER_TAG}"
...
...
src/index.md
View file @
d6d2a73d
% prezbuilder
master
% prezbuilder
1.0.3
% Guillaume Perréal
% Guillaume Perréal
% 2020-05
% 2020-05
...
@@ -29,18 +29,18 @@ Prérequis :
...
@@ -29,18 +29,18 @@ Prérequis :
Installation :
Installation :
```
bash
```
bash
npm
install
--global
'git+https://gitlab.irstea.fr/pole-is/tools/prezbuild.git#
master
'
npm
install
--global
'git+https://gitlab.irstea.fr/pole-is/tools/prezbuild.git#
1.0.3
'
```
```
## Avec Docker
## Avec Docker
L'image gitlab-registry.irstea.fr/pole-is/tools/prezbuilder:
master
contient
L'image gitlab-registry.irstea.fr/pole-is/tools/prezbuilder:
1.0.3
contient
une version préinstallée de prezbuilder avec pandoc et wkhtmltopdf, _mais pas
une version préinstallée de prezbuilder avec pandoc et wkhtmltopdf, _mais pas
drawio_.
drawio_.
```
bash
```
bash
docker login gitlab-registry.irstea.fr
docker login gitlab-registry.irstea.fr
docker pull gitlab-registry.irstea.fr/pole-is/tools/prezbuilder:
master
docker pull gitlab-registry.irstea.fr/pole-is/tools/prezbuilder:
1.0.3
```
```
## Avec Gitlab Pages
## Avec Gitlab Pages
...
@@ -54,7 +54,7 @@ graphes drawio.
...
@@ -54,7 +54,7 @@ graphes drawio.
```
yaml
```
yaml
include
:
include
:
-
project
:
pole-is/tools/prezbuilder
-
project
:
pole-is/tools/prezbuilder
ref
:
master
ref
:
1.0.3
file
:
prezbuilder-ci.yml
file
:
prezbuilder-ci.yml
pages
:
pages
:
...
@@ -156,7 +156,7 @@ Il est recommandé de créer un script `prezbuilder` pour faciliter l'utilisatio
...
@@ -156,7 +156,7 @@ Il est recommandé de créer un script `prezbuilder` pour faciliter l'utilisatio
```
shell
```
shell
#!/usr/bin/env bash
#!/usr/bin/env bash
docker run
--rm
-t
--init
-u
`
id
-u
`
:
`
id
-g
`
-v
`
readlink
${
2
:-
src
}
`
:/src:ro
-v
`
readlink
${
3
:-
public
}
`
:/public
-p
3000:3000/tcp
-p
35729:35729/tcp gitlab-registry.irstea.fr/pole-is/tools/prezbuilder:
master
${
1
:-
build
}
docker run
--rm
-t
--init
-u
`
id
-u
`
:
`
id
-g
`
-v
`
readlink
${
2
:-
src
}
`
:/src:ro
-v
`
readlink
${
3
:-
public
}
`
:/public
-p
3000:3000/tcp
-p
35729:35729/tcp gitlab-registry.irstea.fr/pole-is/tools/prezbuilder:
1.0.3
${
1
:-
build
}
```
```
Ce script s'utilise comme celui présenté de NodeJS :
Ce script s'utilise comme celui présenté de NodeJS :
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment