From 26fb12ea5b57b43bbf029e3c0a91637241a0fbea Mon Sep 17 00:00:00 2001 From: Mike Hepburn Date: Tue, 8 Nov 2022 12:52:28 +1000 Subject: [PATCH 01/10] =?UTF-8?q?=F0=9F=A5=B6=204.11=20updates=20?= =?UTF-8?q?=F0=9F=A5=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/1-the-manual-menace/1-the-basics.md | 9 +++++++-- .../1a-jenkins.md | 6 ++++++ .../4b-tekton.md | 6 ++++++ .../images/add-folder-to-workspace.png | Bin 0 -> 15238 bytes docs/config/all.json | 3 ++- docs/index.html | 2 ++ 6 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 docs/3-revenge-of-the-automated-testing/images/add-folder-to-workspace.png diff --git a/docs/1-the-manual-menace/1-the-basics.md b/docs/1-the-manual-menace/1-the-basics.md index 9f9e059c..b8266a86 100644 --- a/docs/1-the-manual-menace/1-the-basics.md +++ b/docs/1-the-manual-menace/1-the-basics.md @@ -6,8 +6,13 @@ ![crw](./images/crw.png)

- If the workspace has not been set up for you, you can create one from this devfile. On CodeReady Workspaces, "Create Workspace > Custom Workspace". Enter this URL to load the TL500 stack:
- + If the workspace has not been set up for you, you can create one from this devfile. On CodeReady Workspaces, "Create Workspace > Custom Workspace". +
+ For OpenShift 4.9, 4.10 - Enter this URL to load the TL500 stack:
+ +
+ For OpenShift 4.11+ - Enter this URL to load the TL500 stack:
+

2. In your IDE (it may take some time to open ... ⏰☕️), open a new terminal by hitting `Terminal > Open Terminal in Specific Container > stack-tl500` from the menu. diff --git a/docs/3-revenge-of-the-automated-testing/1a-jenkins.md b/docs/3-revenge-of-the-automated-testing/1a-jenkins.md index 47bc1091..9dfc08fc 100644 --- a/docs/3-revenge-of-the-automated-testing/1a-jenkins.md +++ b/docs/3-revenge-of-the-automated-testing/1a-jenkins.md @@ -34,6 +34,12 @@ 2. Then we need to introduce SonarQube credentials to `Jenkinsfile` - these are already being synchronized to the cluster from Git, we just have to tell our pipeline to use them. Add the followings to the list of other `CREDS` in the `environment {}` block in the `Jenkinsfile`. +

+ ⛷️ NOTE ⛷️ - If you are using DevSpaces in OpenShift 4.11+ you may need to add the `pet-battle` folder to you Che Workspace to open the `Jenkinsfile` +

+ + ![add-folder-to-workspace](images/add-folder-to-workspace.png) + ```groovy SONARQUBE_CREDS = credentials("${OPENSHIFT_BUILD_NAMESPACE}-sonarqube-auth") ``` diff --git a/docs/3-revenge-of-the-automated-testing/4b-tekton.md b/docs/3-revenge-of-the-automated-testing/4b-tekton.md index 190616df..acf13989 100644 --- a/docs/3-revenge-of-the-automated-testing/4b-tekton.md +++ b/docs/3-revenge-of-the-automated-testing/4b-tekton.md @@ -32,6 +32,12 @@ 5. Open up `/project/pet-battle-api/checkstyle.xml` file and search for `EmptyCatchBlock`. Then set the severity value as **error**. You can read about [EmptyCatchBlock here.](https://checkstyle.sourceforge.io/config_blocks.html#EmptyCatchBlock) +

+ ⛷️ NOTE ⛷️ - If you are using DevSpaces in OpenShift 4.11+ you may need to add the `pet-battle-api` folder to you Che Workspace to open the `checkstyle.xml` +

+ + ![add-folder-to-workspace](images/add-folder-to-workspace.png) + ```xml diff --git a/docs/3-revenge-of-the-automated-testing/images/add-folder-to-workspace.png b/docs/3-revenge-of-the-automated-testing/images/add-folder-to-workspace.png new file mode 100644 index 0000000000000000000000000000000000000000..e6b938259cd1b0b1711ae59e089c87e838b5c053 GIT binary patch literal 15238 zcmbt*1z45sy5>Se1Q8Gr>5@=sP&!0WP!JR)q`SLwfl5k=C?TZ+(kUd(Z5dIdcuyrLu6X?|Z-Zed3OXfah{jS8*wD5eUT9C(@D%2*d><_lUJAF%l)#xKfETlf23mn(#p`@NypXzVPt7#VZd&uXKP?!X=iL@zm8cg z25(|Uzv-c^fsVb2l_lLP6AJ^xD+dEQE&)0@D@QsWE*>5_ZXO{XE+HNsUJ2GL1cDCn zL{j3FbL{H4i~Fno)AP;2xRr39%$28J7cbMrc#++tGY1nSm_)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LV3 zo`osihW7Sg7})FqOKog?ToB^!KcxIOnAo=USNRbJ)4N*dM>im_##~Tw9jo)=;nnA- z>xE~ae%$>DJB^;Ek&)2@Y5@(bPe?YFQ&2Gaukj?s%6#6xywuciIvt+q^wWRm-3s?vz3n2VafzO#sCZE27H|Yg8(9%4a8KUuAjiGh4JLY ziArH84&PH#{bATKL9^0z6UOK4ma~e{bKaV6tM>p9pjQWjNf!ZLmL=)QfvErB_;{^6 z6bc#w<^!7gm9^Songph5r{dk#rqO@moF+i1c#AG-Fc}yY6C(qYr2e6yMnDiC?0>($ rasO|A$awp9nwXd+2oSsH7+>hvXc|ZK0^oOK5l Date: Tue, 8 Nov 2022 13:32:04 +1000 Subject: [PATCH 02/10] =?UTF-8?q?=F0=9F=A5=B6=204.11=20updates=20?= =?UTF-8?q?=F0=9F=A5=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/3-revenge-of-the-automated-testing/4b-tekton.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/3-revenge-of-the-automated-testing/4b-tekton.md b/docs/3-revenge-of-the-automated-testing/4b-tekton.md index acf13989..5774884d 100644 --- a/docs/3-revenge-of-the-automated-testing/4b-tekton.md +++ b/docs/3-revenge-of-the-automated-testing/4b-tekton.md @@ -9,6 +9,12 @@ 2. Now edit a java class file, such as `/projects/pet-battle-api/src/test/java/app/battle/CatEndpointTest.java` and add some TAB/spaces e.g. in L19,21 +

+ ⛷️ NOTE ⛷️ - If you are using DevSpaces in OpenShift 4.11+ you may need to add the `pet-battle-api` folder to you Che Workspace to open the `checkstyle.xml` +

+ + ![add-folder-to-workspace](images/add-folder-to-workspace.png) + ![images/formatting-code-pb-api.png](images/formatting-code-pb-api-tab.png) Then rerun the `formatting:format` maven command which will remove these spaces. @@ -32,12 +38,6 @@ 5. Open up `/project/pet-battle-api/checkstyle.xml` file and search for `EmptyCatchBlock`. Then set the severity value as **error**. You can read about [EmptyCatchBlock here.](https://checkstyle.sourceforge.io/config_blocks.html#EmptyCatchBlock) -

- ⛷️ NOTE ⛷️ - If you are using DevSpaces in OpenShift 4.11+ you may need to add the `pet-battle-api` folder to you Che Workspace to open the `checkstyle.xml` -

- - ![add-folder-to-workspace](images/add-folder-to-workspace.png) - ```xml From d6641c5ffcece06cb53190cf730ae9877faf5b4c Mon Sep 17 00:00:00 2001 From: Mike Hepburn Date: Tue, 8 Nov 2022 13:33:03 +1000 Subject: [PATCH 03/10] =?UTF-8?q?=F0=9F=A5=B6=204.11=20updates=20?= =?UTF-8?q?=F0=9F=A5=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/3-revenge-of-the-automated-testing/4b-tekton.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/3-revenge-of-the-automated-testing/4b-tekton.md b/docs/3-revenge-of-the-automated-testing/4b-tekton.md index 5774884d..3fec0b7e 100644 --- a/docs/3-revenge-of-the-automated-testing/4b-tekton.md +++ b/docs/3-revenge-of-the-automated-testing/4b-tekton.md @@ -7,14 +7,14 @@ mvn formatter:format ``` -2. Now edit a java class file, such as `/projects/pet-battle-api/src/test/java/app/battle/CatEndpointTest.java` and add some TAB/spaces e.g. in L19,21 -

- ⛷️ NOTE ⛷️ - If you are using DevSpaces in OpenShift 4.11+ you may need to add the `pet-battle-api` folder to you Che Workspace to open the `checkstyle.xml` + ⛷️ NOTE ⛷️ - If you are using DevSpaces in OpenShift 4.11+ you may need to add the `pet-battle-api` folder to you Che Workspace to open a file in the next step.

![add-folder-to-workspace](images/add-folder-to-workspace.png) +2. Now edit a java class file, such as `/projects/pet-battle-api/src/test/java/app/battle/CatEndpointTest.java` and add some TAB/spaces e.g. in L19,21 + ![images/formatting-code-pb-api.png](images/formatting-code-pb-api-tab.png) Then rerun the `formatting:format` maven command which will remove these spaces. From 560cbb897dbefdee6a7ed44bbda20cd450ae7e8b Mon Sep 17 00:00:00 2001 From: Mike Hepburn Date: Tue, 8 Nov 2022 13:39:40 +1000 Subject: [PATCH 04/10] =?UTF-8?q?=F0=9F=91=BE=20linter=20version=20?= =?UTF-8?q?=F0=9F=91=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/3-revenge-of-the-automated-testing/5a-jenkins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/3-revenge-of-the-automated-testing/5a-jenkins.md b/docs/3-revenge-of-the-automated-testing/5a-jenkins.md index 6b439d1b..4896e65b 100644 --- a/docs/3-revenge-of-the-automated-testing/5a-jenkins.md +++ b/docs/3-revenge-of-the-automated-testing/5a-jenkins.md @@ -97,7 +97,7 @@ Remember in our pipeline, there is a stage called `"🏗️ Deploy - Helm Packag You should see such output 💪💪

-    KubeLinter 0.2.2
+    KubeLinter 0.2.6
 
     No lint errors found!
     
From 74a172220a886fedef49351b60312a362b0228da Mon Sep 17 00:00:00 2001 From: Mike Hepburn Date: Tue, 8 Nov 2022 14:29:06 +1000 Subject: [PATCH 05/10] =?UTF-8?q?=F0=9F=91=BE=20cd=20=F0=9F=91=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/3-revenge-of-the-automated-testing/4a-jenkins.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/3-revenge-of-the-automated-testing/4a-jenkins.md b/docs/3-revenge-of-the-automated-testing/4a-jenkins.md index 3b8ee375..a0abe908 100644 --- a/docs/3-revenge-of-the-automated-testing/4a-jenkins.md +++ b/docs/3-revenge-of-the-automated-testing/4a-jenkins.md @@ -34,6 +34,7 @@ 5. Push our changes to the repo to trigger a new build ``` + cd /projects/pet-battle git add . git commit -m "💅 ADD - linting to the pipeline 💅" git push From 802950bc874681518f00e9e7633379daacfdf2a3 Mon Sep 17 00:00:00 2001 From: Mike Hepburn Date: Tue, 8 Nov 2022 14:29:36 +1000 Subject: [PATCH 06/10] =?UTF-8?q?=F0=9F=91=BE=20cd=20=F0=9F=91=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/3-revenge-of-the-automated-testing/4a-jenkins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/3-revenge-of-the-automated-testing/4a-jenkins.md b/docs/3-revenge-of-the-automated-testing/4a-jenkins.md index a0abe908..1e676f07 100644 --- a/docs/3-revenge-of-the-automated-testing/4a-jenkins.md +++ b/docs/3-revenge-of-the-automated-testing/4a-jenkins.md @@ -33,7 +33,7 @@ 5. Push our changes to the repo to trigger a new build - ``` + ```bash cd /projects/pet-battle git add . git commit -m "💅 ADD - linting to the pipeline 💅" From c25e861c69fe6e2950fb5920181846218b0d06b9 Mon Sep 17 00:00:00 2001 From: Mike Hepburn Date: Thu, 10 Nov 2022 08:17:31 +1000 Subject: [PATCH 07/10] =?UTF-8?q?=F0=9F=91=BE=20devspaces=20=F0=9F=91=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/1-the-manual-menace/1-the-basics.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/1-the-manual-menace/1-the-basics.md b/docs/1-the-manual-menace/1-the-basics.md index b8266a86..06a40a0b 100644 --- a/docs/1-the-manual-menace/1-the-basics.md +++ b/docs/1-the-manual-menace/1-the-basics.md @@ -6,11 +6,13 @@ ![crw](./images/crw.png)

- If the workspace has not been set up for you, you can create one from this devfile. On CodeReady Workspaces, "Create Workspace > Custom Workspace". + If the workspace has not been set up for you, you can create one from this devfile.
+ On CodeReady Workspaces, "Create Workspace > Custom Workspace". For OpenShift 4.9, 4.10 - Enter this URL to load the TL500 stack:

+ On DevSpaces Workspaces, "Add Workspace > Import from Git". For OpenShift 4.11+ - Enter this URL to load the TL500 stack:

From 73b6b5ce5a12176c69dfb1b03084174c989aedd7 Mon Sep 17 00:00:00 2001 From: Mike Hepburn Date: Thu, 10 Nov 2022 08:19:54 +1000 Subject: [PATCH 08/10] =?UTF-8?q?=F0=9F=91=BE=20devspaces=20=F0=9F=91=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/1-the-manual-menace/1-the-basics.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/1-the-manual-menace/1-the-basics.md b/docs/1-the-manual-menace/1-the-basics.md index 06a40a0b..1c62ae22 100644 --- a/docs/1-the-manual-menace/1-the-basics.md +++ b/docs/1-the-manual-menace/1-the-basics.md @@ -9,10 +9,12 @@ If the workspace has not been set up for you, you can create one from this devfile.
On CodeReady Workspaces, "Create Workspace > Custom Workspace". +
For OpenShift 4.9, 4.10 - Enter this URL to load the TL500 stack:

On DevSpaces Workspaces, "Add Workspace > Import from Git". +
For OpenShift 4.11+ - Enter this URL to load the TL500 stack:

From d93a40e78d3e4cfd88d0bfe19fad1fe2c0f461d4 Mon Sep 17 00:00:00 2001 From: Mike Hepburn Date: Thu, 10 Nov 2022 08:55:43 +1000 Subject: [PATCH 09/10] =?UTF-8?q?=F0=9F=90=91=20devfile411=20=F0=9F=90=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/config/all.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config/all.json b/docs/config/all.json index 5d0ddcd2..6ced1fde 100644 --- a/docs/config/all.json +++ b/docs/config/all.json @@ -1,4 +1,4 @@ { "devfile": "https://raw.githubusercontent.com/rht-labs/enablement-framework/main/codereadyworkspaces/tl500-devfile.yaml", - "devfile411": "https://raw.githubusercontent.com/eformat/enablement-framework/ocp-4.11/codereadyworkspaces/tl500-devfile-v2.yaml" + "devfile411": "https://raw.githubusercontent.com/rht-labs/enablement-framework/ocp-4.11/codereadyworkspaces/tl500-devfile-v2.yaml" } \ No newline at end of file From f40cc324bafb0a2dd01a25618321840c7b3ee2ca Mon Sep 17 00:00:00 2001 From: Mike Hepburn Date: Tue, 15 Nov 2022 13:29:14 +1000 Subject: [PATCH 10/10] =?UTF-8?q?=F0=9F=99=8A=20version=201.1.0=20of=20tod?= =?UTF-8?q?olist=20=F0=9F=99=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/1-the-manual-menace/2-argocd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/1-the-manual-menace/2-argocd.md b/docs/1-the-manual-menace/2-argocd.md index d7cf4c36..1bda3107 100644 --- a/docs/1-the-manual-menace/2-argocd.md +++ b/docs/1-the-manual-menace/2-argocd.md @@ -135,7 +135,7 @@ EOF * Repository URL: `https://rht-labs.com/todolist/` * Select `Helm` from the right drop down menu * Chart: `todolist` - * Version: `1.0.1` + * Version: `1.1.0` * On the "DESTINATION" box * Cluster URL: `https://kubernetes.default.svc` * Namespace: `-ci-cd`