Skip to content

DKuefner/Hello-World-Go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello-World-Go

Hello World app for GCP Cloud Run

This app provides the following:

  • Web page displaying a simple Hello World message
  • Using Git and Git Hub as code repository
  • Google Cloud Build as CI/CD engine which allows versioning (cloudbuild file required)
  • Cloud Run as PaaS service
  • The app written in Go (based on a community example)

The app is intended to be deployed on Google Cloud Run. The cloudbuild.yaml in this example contains the links to an existing Cloud Repository. Feel free to clone the repository from https://github.com/DKuefner/Hello-World-Go.git and sync it with your own GitHub repo. Then connect your Cloud repository with your GitHub repository. The links in cloudbuild.yaml should be replaced with your own Google Cloud repo links. The purpose of the homepage.html file provides a simple web page whereas main.go is the main application written in go which calls the html page. Dockerfile describes the image to be build based on alpine and includes main.go and homepage.html into the image.

About

Hello World app for GCP Cloud Run

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published