Compare commits
6 Commits
t-dose-202
...
triodos
| Author | SHA1 | Date | |
|---|---|---|---|
|
3fc1329bd4
|
|||
|
326f54d70b
|
|||
|
2bacb8bac5
|
|||
|
7ad3ca9cc8
|
|||
|
4f316b958f
|
|||
|
0ece789e85
|
5
.gitignore
vendored
5
.gitignore
vendored
@@ -83,3 +83,8 @@ prepare-vms/tags/triodos/ips.txt
|
||||
slides/intro-fullday.yml.html
|
||||
slides/intro-selfpaced.yml.html
|
||||
slides/intro-twodays.yml.html
|
||||
prepare-vms/tags/triodos/ips.html
|
||||
prepare-vms/tags/triodos/ips.txt
|
||||
prepare-vms/tags/triodos/status
|
||||
slides/intro-bd-docker.yml.html
|
||||
slides/intro-bd-k8s.yml.html
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
"type": "string",
|
||||
"defaultValue": "18.04-LTS",
|
||||
"metadata": {
|
||||
"description": "Version of the image. The default is 16.04-LTS"
|
||||
"description": "Version of the image. The default is 18.04-LTS"
|
||||
}
|
||||
},
|
||||
"vmSize": {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"value": "workshop-rg"
|
||||
},
|
||||
"numberOfInstances": {
|
||||
"value": 6
|
||||
"value": 36
|
||||
},
|
||||
"vmSize": {
|
||||
"value": "Standard_D1_v2"
|
||||
|
||||
@@ -1,176 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
@import url('https://fonts.googleapis.com/css?family=Slabo+27px');
|
||||
|
||||
|
||||
@page {
|
||||
size: A4; /* Change from the default size of A4 */
|
||||
margin: 0.5cm; /* Set margin on each page */
|
||||
}
|
||||
body {
|
||||
/* this is A4 minus 0.5cm margins */
|
||||
width: 20cm;
|
||||
height: 28.7cm;
|
||||
}
|
||||
|
||||
|
||||
|
||||
body, table {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
line-height: 1em;
|
||||
font-size: 15px;
|
||||
font-family: 'Slabo 27px';
|
||||
}
|
||||
|
||||
table {
|
||||
border-spacing: 0;
|
||||
margin-top: 0.4em;
|
||||
margin-bottom: 0.4em;
|
||||
border-left: 0.8em double grey;
|
||||
padding-left: 0.4em;
|
||||
}
|
||||
|
||||
div {
|
||||
float: left;
|
||||
border: 1px dotted black;
|
||||
|
||||
/* columns * (width+left+right) < 100% */
|
||||
/*
|
||||
width: 24.8%;
|
||||
*/
|
||||
/**/
|
||||
width: 33%;
|
||||
/**/
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0.8em;
|
||||
}
|
||||
|
||||
div.back {
|
||||
border: 1px dotted grey;
|
||||
}
|
||||
|
||||
span.scale {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
img.logo {
|
||||
height: 4.5em;
|
||||
float: right;
|
||||
}
|
||||
|
||||
img.bottom {
|
||||
height: 2.5em;
|
||||
display: block;
|
||||
margin: 0.5em auto;
|
||||
}
|
||||
|
||||
.qrcode img {
|
||||
width: 40%;
|
||||
margin: 1em;
|
||||
}
|
||||
|
||||
.logpass {
|
||||
font-family: monospace;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.pagebreak {
|
||||
page-break-after: always;
|
||||
clear: both;
|
||||
display: block;
|
||||
height: 0;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript" src="https://cdn.rawgit.com/davidshimjs/qrcodejs/gh-pages/qrcode.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
function qrcodes() {
|
||||
[].forEach.call(
|
||||
document.getElementsByClassName("qrcode"),
|
||||
(e, index) => {
|
||||
new QRCode(e, {
|
||||
text: "",
|
||||
correctLevel: QRCode.CorrectLevel.L
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
function scale() {
|
||||
[].forEach.call(
|
||||
document.getElementsByClassName("scale"),
|
||||
(e, index) => {
|
||||
var text_width = e.getBoundingClientRect().width;
|
||||
var box_width = e.parentElement.getBoundingClientRect().width;
|
||||
var percent = 100 * box_width / text_width + "%";
|
||||
e.style.fontSize = percent;
|
||||
}
|
||||
);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="qrcodes(); scale();">
|
||||
|
||||
<div>
|
||||
<p>Here is the connection information to your very own
|
||||
cluster for this training session.
|
||||
You can connect to each VM with any SSH client.</p>
|
||||
<p>
|
||||
|
||||
<img class="logo" src="https://avatars1.githubusercontent.com/u/13629408" />
|
||||
|
||||
<table>
|
||||
|
||||
<tr><td>login:</td></tr>
|
||||
<tr><td class="logpass">docker</td></tr>
|
||||
<tr><td>password:</td></tr>
|
||||
<tr><td class="logpass">training</td></tr>
|
||||
</table>
|
||||
|
||||
</p>
|
||||
<p>
|
||||
Your machines are:
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<td>node1:</td>
|
||||
<td>20.160.177.33
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>node2:</td>
|
||||
<td>20.160.177.17
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>node3:</td>
|
||||
<td>20.160.177.19
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
||||
You can find the slides at:
|
||||
<p>
|
||||
<span class="scale">http://FIXME.container.training/</span>
|
||||
</p>
|
||||
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<span class="pagebreak"></span>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,3 +0,0 @@
|
||||
20.126.157.231
|
||||
20.126.157.237
|
||||
20.126.95.80
|
||||
@@ -1 +0,0 @@
|
||||
stopped
|
||||
@@ -44,7 +44,7 @@ content:
|
||||
- containers/Building_Images_Interactively.md
|
||||
- containers/Building_Images_With_Dockerfiles.md
|
||||
- containers/Cmd_And_Entrypoint.md
|
||||
- containers/Copying_Files_During_Build.md
|
||||
#- containers/Copying_Files_During_Build.md
|
||||
#- containers/Exercise_Dockerfile_Basic.md
|
||||
- custom/Exercise_Dockerfile.md
|
||||
-
|
||||
|
||||
@@ -228,7 +228,7 @@ def processcontent(content, filename):
|
||||
try:
|
||||
if "REPOSITORY_URL" in os.environ:
|
||||
repo = os.environ["REPOSITORY_URL"]
|
||||
else:
|
||||
#else:
|
||||
repo = subprocess.check_output(["git", "config", "remote.origin.url"]).decode("ascii")
|
||||
repo = repo.strip().replace("git@github.com:", "https://github.com/")
|
||||
if "BRANCH" in os.environ:
|
||||
|
||||
@@ -18,8 +18,7 @@ class: in-person
|
||||
|
||||
- They'll remain up for the duration of the workshop
|
||||
|
||||
- You should have a (virtual) little card with login+password+IP addresses
|
||||
(https://training.verleun.org/ips.html)
|
||||
- You should have a little card with login+password+IP addresses
|
||||
|
||||
- You can automatically SSH from one VM to another
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
trap 'echo "Stopping sync"; exit 0' EXIT SIGINT SIGTERM
|
||||
|
||||
while true; do
|
||||
fswatch -1 *html
|
||||
rsync -r images/ *html *css *js vps.verleun.org:/docker/web-sites/site/
|
||||
rsync -r images/ slides.zip *html *css *js vps.verleun.org:/docker/web-sites/site/
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user