Skip to content

Foundational practice and capabilities that are a precondition for being successful at DevOps.

Notifications You must be signed in to change notification settings

stephenlauck/devops_foundation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Devops Practice Primer

A Journey From Laptop to Production

Write, build and test code

We need to write build and test code. Then we push that code to a central repository. If we do not have a central repository that should be the first code that we write.

  1. write, build and test the code to build a VCS (version control system) b. Kitchen file to build local infrastructure a. Ansible code to install/configure Gitlab c. Inspec code to validate our build
  2. from laptop build VCS
  3. push code to build VCS into VCS

Delivery and Deploy code from VCS to Production

Code is continuously being delivered to the VCS, tested, reviewed and merged (integrated). After the code is merged we need an automated way to test again (post integration) and continuously deliver that new code towards production if the tests pass.

  1. write, build and test the code to build Jenkins a. ansible code to install/configure Jenkins b. Kitchen file to build local infrastructure c. Inspec code to validate our build
  2. write a Jenkinsfile that defines the pipeline to deploy the Jenkins build code.
  3. push code to VCS
  4. from laptop build Jenkins
  5. Add Jenkinsfile to Jenkins build code to automatically build jobs based on repositories in VCS
  6. Add Jenkinsfile to VCS build code
  7. push all updated code to VCS

Provisioning as Code

We need a code driven provisioning process in order to build our infrastructure.

  1. write the request for infrastructure in code
  2. from laptop build the infrastructure
  3. push code that builds infrastrcture to VCS
  4. pipeline infrastructure build with Jenkinsfile

Compliance as Code

About

Foundational practice and capabilities that are a precondition for being successful at DevOps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages