Commit 62d31dda authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Prépare la release 1.0.2

parent f111f6e7
......@@ -5,7 +5,7 @@
tags: [docker]
variables:
PREZBUILDER_IMAGE: gitlab-registry.irstea.fr/pole-is/tools/prezbuilder
PREZBUILDER_TAG: master
PREZBUILDER_TAG: 1.0.2
PREZBUILDER_SRC: src
image:
name: "${PREZBUILDER_IMAGE}:${PREZBUILDER_TAG}"
......
% prezbuilder master
% prezbuilder 1.0.2
% Guillaume Perréal
% 2020-05
......@@ -29,18 +29,18 @@ Prérequis :
Installation :
```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.2'
```
## 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.2 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.2
```
## Avec Gitlab Pages
......@@ -54,7 +54,7 @@ graphes drawio.
```yaml
include:
- project: pole-is/tools/prezbuilder
ref: master
ref: 1.0.2
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.2 ${1:-build}
```
Ce script s'utilise comme celui présenté de NodeJS :
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment