From 054490673a95eb1e1b0acfac0547268ce75519d0 Mon Sep 17 00:00:00 2001 From: acammies <acammies@redhat.com> Date: Wed, 18 Apr 2018 12:34:49 +0200 Subject: [PATCH] added screenshot and cleaned up spelling errors --- exercises/images/exercise4/builds-zap-arachni.png | 0 exercises/4-an-enslaved-hope/README.md | 32 ++++++++++++++++---------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/exercises/4-an-enslaved-hope/README.md b/exercises/4-an-enslaved-hope/README.md index 3374752..7351bea 100644 --- a/exercises/4-an-enslaved-hope/README.md +++ b/exercises/4-an-enslaved-hope/README.md @@ -163,16 +163,16 @@ 3. This should have created the following files: - `templates/jenkins-slave-generic-template.yml` - - `params/ zap-bulid-pod arachni-build-pod` + - `params/ zap-build-pod arachni-build-pod` -3. Create an object in `inventory/host_vars/ci-cd-tooling.yml` called `zap-build-pod` and the following content: -```yml +3. Create an object in `inventory/host_vars/ci-cd-tooling.yml` called `zap-build-pod` and add the following content: +```yaml - name: "zap-build-pod" - namespace: "<YOUR_NAME>-ci-cd" - template: "{{ inventory_dir }}/../templates/jenkins-slave-generic-template.yml" - params: "{{ inventory_dir }}/../params/zap-build-pod" - tags: - - zap + namespace: "<YOUR_NAME>-ci-cd" + template: "{{ inventory_dir }}/../templates/jenkins-slave-generic-template.yml" + params: "{{ inventory_dir }}/../params/zap-build-pod" + tags: + - zap ``` <p class="tip"> NOTE- Install your Openshift Applier dependency if it's disappeared. ```bash @@ -197,13 +197,13 @@ > _Arachni is a feature-full, modular, high-performance Ruby framework aimed towards helping penetration testers and administrators evaluate the security of web applications._ 3. Create an object in `inventory/host_vars/ci-cd-tooling.yml` called `arachni-build-pod` with the following content: -```yml +```yaml - name: "arachni-build-pod" - namespace: "<YOUR_NAME>-ci-cd" - template: "{{ inventory_dir }}/../templates/jenkins-slave-generic-template.yml" - params: "{{ inventory_dir }}/../params/arachni-build-pod" - tags: - - arachni + namespace: "<YOUR_NAME>-ci-cd" + template: "{{ inventory_dir }}/../templates/jenkins-slave-generic-template.yml" + params: "{{ inventory_dir }}/../params/arachni-build-pod" + tags: + - arachni ``` 3. Run the ansible playbook filtering with tag `arachni` so only the arachni build pods are run. @@ -211,8 +211,8 @@ ansible-playbook roles/openshift-applier/playbooks/openshift-cluster-seed.yml \ -i inventory/ \ -e "filter_tags=arachni" ``` -3. Head to (https://console.s8.core.rht-labs.com/console/project/<YOUR_NAME>-ci-cd/browse/builds) on Openshift and you should see `zap-build-pod`. -include screenshot here. +3. Head to (https://console.s8.core.rht-labs.com/console/project/<YOUR_NAME>-ci-cd/browse/builds) on Openshift and you should see `arachni-build-pod`. +![todolist-fe-multi](../images/exercise4/builds-zap-arachni.png) _____ diff --git a/exercises/images/exercise4/builds-zap-arachni.png b/exercises/images/exercise4/builds-zap-arachni.png new file mode 100644 index 0000000..f4c75d3 --- /dev/null +++ b/exercises/images/exercise4/builds-zap-arachni.png Binary files differ -- Gitblit v1.9.3