Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
blog.limos.fr
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vincent MAZENOD
blog.limos.fr
Commits
c07d7aab
Commit
c07d7aab
authored
3 years ago
by
Vincent Mazenod
Browse files
Options
Downloads
Patches
Plain Diff
update content
parent
1e4d5dd7
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+0
-18
0 additions, 18 deletions
.gitlab-ci.yml
content/pages/moi.md
+1
-1
1 addition, 1 deletion
content/pages/moi.md
pelicanconf.py
+1
-1
1 addition, 1 deletion
pelicanconf.py
with
2 additions
and
20 deletions
.gitlab-ci.yml
+
0
−
18
View file @
c07d7aab
...
...
@@ -7,23 +7,6 @@ cache:
build
:
stage
:
build
script
:
# dépendances pelican thèmes
-
apt update
-
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
# 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
-
echo "$KEYTAB" > my.keytab.hex
# conversion du KEYTAB en hexa en binaire
...
...
@@ -43,7 +26,6 @@ build:
-
ssh -o StrictHostKeyChecking=no -K vimazeno@perso.local.isima.fr "echo ' Header set Content-Disposition attachment' >> ~/public_html/_/.htaccess"
-
ssh -o StrictHostKeyChecking=no -K vimazeno@perso.local.isima.fr "echo '</FilesMatch>' >> ~/public_html/_/.htaccess"
# rsync du HTML statique généré
-
apt-get install -y --force-yes rsync
-
rsync -az --exclude '_' -e "ssh -o StrictHostKeyChecking=no -K" output/ vimazeno@perso.local.isima.fr:~/public_html/
-
ssh -o StrictHostKeyChecking=no -K vimazeno@perso.local.isima.fr "mkdir -p ~/public_html/node_modules"
-
rsync -az -e "ssh -o StrictHostKeyChecking=no -K" content/node_modules/ vimazeno@perso.local.isima.fr:~/public_html/node_modules
...
...
This diff is collapsed.
Click to expand it.
content/pages/moi.md
+
1
−
1
View file @
c07d7aab
...
...
@@ -7,7 +7,7 @@ save_as: index.html
url: index.html
Number: 2
## <i class="fas fa-desktop"></i> Ingénieur d
'Étud
e Informatique au CNRS <a class="expand btn btn-primary float-right">version courte</a>
## <i class="fas fa-desktop"></i> Ingénieur d
e Recherch
e Informatique au CNRS <a class="expand btn btn-primary float-right">version courte</a>
### "You can't defend. You can't prevent. The only thing you can do is detect and respond." *Bruce Schneier*
...
...
This diff is collapsed.
Click to expand it.
pelicanconf.py
+
1
−
1
View file @
c07d7aab
...
...
@@ -4,7 +4,7 @@ from __future__ import unicode_literals
import
os
AUTHOR
=
'
Vincent Mazenod
'
SITENAME
=
'
Vincent Mazenod / ingénieur d
\'
études
'
SITENAME
=
'
Vincent Mazenod / ingénieur d
e recherche
'
SITELOGO
=
'
images/mazenovi.png
'
OIMPHOTO
=
'
images/oim.png
'
FAVICON
=
'
images/favicon.ico
'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment