Skip to content

sanvipy/example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go example projects

Go Reference

Note:

This is a fork of golang/example, for the purpose of demonstrating a simple Jenkins pipeline. A Jenkins file is added in /hello

  1. It does 3 steps: build and package the app into zip, deploy an AWS lambda function and deploy the app into it

  2. The pipeline pod utlizes 3 containers in total: golang to build the app, zip to create a deployment package, terraform to deploy the app as an AWS lambda function

  3. Use a pipeline job with a choice field having option [apply, destroy] to utlize above Jenkinsfile

You will need a Jenkins running on a Kubernetes cluster and this will help you

Using this

  1. Use Pipeline from SCM and point to this repo. Jenkinsfile is located in /hello

  2. Add a choic parameter with options [plan, apply, destroy]

About

Go example projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 89.8%
  • HTML 2.3%
  • JavaScript 2.0%
  • HCL 1.9%
  • Shell 1.6%
  • CSS 1.5%
  • Other 0.9%