Skip to content

Commit

Permalink
chore: refactor school to revealjs
Browse files Browse the repository at this point in the history
  • Loading branch information
bogaertg committed Apr 14, 2020
1 parent dc91612 commit 3be00b2
Show file tree
Hide file tree
Showing 346 changed files with 82,166 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .dependabot/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 1
update_configs:
# Keep package.json (& lockfiles) up to date as soon as
# new versions are published to the npm registry
- package_manager: "javascript"
directory: "/docs"
update_schedule: "daily"
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
70 changes: 70 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# next.js build output
.next

#Max OS Files
.DS_Store

#SfeirSchoolSpecifics
.tmp/

#Dev
docs/test.html
3 changes: 3 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"*.{json,css,scss,md,js,ts}": ["prettier --write", "git add"]
}
26 changes: 26 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# angular gitignore
# see https://github.com/prettier/prettier/issues/2294

## compiled output
/dist
/tmp
/out-tsc

## dependencies
/node_modules

## IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
.vscode/*

# auto-generated files
/angular.json
/.angular-cli.json
/package-lock.json
/yarn.lock
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "http://json.schemastore.org/prettierrc",
"singleQuote": true,
"printWidth": 120
}
64 changes: 64 additions & 0 deletions docs/LICENSE

Large diffs are not rendered by default.

Binary file added docs/assets/images/STAR.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/deploiement_continu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/fleche.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/g15645683e6_0_36.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/g18d6b29ed0_0_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/g418fd663c2_0_148.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/g418fd663c2_0_187.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/g418fd663c2_0_203.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/g418fd663c2_0_204.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/g418fd663c2_0_213.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/g418fd663c2_0_224.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/g418fd663c2_0_272.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/g418fd663c2_0_305.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/g418fd663c2_0_70.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/g418fd663c2_0_72.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/g418fd663c2_0_746.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/g418fd663c2_0_825.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/g418fd663c2_0_890.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/g418fd663c2_0_891.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/g418fd663c2_0_934.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/g419a1b557d_2_152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/g419a1b557d_2_230.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/hil_boucle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/ide.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/inspec-exemple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/logo_sfeir_bleu_orange.png
Binary file added docs/assets/images/masque_photo.png
Binary file added docs/assets/images/school_Badge_blanc.png
Binary file added docs/assets/images/speakers/JNA.png
Binary file added docs/assets/images/tests.png
Binary file added docs/assets/images/workflow.png
33 changes: 33 additions & 0 deletions docs/css/slides.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions docs/css/slides.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

63 changes: 63 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>

<title>Sfeir School - Terraform</title>

<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>

<!-- ----------------------------------------------------
---------------- REVEAL STYLES -------------------------
------------------------------------------------------ -->
<link rel="stylesheet" type="text/css" href="./web_modules/reveal.js/css/reveal.css"/>
<!--<link rel="stylesheet" href="reveal/css/theme/white.css" id="theme">-->

<!-- For syntax highlighting - hightlightjs -->
<link rel="stylesheet" type="text/css" href="./web_modules/highlight.js/styles/tomorrow.css"/>

<!-- If the query includes 'print-pdf', use the PDF print sheet - from revealjs -->
<script>
document.write(
'<link rel="stylesheet" href="./web_modules/reveal.js/css/print/' +
(window.location.search.match(/print-pdf/gi) ? 'pdf' : 'paper') +
'.css" type="text/css" media="print">'
);
</script>

<!--[if lt IE 9]>
<script src="/web_modules/reveal.js/lib/js/html5shiv.js"></script>
<![endif]-->

<!-- ----------------------------------------------------
---------------- PREZ STYLES ---------------------------
------------------------------------------------------ -->

<link
rel="stylesheet"
type="text/css"
href="./web_modules/sfeir-school-theme/dist/css/sfeir-school-theme.css"
id="theme"
/>
<script type="module" src="./web_modules/sfeir-school-theme/dist/js/sfeir-theme.js"></script>

<link rel="stylesheet" type="text/css" href="./css/slides.css" id="theme-custo"/>

<script type="text/javascript" src="scripts/dont-touch/terraform.js"></script>

<script type="module" src="scripts/dont-touch/reveal-config.js"></script>
</head>

<body>
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides" data-type-show="prez">
</div>
<script src="./web_modules/reveal.js/js/reveal.js"></script>

</div>
</body>
</html>
29 changes: 29 additions & 0 deletions docs/markdown/00-school/00-TITLE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!-- .slide: class="first-slide" sfeir-level="2" sfeir-techno="Terraform" -->

# **Welcome to SFEIR School**

## **Terraform 200**

##==##

<!-- .slide: class="school-presentation" -->

<div class="wifi">
<span class="key">wifi:</span><span>SSID</span><br>
<span class="key">mdp:</span><span>PWD_WIFI</span>
</div>

##==##
<!-- .slide: -->
# Déroulement de la formation

<br/>

C'est quand la pause ?<br>
Quand est-ce qu'on mange ?<br>
Tour de table ...
<br><br>

**Feuille de présence (obligatoire)**

...
121 changes: 121 additions & 0 deletions docs/markdown/00-school/planning.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
<!-- .slide: -->

# Les objectifs de la formation

<br/>

* Couvrir les aspects fondamentaux du logiciel Terraform
* Développer, tester et documenter son code
* Partager et réutiliser son code
* Déploiement automatisé de l’infrastructure
* Développement de providers communautaires

##==##
<!-- .slide: -->
# Déroulement de la formation
<br>

Jour 1 : Développement et bonnes pratiques<br><br>
Jour 2 : Collaboration et production

##==##
<!-- .slide: -->
# Déroulement de la formation
<br>

## MODULE 1: Introduction à Terraform

* HashiCorp et son écosystème de produits
* Historique Terraform
* Les versions majeures de Terraform

##==##
<!-- .slide: -->
# Déroulement de la formation
<br>

## MODULE 2 : Premiers pas avec Terraform

* Installation
* Configuration
* Découverte du logiciel
* Atelier: Installation et configuration

##==##
<!-- .slide: -->
# Déroulement de la formation
<br>

## MODULE 3 : Les langages

* 'HCL': HashiCorp Configuration Language
* Variables, ressources, providers et outputs
* Cycle de vie des ressources
* Atelier: Premier déploiement d’infrastructure
*'HIL': HashiCorp Interpolation Language
*Expressions
*Fonctions
*Boucle et conditions
*Atelier: Utilisation avancée des interpolations

##==##
<!-- .slide: -->
# Déroulement de la formation
<br>

## MODULE 4 : Configuration de l’environnement de développement

* Mise en place d’aide au développement
* Génération automatique de la documentation
* Gestion des fichiers et bonnes pratiques
* Atelier: Configuration de l’environnement de développement

##==##
<!-- .slide: -->
# Déroulement de la formation
<br>

## MODULE 5 : Stratégie de tests

* Vue d’ensemble des différents outils de tests
* L’exemple de inspec, inspec-iggy et kitchen-terrraform
* Atelier: Intégration continue avec Terraform

##==##
<!-- .slide: -->
# Déroulement de la formation
<br>

## MODULE 6 : Travail coopératif
* Re-utilisation du code, découverte des modules
* Gestion de la concurrence et de la persistance
* Gestion des credentials
* Ateliers: Création d’un registre de modules dans gitlab

##==##
<!-- .slide: -->
# Déroulement de la formation
<br>

## MODULE 7 : Utilisation en production
* Manipulation du fichier d’état
* Déploiement continu via Gitlab-ci
* Présentation de l’offre pour les entreprises Terraform Cloud
* Développement et utilisation de providers communautaires
* Atelier: Déploiement continu via Terraform

##==##
<!-- .slide: -->
# Déroulement de la formation
<br>

https://github.com/sfeir-open-source/sfeir-school-terraform

https://sfeir-open-source.github.io/sfeir-school-terraform

https://console.cloud.google.com

<div class="flex-row">
<img class="h-400" src="./assets/images/g418fd663c2_0_70.png">
<img class="h-400" src="./assets/images/g418fd663c2_0_72.png">
</div>
Loading

0 comments on commit 3be00b2

Please sign in to comment.