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

ci on perso.isima.fr

parent ce4f211d
No related branches found
No related tags found
No related merge requests found
Pipeline #6154 failed
......@@ -25,6 +25,16 @@ build:
- update-locale LANG=fr_FR.UTF-8
- . /etc/default/locale
- pelican content
# krb5 auth
- apt-get install -y --force-yes krb5-user krb5-config
- echo "#!/bin/sh" > hex2bin
- echo "sed 's/\([0-9A-F]\{2\}\)/\\\\\\x\1/gI' \"$1\" | xargs printf" > hex2bin
- echo "#!/bin/sh" > bin2hex
- echo "hexdump -v -e '1/1 \"%02x\"' \"$1\"" > bin2hex
- echo "$KEYTAB" > my.keytab.hex
- ./hex2bin my.keytab.hex > my.keytab
- kinit -k -t my.keytab vimazeno@LOCAL.ISIMA.FR
- ssh -K vimazeno@perso.isima.fr "mkdir -p ~/public_html/"
artifacts:
untracked: true
......@@ -35,5 +45,5 @@ deploy:
- build
script:
- apt-get install -y --force-yes rsync
- rsync -az --exclude '_' -e ssh output/ $USERNAME@$HOST:~/public_html/
- rsync -az --exclude '_' -e ssh output/ vimazeno@perso.isima.fr:~/public_html/
when: manual
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