diff --git a/Pepiniere/docker/.gitignore b/Pepiniere/docker/.gitignore new file mode 100644 index 0000000..4635e8f --- /dev/null +++ b/Pepiniere/docker/.gitignore @@ -0,0 +1,2 @@ +*.tgz +*.pdf diff --git a/Pepiniere/docker/.gitlab-ci.yml b/Pepiniere/docker/.gitlab-ci.yml new file mode 100644 index 0000000..367be7b --- /dev/null +++ b/Pepiniere/docker/.gitlab-ci.yml @@ -0,0 +1,112 @@ +variables: + GIT_SUBMODULE_STRATEGY: recursive + +stages: + - build + +build-pdf-introduction-aux-conteneurs: + stage: build + image: + name: astefanutti/decktape:2.11.0 + entrypoint: [""] + only: + - schedules + tags: + - sii + - france + script: + # + # 1. We change the size with --size due to a strange rendering bug + # as decribed here: https://github.com/astefanutti/decktape/issues/151 + # + # 2. We also specify --chrome-arg=--disable-web-security to autorize + # Cross origin requests in chrome as described here: + # https://github.com/astefanutti/decktape/issues/157 + # + - node /decktape/decktape.js --chrome-path chromium-browser --chrome-arg=--no-sandbox --chrome-arg=--disable-web-security --size='1576x1182' 1.introduction-aux-conteneurs/index.html docker.introduction-aux-conteneurs.pdf + artifacts: + name: introduction-aux-conteneurs + expire_in: 8 days + paths: + - docker.introduction-aux-conteneurs.pdf + + +build-pdf-images-de-conteneurs: + stage: build + image: + name: astefanutti/decktape:2.11.0 + entrypoint: [""] + only: + - schedules + tags: + - sii + - france + script: + # + # 1. We change the size with --size due to a strange rendering bug + # as decribed here: https://github.com/astefanutti/decktape/issues/151 + # + # 2. We also specify --chrome-arg=--disable-web-security to autorize + # Cross origin requests in chrome as described here: + # https://github.com/astefanutti/decktape/issues/157 + # + - node /decktape/decktape.js --chrome-path chromium-browser --chrome-arg=--no-sandbox --chrome-arg=--disable-web-security --size='1576x1182' 2.images-de-conteneurs/index.html docker.images-de-conteneurs.pdf + artifacts: + name: images-de-conteneurs + expire_in: 8 days + paths: + - docker.images-de-conteneurs.pdf + + +build-pdf-conteneurs-utilisation-avancee: + stage: build + image: + name: astefanutti/decktape:2.11.0 + entrypoint: [""] + only: + - schedules + tags: + - sii + - france + script: + # + # 1. We change the size with --size due to a strange rendering bug + # as decribed here: https://github.com/astefanutti/decktape/issues/151 + # + # 2. We also specify --chrome-arg=--disable-web-security to autorize + # Cross origin requests in chrome as described here: + # https://github.com/astefanutti/decktape/issues/157 + # + - node /decktape/decktape.js --chrome-path chromium-browser --chrome-arg=--no-sandbox --chrome-arg=--disable-web-security --size='1576x1182' 3.conteneurs-utilisation-avancee/index.html docker.conteneurs-utilisation-avancee.pdf + artifacts: + name: conteneurs-utilisation-avancee + expire_in: 8 days + paths: + - docker.conteneurs-utilisation-avancee.pdf + + +build-pdf-swarm: + stage: build + image: + name: astefanutti/decktape:2.11.0 + entrypoint: [""] + only: + - schedules + tags: + - sii + - france + script: + # + # 1. We change the size with --size due to a strange rendering bug + # as decribed here: https://github.com/astefanutti/decktape/issues/151 + # + # 2. We also specify --chrome-arg=--disable-web-security to autorize + # Cross origin requests in chrome as described here: + # https://github.com/astefanutti/decktape/issues/157 + # + - node /decktape/decktape.js --chrome-path chromium-browser --chrome-arg=--no-sandbox --chrome-arg=--disable-web-security --size='1576x1182' 5.swarm/index.html docker.swarm.pdf + artifacts: + name: swarm + expire_in: 8 days + paths: + - docker.swarm.pdf diff --git a/Pepiniere/docker/.gitmodules b/Pepiniere/docker/.gitmodules new file mode 100644 index 0000000..7797423 --- /dev/null +++ b/Pepiniere/docker/.gitmodules @@ -0,0 +1,4 @@ +[submodule "revealjs"] + path = revealjs + url = ../../template-revealjs-sii-theme.git + diff --git a/Pepiniere/docker/0.introduction-formation/images/CTRITTEN.jpg b/Pepiniere/docker/0.introduction-formation/images/CTRITTEN.jpg new file mode 100644 index 0000000..6c0a9a0 Binary files /dev/null and b/Pepiniere/docker/0.introduction-formation/images/CTRITTEN.jpg differ diff --git a/Pepiniere/docker/0.introduction-formation/images/MPOULLAIN.jpg b/Pepiniere/docker/0.introduction-formation/images/MPOULLAIN.jpg new file mode 100644 index 0000000..ae93aa0 Binary files /dev/null and b/Pepiniere/docker/0.introduction-formation/images/MPOULLAIN.jpg differ diff --git a/Pepiniere/docker/0.introduction-formation/images/docker-wave-whale.svg b/Pepiniere/docker/0.introduction-formation/images/docker-wave-whale.svg new file mode 100644 index 0000000..2d94a52 --- /dev/null +++ b/Pepiniere/docker/0.introduction-formation/images/docker-wave-whale.svg @@ -0,0 +1,40 @@ + + \ No newline at end of file diff --git a/Pepiniere/docker/0.introduction-formation/index.html b/Pepiniere/docker/0.introduction-formation/index.html new file mode 100755 index 0000000..3b7e54e --- /dev/null +++ b/Pepiniere/docker/0.introduction-formation/index.html @@ -0,0 +1,72 @@ + + +
+ + + +'+(n?e:a(e,!0))+"
\n":""+(n?e:a(e,!0))+"
"},i.prototype.blockquote=function(e){return"\n"+e+"\n"},i.prototype.html=function(e){return e},i.prototype.heading=function(e,t,n){return this.options.headerIds?"
"+e+"
\n"},i.prototype.table=function(e,t){return t&&(t=""+t+""),""+e+"
"},i.prototype.br=function(){return this.options.xhtml?""+a(e.message+"",!0)+"";throw e}}d.exec=d,m.options=m.setOptions=function(e){return f(m.defaults,e),m},m.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new i,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},m.defaults=m.getDefaults(),m.Parser=o,m.parser=o.parse,m.Renderer=i,m.TextRenderer=l,m.Lexer=n,m.lexer=n.lex,m.InlineLexer=s,m.inlineLexer=s.output,m.parse=m,"undefined"!=typeof module&&"object"==typeof exports?module.exports=m:"function"==typeof define&&define.amd?define(function(){return m}):e.marked=m}(this||("undefined"!=typeof window?window:global)); \ No newline at end of file diff --git a/Pepiniere/docker/index/sii.css b/Pepiniere/docker/index/sii.css new file mode 100755 index 0000000..5c640aa --- /dev/null +++ b/Pepiniere/docker/index/sii.css @@ -0,0 +1,134 @@ + +/********************************************* + * GLOBAL STYLES + *********************************************/ + +html { + background-color: #fff; /* fix dark background on full screen mode */ } + +body { + margin: 0; + background: #fff; + background-color: #fff; + background-image: url('header-sii.png'); /* SII header with 5 colors */ + background-size: contain; + background-repeat: no-repeat; + font-family: Helvetica, sans-serif; + font-size: 1rem; + font-weight: normal; + line-height: 1.6; + color: #222; } + +#content { + margin: auto; + width: 40rem; + padding: 2rem 1rem 2rem 1rem ; +} + +/********************************************* + * HEADERS + *********************************************/ +h1, +h2, +h3, +h4, +h5, +h6 { + margin: 2.5rem 0 20px 0; + color: #222; + font-family: Helvetica, sans-serif; + font-weight: 600; + line-height: 1.2; + letter-spacing: normal; + text-shadow: none; + word-wrap: break-word; } + +h1 { + font-size: 2.5em; } + +h2 { + font-size: 1.6em; } + +h3 { + font-size: 1.3em; } + +h4 { + font-size: 1em; } + +h1 { + text-shadow: none; } + +/********************************************* + * OTHER + *********************************************/ +strong, +b { + font-weight: bold; } + +em { + text-decoration: underline;} + +ol { + list-style-type: decimal; } + +ul { + list-style-type: square; } + +ul ul { + list-style-type: disc; } + +ul ul ul { + list-style-type: circle; } + + + +/********************************************* + * LINKS + *********************************************/ +a { + color: #6ca0e8; + text-decoration: underline; + -webkit-transition: color .15s ease; + -moz-transition: color .15s ease; + transition: color .15s ease; } + +a:hover { + color: #2a76dd; + border: none; } + + +/********************************************* + * IMAGES + *********************************************/ +img { + margin: 15px 0px; +} + +a img { + -webkit-transition: all .15s linear; + -moz-transition: all .15s linear; + transition: all .15s linear; } + +a:hover img { + background: rgba(255, 255, 255, 0.2); + border-color: #2a76dd; + box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } + + +/********************************************* + * Logo and footer + *********************************************/ +.logo { + position: absolute; + top: 1.5rem; + right: 1.5rem; + width: 8rem; +} + +.footer { + margin: 0; + padding: 0.2rem; + font-size: 0.8rem; + color: #fff; + background-color: #88B4DC; +} diff --git a/Pepiniere/docker/revealjs/.gitignore b/Pepiniere/docker/revealjs/.gitignore new file mode 100644 index 0000000..8eda50e --- /dev/null +++ b/Pepiniere/docker/revealjs/.gitignore @@ -0,0 +1,13 @@ +.idea/ +*.iml +*.iws +*.eml +out/ +.DS_Store +.svn +log/*.log +tmp/** +node_modules/ +.sass-cache +css/reveal.min.css +js/reveal.min.js diff --git a/Pepiniere/docker/revealjs/README.md b/Pepiniere/docker/revealjs/README.md new file mode 100644 index 0000000..c389a82 --- /dev/null +++ b/Pepiniere/docker/revealjs/README.md @@ -0,0 +1,13 @@ +# template-revealjs-sii-theme + +Template SII pour diaporama [reveal.js](http://lab.hakim.se/reveal-js/). + +Ce thème est actuellement utilisé pour les slides des formations Ansible, Docker, GitLab, Kubernetes et OpenStack. + +Le thème propose : + +- un habillage respecteux de la charte graphique SII, + +- quelques [fonctionnalités utiles](content.md) (comme la gestion de taille des portions de code ou des tableaux). + +Enjoy! diff --git a/Pepiniere/docker/revealjs/bower.json b/Pepiniere/docker/revealjs/bower.json new file mode 100644 index 0000000..036d276 --- /dev/null +++ b/Pepiniere/docker/revealjs/bower.json @@ -0,0 +1,24 @@ +{ + "name": "reveal.js", + "version": "3.8.0", + "main": [ + "js/reveal.js", + "css/reveal.css" + ], + "homepage": "http://revealjs.com", + "license": "MIT", + "description": "The HTML Presentation Framework", + "authors": [ + "Hakim El Hattab
Keyboard Shortcuts
KEY | ACTION | '; + for( var key in keyboardShortcuts ) { + html += '
---|---|
' + key + ' | ' + keyboardShortcuts[ key ] + ' |
' + registeredKeyBindings[binding].key + ' | ' + registeredKeyBindings[binding].description + ' |