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
a2aab569
Commit
a2aab569
authored
May 13, 2020
by
Guillaume Perréal
Browse files
Prépare la release 1.0.1
parent
0d431439
Changes
2
Show whitespace changes
Inline
Side-by-side
prezbuilder-ci.yml
View file @
a2aab569
...
...
@@ -5,7 +5,7 @@
tags
:
[
docker
]
variables
:
PREZBUILDER_IMAGE
:
gitlab-registry.irstea.fr/pole-is/tools/prezbuilder
PREZBUILDER_TAG
:
master
PREZBUILDER_TAG
:
1.0.1
PREZBUILDER_SRC
:
src
image
:
name
:
"
${PREZBUILDER_IMAGE}:${PREZBUILDER_TAG}"
...
...
src/index.md
View file @
a2aab569
% prezbuilder
master
% prezbuilder
1.0.1
% Guillaume Perréal
% 2020-05
...
...
@@ -34,13 +34,13 @@ npm install --global git+https://gitlab.irstea.fr/pole-is/tools/prezbuild.git
## 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.1
contient
une version préinstallée de prezbuilder avec pandoc et wkhtmltopdf, _mais pas
drawio_.
```
bash
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.1
```
## Avec Gitlab Pages
...
...
@@ -54,7 +54,7 @@ graphes drawio.
```
yaml
include
:
-
project
:
pole-is/tools/prezbuilder
ref
:
master
ref
:
1.0.1
file
:
prezbuilder-ci.yml
pages
:
...
...
@@ -156,7 +156,7 @@ Il est recommandé de créer un script `prezbuilder` pour faciliter l'utilisatio
```
shell
#!/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.1
${
1
:-
build
}
```
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