In this blog we demonstrate the creation of a Continuous Integration pipeline based on Google Cloud Platform. The blog includes a video showing the step-by-step setup from scratch.
Continuous Integration is one of the corner stones of the Continuous Delivery 3.0 pipeline. Continuous Integration needs orchestration to perform a number of actions: fetch the source code from the repository, build the code, do code quality checks, run unit tests and store the target files in a component repository.
The video below shows how the orchestrator is installed on Google Cloud Platform. Google Cloud offers IaaS and PaaS as cloud solution for the pipeline.
In the video the following steps are processed:
1. Login onto https://cloud.google.com
2. Start compute engine
3. Create the Linux based Virtual Machine, accessed by open SSH
4. Install the Java Runtime Environment : sudo apt-get install default-jre
5. Install jenkins
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins
sudo /etc/init.d/jenkins start
6. After installation a few check commands
curl -vvv jenkins:8080
curl -vvv <public ip>:8080
browser <public ip>:8080
The video was shot once in real-time, so without editing and fuzz: