From 12d7ae2b78e8cc81c35b90d77a8dec4f07bd38fa Mon Sep 17 00:00:00 2001 From: Anne Gentle Date: Wed, 22 Sep 2021 22:04:42 -0500 Subject: [PATCH] Update IPS and remove tagging section --- labs/cicd-intro/3.md | 49 ++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/labs/cicd-intro/3.md b/labs/cicd-intro/3.md index fe88c5d..0763164 100644 --- a/labs/cicd-intro/3.md +++ b/labs/cicd-intro/3.md @@ -1,39 +1,38 @@ # CI/CD - Making Changes! -## 1. Change the APP -Making a change to our application is as simple as modifying our repository and committing the changes, CI/CD will take care of the rest. +Making a change to the application is as simple as modifying the repository and committing the changes, CI/CD takes care of the rest. -From our devbox edit index.html to say something else; +From the DevBox, edit the `index.html` file to contain something else; ``` -Warm regards from the CICD Learning Lab demo app! +The warmest regards from the CICD Learning Lab demo app! ``` -Then commit those changes to our GOGS git repository; +Then commit those changes to the GOGS git repository: ``` git add index.html git commit -m "index text changes" -git push cicd master +git push cicd letsgo # gogs credentials are test/test ``` -This kicks off a new build in drone, notice that drone includes the git commit message from the change, in my case: "index text changes" +This kicks off a new build in Drone. Notice that Drone includes the Git commit message from the change, in this case, "index text changes". ![](assets/images/cichange1.png) -(Reminder, Drone UI is at: [http://10.10.20.25/test/cicd_example_repo/]()). +(Reminder, Drone UI is at: [http://10.10.20.25/test/cicd_example_repo/](http://10.10.20.25/test/cicd_example_repo/)). + -Checking our app again via curl from the Kubernetes server, shows that with the new versioning, our new app content has finally been deployed! +Checking the app again via `curl` from the Kubernetes server, shows that with the new versioning, the new app content has finally been deployed! ``` -[root@devbox cicd_learninglab_demo]# ssh root@10.10.20.1 -root@10.10.20.1's password: +[developer@devbox cicd_learninglab_demo]# ssh developer@10.10.20.21 +developer@10.10.20.21's password: Last login: Tue Sep 19 10:14:18 2017 from devbox.abc.inc -[root@netmaster ~]# curl http://10.100.170.97 +[developer@netmaster ~]# curl http://10.100.170.97
CICD Learning Lab Demo App
@@ -110,16 +109,16 @@ The warmest regards from the CICD Learning Lab demo app! [root@netmaster ~]# ``` -Future app changes take effect immediately with the following process, as we have proper version numbering for our Docker images: +Future app changes take effect immediately with the following process, as we have proper version numbering for the Docker images: ``` # edit index.html git add index.html git commit -m "new changes" -git push cicd master +git push cicd letsgo ``` -Congratulations on building your first CI/CD pipeline with Docker, Drone and Git! +Congratulations on building your first CI/CD pipeline with Docker, Drone, and Git! # More Information. Drone has a wide number of existing plugins for testing, packaging and deployment targets, see the documentation pages here: