هذا الالتزام موجود في:
Chris Ayers
2023-04-25 23:13:37 +00:00
الأصل 50af28e8f1
التزام 09cb5905ec

عرض الملف

@@ -13,6 +13,12 @@ style: |
grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1rem; gap: 1rem;
} }
.ci {
width: 800px;
}
.cd {
width:960px;
}
@import 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css' @import 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css'
--- ---
<!-- _footer: 'https://github.com/codebytes/github-actions-demos' --> <!-- _footer: 'https://github.com/codebytes/github-actions-demos' -->
@@ -75,9 +81,9 @@ Demo: [Online Parser](https://yaml-online-parser.appspot.com/)
![bg](./img/bg.png) ![bg](./img/bg.png)
# What is CI/CD? # What is CI/CD?
<div class="mermaid"> <div class="mermaid ci" >
flowchart LR flowchart LR
subgraph Continuous Integration subgraph Continuous Integration
direction LR direction LR
A[Code] --Check In--> B[Build] A[Code] --Check In--> B[Build]
B --Auto--> C[Unit Tests] B --Auto--> C[Unit Tests]
@@ -86,7 +92,7 @@ flowchart LR
end end
</div> </div>
<div class="mermaid"> <div class="mermaid cd">
flowchart LR flowchart LR
subgraph Continuous Delivery subgraph Continuous Delivery
direction LR direction LR
@@ -96,8 +102,9 @@ flowchart LR
J --Auto--> K[Additional Tests] J --Auto--> K[Additional Tests]
K --Manual--> L[Release] K --Manual--> L[Release]
end end
linkStyle 4 color:red;
</div> </div>
<div class="mermaid"> <div class="mermaid cd">
flowchart LR flowchart LR
subgraph Continuous Deployment subgraph Continuous Deployment
direction LR direction LR
@@ -107,6 +114,7 @@ flowchart LR
P --Auto--> Q[Additional Tests] P --Auto--> Q[Additional Tests]
Q --Auto--> R[Release] Q --Auto--> R[Release]
end end
linkStyle 4 color:gree;
</div> </div>
--- ---
@@ -128,6 +136,13 @@ flowchart LR
- Jobs contain steps - Jobs contain steps
- Steps are commands or actions - Steps are commands or actions
<div class="mermaid">
flowchart LR
Event --> Job --> Step1[Step] --> Action1[Action]
Job --> Shell1[Shell Command]
Job --> Step2[Step] --> Action2[Action]
</div>
--- ---
![bg right:60% w:750](./img/job-runner.drawio.png) ![bg right:60% w:750](./img/job-runner.drawio.png)