Add chat variable to workshop YML files

This commit is contained in:
Jérôme Petazzoni
2017-10-15 23:01:46 +02:00
parent c4b131ae5e
commit b4b22ff47b
8 changed files with 16 additions and 55 deletions

View File

@@ -112,7 +112,7 @@ class: pic
<br/>
(that's an implementation detail)
- `etcd` can be run on separate machines (first schema) or colocated (second schema)
- `etcd` can be run on separate machines (first schema) or co-located (second schema)
- We need at least one master, but we can have more (for high availability)
@@ -144,7 +144,7 @@ No!
- We could also use `rkt` ("Rocket") from CoreOS
- Or leverage through the *Container Runtime Interface* other pluggable runtimes
- Or leverage other pluggable runtimes through the *Container Runtime Interface*
(like CRI-O, or containerd)
@@ -162,12 +162,14 @@ Yes!
- We can do these things without Docker
<br/>
(and get diagnosed with NIH syndrome)
(and get diagnosed with NIH¹ syndrome)
- Docker is still the most stable container engine today
<br/>
(but other options are maturing very quickly)
.footnote[¹[Not Invented Here](https://en.wikipedia.org/wiki/Not_invented_here)]
---
## Do we need to run Docker at all?

View File

@@ -1,3 +1,5 @@
chat: https://dockercommunity.slack.com/messages/C7ET1GY4Q
exclude:
- self-paced
- snap

View File

@@ -2,6 +2,8 @@ exclude:
- self-paced
- snap
chat: "FIXME"
chapters:
- |
class: title

View File

@@ -26,8 +26,6 @@ def generatefromyaml(manifest):
logging.debug(titles)
toc = gentoc(titles)
markdown = markdown.replace("@@TOC@@", toc)
for (s1,s2) in manifest.get("variables", {}).items():
markdown = markdown.replace(s1, s2)
exclude = manifest.get("exclude", [])
logging.debug("exclude={!r}".format(exclude))
@@ -38,6 +36,7 @@ def generatefromyaml(manifest):
html = open("workshop.html").read()
html = html.replace("@@MARKDOWN@@", markdown)
html = html.replace("@@EXCLUDE@@", exclude)
html = html.replace("@@CHAT@@", manifest["chat"])
return html

View File

@@ -25,7 +25,7 @@ class: in-person, extra-details
<br/>(available with `(apt|yum|brew) install mosh`; then connect with `mosh user@host`)
- [GitHub](https://github.com/join) account
<br/>(if you want to fork the repo; also used to join Gitter)
<br/>(if you want to fork the repo)
- [Gitter](https://gitter.im/) account
<br/>(to join the conversation during the workshop)
@@ -66,7 +66,7 @@ class: extra-details
- This is the stuff you're supposed to do!
- Go to [container.training](http://container.training/) to view these slides
- Join the [chat room](chat)
- Join the [chat room](@@CHAT@@)
]

View File

@@ -28,7 +28,7 @@ class: in-person, extra-details
<br/>(available with `(apt|yum|brew) install mosh`; then connect with `mosh user@host`)
- [GitHub](https://github.com/join) account
<br/>(if you want to fork the repo; also used to join Gitter)
<br/>(if you want to fork the repo)
- [Gitter](https://gitter.im/) account
<br/>(to join the conversation during the workshop)
@@ -69,7 +69,7 @@ class: extra-details
- This is the stuff you're supposed to do!
- Go to [container.training](http://container.training/) to view these slides
- Join the [chat room](chat)
- Join the [chat room](@@CHAT@@)
]

View File

@@ -1,6 +1,8 @@
exclude:
- in-person
chat: FIXME
chapters:
- |
class: title

View File

@@ -1,46 +0,0 @@
chapters:
- intro.md
- |
@@TOC@@
- - prereqs.md
- versions.md
- |
class: title
All right!
<br/>
We're all set.
<br/>
Let's do this.
- |
name: part-1
class: title, self-paced
Part 1
- sampleapp.md
- |
class: title
Scaling out
- swarmkit.md
- - firstservice.md
- ourapponswarm.md
- - operatingswarm.md
- netshoot.md
- swarmnbt.md
- ipsec.md
- updatingservices.md
- healthchecks.md
- nodeinfo.md
- swarmtools.md
- - security.md
- secrets.md
- leastprivilege.md
- namespaces.md
- apiscope.md
- encryptionatrest.md
- metrics.md
- stateful.md
- extratips.md
- end.md