Skip to content
Snippets Groups Projects
Commit 41ff9ac0 authored by Vincent Mazenod's avatar Vincent Mazenod
Browse files

update gitlab ci

parent 47dcbbc3
No related branches found
No related tags found
No related merge requests found
Pipeline #9287 passed with warnings
......@@ -7,10 +7,25 @@ cache:
build:
stage: build
script:
- apt update
# dépendances pelican thèmes
- apt-get install -y --force-yes build-essential python-dev python-pip git nodejs nodejs-legacy npm
- pip install --upgrade pip==9.0.3
- pip install -r requirements.txt
- cd content && npm install && cd ..
- sed -i "s/RELATIVE_URLS = True/RELATIVE_URLS = False/" pelicanconf.py
- apt-get install -y --force-yes locales
- locale-gen fr_FR
- locale-gen fr_FR.UTF-8
- update-locale LANG=fr_FR.UTF-8
- . /etc/default/locale
- apt-get install -y --force-yes rsync
- apt-get install -y --force-yes krb5-user krb5-config
# génération du HTML statique dans le répertoire output
- pelican content
# dépendance pour l'authentification kerberos
- echo -e "krb5-config krb5-config/default_realm string LOCAL.ISIMA.FR" | debconf-set-selections
- apt-get install -y --force-yes krb5-user krb5-config
# récupération du KEYTAB en hexa
# récupération du KEYTAB en hexa
- echo "$KEYTAB" > my.keytab.hex
# conversion du KEYTAB en hexa en binaire
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment