concept Gogs in category openshift

appears as: Gogs, Gogs
OpenShift in Action

This is an excerpt from Manning's book OpenShift in Action.

The first part of any CI/CD pipeline is the development environment. Here, container images are built, tested, and then tagged if they pass their tests. All container builds happen in this environment. You’ll use a prebuilt template to spin up a simple ToDo application that runs on Python and uses MongoDB as a database. The template also provides an open source Git repository called Gogs, which comes preinstalled with the application already in it. PostgreSQL is also provided as a database for Gogs. Figure 6.1 shows the pods that are created during instantiation of the template. (There’s also a builder pod for the Python application, and a Gogs installation pod that will exit when completed, but these aren’t shown in the figure.)

6.6.1. Triggering Jenkins from Gogs

Earlier in the chapter, you spun up a development environment from a template that included Gogs as the Git source repository. New code commits in Gogs configured an OpenShift build in the dev project. Because you’ve configured Jenkins as the backbone of your CI/CD, it makes sense to reconfigure Gogs to kick off the pipeline through Jenkins. This will automate the entire pipeline process, not just a single build.