diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 98b1b6167001b63f754b6122f0a0823c2fd4cf7f..adf678225728895a942a9ae0b9413e2a0c77daf3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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