Commit 0c33db70 authored by Christophe Benz's avatar Christophe Benz
Browse files

Update CI config

parent 32a4e336
......@@ -4,15 +4,27 @@ before_script:
- apt --yes update
- apt --yes install --no-install-recommends git python3 python3-pip python3-setuptools
- pip3 install --requirement requirements.txt
# Run ssh-agent (inside the build environment).
- eval $(ssh-agent -s)
# Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store.
- ssh-add <(echo "$SSH_PRIVATE_KEY")
# Add the SSH keys of remote Git servers, to disable host key checking questions.
- mkdir -p ~/.ssh
- ssh-keyscan -t rsa >> ~/.ssh/known_hosts
- git config --global push.default simple
- git config --global ""
- git config --global "Validata documentation builder"
- git config --global ""
- git config --global "Validata documentation generator"
stage: build
- python3 static/schemas
- git checkout -B "$CI_BUILD_REF_NAME" "$CI_BUILD_REF"
- git clone
- python3 validata-doc/schemas
- cd validata-doc
- git add -A
- git commit -m "Update documentation" || true
- git push origin master
- git push
# Validata-doc
# validata-doc-generator
## Génération de documentation en Markdown
......@@ -11,5 +11,5 @@ python3 table_schema.json >
Générer un fichier Markdown pour chacun des schémas de Validata :
python3 static/schemas
python3 /path/to/validata-doc/schemas/
Supports Markdown
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