Reader small image

You're reading from  Data Engineering with Google Cloud Platform - Second Edition

Product typeBook
Published inApr 2024
PublisherPackt
ISBN-139781835080115
Edition2nd Edition
Right arrow
Author (1)
Adi Wijaya
Adi Wijaya
author image
Adi Wijaya

Adi Widjaja is a strategic cloud data engineer at Google. He holds a bachelor's degree in computer science from Binus University and co-founded DataLabs in Indonesia. Currently, he dedicates himself to big data and analytics and has spent a good chunk of his career helping global companies in different industries.
Read more about Adi Wijaya

Right arrow

Exercise – implementing CI using Cloud Build

In this exercise, we will create a CI pipeline using Cloud Build. There will be four main steps, as follows:

  1. Creating a GitHub repository using a Cloud Source Repository.
  2. Developing the code and Cloud Build scripts.
  3. Creating a Cloud Build trigger.
  4. Pushing the code to the GitHub repository.

Let’s get started!

Creating a GitHub repository using a Cloud Source Repository

First, let’s prepare the GitHub repository. Follow these steps:

  1. Go to your GCP console and find Source Repository from the navigation bar. It’s located under the CI/CD section:
Figure 12.2 – The Source Repository option in the navigation menu

Figure 12.2 – The Source Repository option in the navigation menu

  1. After clicking the menu, a new browser tab will open within the Cloud Source Repository console. Click the Get started button on this screen to create a repository:
Figure 12.3 – The Get started button

Figure 12.3 – The Get...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Data Engineering with Google Cloud Platform - Second Edition
Published in: Apr 2024Publisher: PacktISBN-13: 9781835080115

Author (1)

author image
Adi Wijaya

Adi Widjaja is a strategic cloud data engineer at Google. He holds a bachelor's degree in computer science from Binus University and co-founded DataLabs in Indonesia. Currently, he dedicates himself to big data and analytics and has spent a good chunk of his career helping global companies in different industries.
Read more about Adi Wijaya