From 2533e01df4306abbd8b24a08a55c2ed8c788d210 Mon Sep 17 00:00:00 2001
From: donal <donalspring@gmail.com>
Date: Tue, 03 Jul 2018 15:43:27 +0200
Subject: [PATCH] ADD new page with practices via iframe

---
 facilitation/100-big-picture-and-dinosaur/transparent/jenkins-slave-generic.png |    0 
 exercises/the-practices/README.md                                               |   39 +++++++++++++++++++
 exercises/index.html                                                            |    7 +++
 exercises/_sidebar.md                                                           |    3 +
 exercises/custom.css                                                            |    2 +
 facilitation/100-big-picture-and-dinosaur/transparent/slave-npm.png             |    0 
 exercises/1-the-manual-menace/README.md                                         |   14 ++++---
 7 files changed, 58 insertions(+), 7 deletions(-)

diff --git a/exercises/1-the-manual-menace/README.md b/exercises/1-the-manual-menace/README.md
index 20111dd..122d2cf 100644
--- a/exercises/1-the-manual-menace/README.md
+++ b/exercises/1-the-manual-menace/README.md
@@ -30,11 +30,13 @@
 * [Ansible](https://www.ansible.com/) - IT Automation tool used to provision and manage state of cloud and physical infrastructure.
 * [OpenShift Applier](https://github.com/redhat-cop/openshift-applier) - used to apply OpenShift objects to an OpenShift Cluster.
 
-
 ## Big Picture
 > The Big Picture is our emerging architecture; starting with an empty cluster we populate it with projects and some ci/cd tooling.
 
 ![ds-messing-around.gif](../images/exercise1/ds-messing-around.gif)
+
+## The Practices
+[event-storming](https://rht-labs.github.io/practice-library/practices/impact-mapping/ ':include :type=iframe :')
 
 _____
 
@@ -43,20 +45,20 @@
 
 If you're feeling confident and don't want to follow the step-by-step guide these high-level instructions should provide a challenge for you:
 
-2. Clone the repo `https://github.com/rht-labs/enablement-ci-cd` which contains the scaffold of the project. Ensure you get all remote branches.
+1. Clone the repo `https://github.com/rht-labs/enablement-ci-cd` which contains the scaffold of the project. Ensure you get all remote branches.
 
 2. Create `<your-name>-ci-cd`, `<your-name>-dev` and `<your-name>-test` project namespaces using the inventory and run them with the OpenShift Applier to populate the cluster
 
-2. Use the templates provided to create build of the jenkins-s2i. The templates are in `exercise1/jenkins-s2i`
+3. Use the templates provided to create build of the jenkins-s2i. The templates are in `exercise1/jenkins-s2i`
 
-2. Use the templates provided to create build and deployment configs in `<your-name>-ci-cd` for. Templates are on a branch called `exercise1/git-nexus` && `exercise1/jenkins`:
+4. Use the templates provided to create build and deployment configs in `<your-name>-ci-cd` for. Templates are on a branch called `exercise1/git-nexus` && `exercise1/jenkins`:
     * Nexus
     * GitLab
     * Jenkins (using an s2i to pre-configure Jenkins)
 
-2. Commit your `enablement-ci-cd` repository to the GitLab Instance you've created
+5. Commit your `enablement-ci-cd` repository to the GitLab Instance you've created
 
-2. Burn it all down and re-apply your inventory proving config-as-code works.
+6. Burn it all down and re-apply your inventory proving config-as-code works.
 
 ## Step by Step Instructions
 > This is a structured guide with references to exact filenames and explanations.
diff --git a/exercises/_sidebar.md b/exercises/_sidebar.md
index a65972f..d778d59 100644
--- a/exercises/_sidebar.md
+++ b/exercises/_sidebar.md
@@ -1,4 +1,5 @@
 * [Home](/)
+* [The Practices](the-practices/README.md)
 * [1. The Manual Menace](1-the-manual-menace/README.md)
 * [2. Attack of the Pipelines](2-attack-of-the-pipelines/README.md)
 * [3. Revenge of the Automated Testing](3-revenge-of-the-automated-testing/README.md)
@@ -7,4 +8,4 @@
 * [6. Return of the Monitoring](6-return-of-the-app-monitoring/README.md)
 * [7. The Cluster Awakens](7-the-cluster-awakens/README.md)
 * [8. The Last Unicorn Dev](8-the-last-unicorn-dev/README.md)
-* [0. Rogue Cluster: A Setup Guide](0-rogue-cluster/README.md)
+* [Rogue Cluster: A Setup Guide](0-rogue-cluster/README.md)
diff --git a/exercises/custom.css b/exercises/custom.css
index 50cd171..5c79516 100644
--- a/exercises/custom.css
+++ b/exercises/custom.css
@@ -5,3 +5,5 @@
   content: "!";
   background-color: #f66;
 }
+
+/* iframe { height: -webkit-fill-available; } */
diff --git a/exercises/index.html b/exercises/index.html
index 16d48fe..1eccc72 100644
--- a/exercises/index.html
+++ b/exercises/index.html
@@ -32,6 +32,13 @@
   <script src="//unpkg.com/prismjs/components/prism-groovy.min.js"></script>
   <script src="//unpkg.com/prismjs/components/prism-yaml.min.js"></script>
   <script src="//unpkg.com/prismjs/components/prism-json.min.js"></script>
+  <script>
+    // this didn't work cuz of CORS :(
+    function resizeIframeHack(iframe) {
+      // console.log(window.document.body.scrollHeight)
+      iframe.height = iframe.contentWindow.document.body.scrollHeight + "px";
+    }
+  </script>
 </body>
 
 </html>
diff --git a/exercises/the-practices/README.md b/exercises/the-practices/README.md
new file mode 100644
index 0000000..b2cdf1a
--- /dev/null
+++ b/exercises/the-practices/README.md
@@ -0,0 +1,39 @@
+# The Practices
+
+> A Large number of practices are used throughout this course. [The Open Practice Library]() contains all of the practices used on an Open Innovation Lab Residency. Below is a section of the ones used in this course.
+
+_____
+
+## Visualisation of Work
+[visualisation-of-work](https://rht-labs.github.io/practice-library/practices/visualisation-of-work/ ':include :type=iframe width=100% height=3974px scrolling=no')
+
+## Team Sentiment
+[team-sentiment](https://rht-labs.github.io/practice-library/practices/team-sentiment/ ':include :type=iframe width=100% height=2405px scrolling=no')
+
+## Burn Down
+[burndown](https://rht-labs.github.io/practice-library/practices/burndown/ ':include :type=iframe width=100% height=3179px scrolling=no')
+
+## Realtime Retro
+[realtime-retro](https://rht-labs.github.io/practice-library/practices/realtime-retrospective/ ':include :type=iframe width=100% height=2690px scrolling=no')
+
+## Stop the World Event
+[stop-the-world](https://rht-labs.github.io/practice-library/practices/stop-the-world-event/ ':include :type=iframe width=100% height=2081px scrolling=no')
+
+## Social Contract
+[social-contract](https://rht-labs.github.io/practice-library/practices/social-contract/ ':include :type=iframe width=100% height=2324px scrolling=no')
+
+## Impact Mapping
+[impact-mapping](https://rht-labs.github.io/practice-library/practices/impact-mapping/ ':include :type=iframe width=100% height=3383px scrolling=no')
+
+## Value Stream / Metrics Based Process Mapping
+<!-- <iframe 
+        src="https://rht-labs.github.io/practice-library/practices/vsm-and-mbpm" 
+        allowfullscreen scrolling="no" onload="resizeIframeHack(this)">
+</iframe> -->
+[vsm-and-mbpm](https://rht-labs.github.io/practice-library/practices/vsm-and-mbpm/ ':include :type=iframe width=100% height=3551px scrolling=no sandbox')
+
+## Event Storming
+[event-storming](https://rht-labs.github.io/practice-library/practices/event-storming/ ':include :type=iframe width=100% height=3275px scrolling=no')
+
+## User Story Mapping
+[user-story-mapping](https://rht-labs.github.io/practice-library/practices/user-story-mapping/ ':include :type=iframe width=100% height=2843px scrolling=no')
diff --git a/facilitation/100-big-picture-and-dinosaur/transparent/jenkins-slave-generic.png b/facilitation/100-big-picture-and-dinosaur/transparent/jenkins-slave-generic.png
new file mode 100644
index 0000000..01d1384
--- /dev/null
+++ b/facilitation/100-big-picture-and-dinosaur/transparent/jenkins-slave-generic.png
Binary files differ
diff --git a/facilitation/100-big-picture-and-dinosaur/transparent/slave-npm.png b/facilitation/100-big-picture-and-dinosaur/transparent/slave-npm.png
new file mode 100644
index 0000000..4a87305
--- /dev/null
+++ b/facilitation/100-big-picture-and-dinosaur/transparent/slave-npm.png
Binary files differ

--
Gitblit v1.9.3