From the course: Docker: Continuous Delivery
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Wire up an integration test job - Docker Tutorial
From the course: Docker: Continuous Delivery
Wire up an integration test job
- [Instructor] Now that we have two load balancers, one for running our production code, and another for testing our code, let's go ahead and give Jenkins the smarts to first deploy something on testing, make sure it actually works, and then, let the pipeline continue through to deploying it into production. So heading back to the editor and into our deployment pipeline, here we have the stage we just added that deploys to production at the end of the pipeline. But we want to add some testing just before that. So before we deploy it, we'll see if it works. So we've got this chunk here which we're going to go ahead and uncomment and take a look at. This says let's do some integration testing. Again, we put the condition on here that it only happens if we're deploying the master branch, and then we're going to use the same deployer we built for the last stage completely unchanged to deploy here instead. Check to see…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.