Infrastructure Code Continuous Delivery Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 14: Line 14:
:[[File:Infrastructure_Delivery_Pipeline.png|878px]]
:[[File:Infrastructure_Delivery_Pipeline.png|878px]]
==<span id='Activity'></span>Activities==
==<span id='Activity'></span>Activities==
===Build===
===Build===
The build stage compiles application code, runs unit tests and integration tests, in as [[#Offline|offline]] and [[#Online|online]] testes, and publishes a deployable artifact in a repository.
The build stage compiles application code and makes the code available for use for other stages. Building is usually done once in a pipeline, every time the source code changes. As result, artifacts may be published in a repository.
====<span id='Offline'></span>Offline Tests====
 
====<span id='Online'></span>Online Tests====
In a dedicated environment.
 
===Promote===
===Promote===
Promotion means moving code between delivery [[#Stage|stages]].
===Apply===
===Apply===
Infrastructure code tools are executed and infrastructure resources are created based on the code. The infrastructure resources are created in different environments, corresponding to the pipeline stage the activity belongs to: stage testing, integration, production.
===Validate===
===Validate===



Revision as of 00:37, 23 January 2022

External

Internal

Overview

The delivery pipeline metaphor describes how a change in the infrastructure code progresses from the person that makes the change all the way to production.

Reconcile with Continuous Delivery.

Infrastructure Delivery Pipeline

A infrastructure delivery pipeline consists in multiple types of activities, grouped in stages:

Infrastructure Delivery Pipeline.png

Activities

Build

The build stage compiles application code and makes the code available for use for other stages. Building is usually done once in a pipeline, every time the source code changes. As result, artifacts may be published in a repository.

Promote

Promotion means moving code between delivery stages.

Apply

Infrastructure code tools are executed and infrastructure resources are created based on the code. The infrastructure resources are created in different environments, corresponding to the pipeline stage the activity belongs to: stage testing, integration, production.

Validate

Stages

TO CONTINUE: IaC Chapter 8 Core Practice: Continuously Test and Deliver → Infrastructure Delivery Pipelines.

TO INTEGRATE:

Organizatorium

Tools