From the course: GitHub Actions for CI/CD: Build, Test, and Deploy

Unlock this course with a free trial

Join today to access over 26,500 courses taught by industry experts.

Solution: Build a full CI/CD pipeline with environment controls and summaries

Solution: Build a full CI/CD pipeline with environment controls and summaries - GitHub Tutorial

From the course: GitHub Actions for CI/CD: Build, Test, and Deploy

Solution: Build a full CI/CD pipeline with environment controls and summaries

“

I'm so glad we get one more challenge to reinforce what we've learned in this course. In this challenge, we're asked to create the structure for a full CI/CD pipeline that uses job dependencies and protected deployments. In the end, we'll have a workflow that we can use as a model for deploying applications. I started by creating a repo and adding the exercise files for this lesson. The main file is a workflow that sets up the base jobs for the pipeline. But this is not really a pipeline. All the basic jobs are there to run integration checks, build an artifact, and then deploy and test the environments, but the tests and deployments are all out of order. So the next task is to organize the workflow file to get all these jobs lined up. I updated the workflow file by adding the needs keyword to each job that has a dependency on a previous job. For the build job, I added a dependency on the integration job. For the deploy development, it needs for the build job to complete. And then…

Contents