Skip to content

Commit 8a4387c

Browse files
Misspell and formatting
1 parent 66e4b50 commit 8a4387c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

articles/data-factory/ci-cd-pattern-with-airflow.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Working with data pipelines in Airflow requires you to create or update your DAG
2020

2121
### Continuous Integration (CI) 
2222

23-
Continuous Integration (CI) is a software development practice that emphasizes frequent and automated integration of code changes into a shared repository. It involves developers regularly committing their code, and upon each commit, an automated CI pipeline builds the code, runs tests, and performs validation checks. The primary goal is to detect and address integration issues early in the development process, providing rapid feedback to developers. CI ensures that the codebase remains in a constantly testable and deployable state. This practise leads to enhanced code quality, collaboration, and the ability to catch and fix bugs before they become significant problems. 
23+
Continuous Integration (CI) is a software development practice that emphasizes frequent and automated integration of code changes into a shared repository. It involves developers regularly committing their code, and upon each commit, an automated CI pipeline builds the code, runs tests, and performs validation checks. The primary goal is to detect and address integration issues early in the development process, providing rapid feedback to developers. CI ensures that the codebase remains in a constantly testable and deployable state. This practice leads to enhanced code quality, collaboration, and the ability to catch and fix bugs before they become significant problems. 
2424

25-
### Continuous Deployment 
25+
### Continuous Deployment (CD)
2626

2727
Continuous Deployment (CD) is an extension of CI that takes the automation one step further. While CI focuses on automating the integration and testing phases, CD automates the deployment of code changes to production or other target environments. This practice helps organizations release software updates quickly and reliably. It reduces mistakes in manual deployment and ensures that approved code changes are delivered to end-users swiftly. 
2828

@@ -37,7 +37,8 @@ When a pull request (PR) is made from a feature branch to the Development branch
3737
- **Python Dependencies Testing**: These tests install and verify the correctness of Python dependencies to ensure that the project's dependencies are properly configured. 
3838
- **Code Analysis and Linting:** Tools for static code analysis and linting are applied to evaluate code quality and adherence to coding standards. 
3939
- **Airflow DAG’s Tests:** These tests execute validation tests, including tests for the DAG definition and unit tests designed for Airflow DAGs. 
40-
- **Unit Tests for Airflow custom operators, hooks, sensors and triggers**  
40+
- **Unit Tests for Airflow custom operators, hooks, sensors and triggers.**
41+
4142
If any of these checks fail, the pipeline terminates, signaling that the developer needs to address the issues identified. 
4243

4344
#### Git-sync with Production IR: Map your Managed Airflow environment with your Git repository’s Production branch. 
@@ -182,6 +183,7 @@ steps:
182183
For more information, See [Azure Pipelines](/azure/devops/pipelines/get-started/pipelines-sign-up)
183184

184185
### Using GitHub Actions
186+
185187
**Step 2.1:** Create a `.github/workflows` directory in your GitHub repository. 
186188

187189
**Step 2.2:** In the `.github/workflows` directory, create a file named `github-actions-ci-cd.yml` 
@@ -298,7 +300,7 @@ def test_requires_approved_tag(dagbag):
298300

299301
**Step 4:** Now, when you raise pull request to dev branch, GitHub Actions triggers the CI pipeline to run all the tests. 
300302

301-
#### For More Information: 
303+
#### For more information:
302304

303305
- [https://airflow.apache.org/docs/apache-airflow/stable/_modules/airflow/models/dagbag.html](https://airflow.apache.org/docs/apache-airflow/stable/_modules/airflow/models/dagbag.html) 
304306

0 commit comments

Comments
 (0)