From the course: Learning HashiCorp Packer

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Challenge: Make a pipeline for the MariaDB server

Challenge: Make a pipeline for the MariaDB server - Packer Tutorial

From the course: Learning HashiCorp Packer

Start my 1-month free trial

Challenge: Make a pipeline for the MariaDB server

(inquisitive music) - [Instructor] In this final challenge, I want you to bring together everything that we have talked about so far, and that is to create a Jenkins pipeline for our MariaDB image, and run it on a Jenkins server, launched from your own Jenkins image. First, you'll create a new GitHub repo containing the packer templates you've written for building a MariaDB image. Write your own Jenkinsfile, describing a build pipeline for your packer template. You can use the Jenkinsfile in this chapter as a base, and you'll find all of these files in the exercise files for this chapter, then build your own Jenkins server image using the templates in this chapter, and launch a Jenkins server. Configure the Jenkins server to pull from your MariaDB repo, and run your Jenkinsfile pipeline to automate building the image. Note that you will also need to set up your AWS credentials within Jenkins' credential store. By…

Contents