updated slides
هذا الالتزام موجود في:
@@ -1,32 +1,14 @@
|
|||||||
---
|
---
|
||||||
marp: true
|
marp: true
|
||||||
theme: default
|
theme: custom-default
|
||||||
footer: '@Chris_L_Ayers - https://chris-ayers.com'
|
footer: '@Chris_L_Ayers - https://chris-ayers.com'
|
||||||
style: |
|
|
||||||
.columns {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
||||||
gap: 1rem;
|
|
||||||
}
|
|
||||||
.columns3 {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
||||||
gap: 1rem;
|
|
||||||
}
|
|
||||||
.ci {
|
|
||||||
width: 800px;
|
|
||||||
}
|
|
||||||
.cd {
|
|
||||||
width:960px;
|
|
||||||
}
|
|
||||||
@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' -->
|
||||||
|
|
||||||
# CI/CD with GitHub Actions
|
# CI/CD with GitHub Actions
|
||||||
|
|
||||||
## Chris Ayers
|
## Chris Ayers
|
||||||

|

|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -42,7 +24,7 @@ style: |
|
|||||||
<i class="fa-brands fa-github"></i> GitHub: [Codebytes](https://github.com/codebytes)
|
<i class="fa-brands fa-github"></i> GitHub: [Codebytes](https://github.com/codebytes)
|
||||||
|
|
||||||
---
|
---
|
||||||

|

|
||||||
|
|
||||||
# Agenda
|
# Agenda
|
||||||
- YAML
|
- YAML
|
||||||
@@ -52,8 +34,6 @@ style: |
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
<div class="columns">
|
<div class="columns">
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
@@ -79,7 +59,6 @@ Demo: [Online Parser](https://yaml-online-parser.appspot.com/)
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||

|
|
||||||
# What is CI/CD?
|
# What is CI/CD?
|
||||||
|
|
||||||
<div class="mermaid ci" >
|
<div class="mermaid ci" >
|
||||||
@@ -87,20 +66,19 @@ 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]
|
||||||
C --Auto--> D[Dev Release]
|
C -- Auto --> D[Dev Release]
|
||||||
D --Auto--> E[Additional Tests]
|
D -- Auto --> E[Additional Tests]
|
||||||
end
|
end
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mermaid cd">
|
<div class="mermaid cd">
|
||||||
flowchart LR
|
flowchart LR
|
||||||
subgraph Continuous Delivery
|
subgraph Continuous Delivery
|
||||||
direction LR
|
direction LR
|
||||||
G[Code] --Check In--> H[Build]
|
G[Code] --Check In--> H[Build]
|
||||||
H --Auto--> I[Unit Tests]
|
H -- Auto --> I[Unit Tests]
|
||||||
I --Auto--> J[Dev Release]
|
I -- Auto --> J[Dev Release]
|
||||||
J --Auto--> K[Additional Tests]
|
J -- Auto --> K[Additional Tests]
|
||||||
K --Manual--> L[Release]
|
K --Manual--> L[Release]
|
||||||
end
|
end
|
||||||
linkStyle 4 color:red;
|
linkStyle 4 color:red;
|
||||||
@@ -110,12 +88,12 @@ flowchart LR
|
|||||||
subgraph Continuous Deployment
|
subgraph Continuous Deployment
|
||||||
direction LR
|
direction LR
|
||||||
M[Code] --Check In--> N[Build]
|
M[Code] --Check In--> N[Build]
|
||||||
N --Auto--> O[Unit Tests]
|
N -- Auto --> O[Unit Tests]
|
||||||
O --Auto--> P[Dev Release]
|
O -- Auto --> P[Dev Release]
|
||||||
P --Auto--> Q[Additional Tests]
|
P -- Auto --> Q[Additional Tests]
|
||||||
Q --Auto--> R[Release]
|
Q -- Auto --> R[Release]
|
||||||
end
|
end
|
||||||
linkStyle 4 color:gree;
|
linkStyle 4 color:green;
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -139,7 +117,7 @@ linkStyle 4 color:gree;
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||

|

|
||||||
# Jobs
|
# Jobs
|
||||||
- Workflows can contain multiple jobs
|
- Workflows can contain multiple jobs
|
||||||
- Each job runs on a [Runner](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners)
|
- Each job runs on a [Runner](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners)
|
||||||
@@ -151,11 +129,11 @@ linkStyle 4 color:gree;
|
|||||||
|
|
||||||
<i class="fa-brands fa-github"></i> [nektos/act](https://github.com/nektos/act)
|
<i class="fa-brands fa-github"></i> [nektos/act](https://github.com/nektos/act)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||

|

|
||||||
# DEMOS
|
# DEMOS
|
||||||
|
|
||||||
---
|
---
|
||||||
|
ملف ثنائي غير معروض.
قبل العرض: | الارتفاع: | الحجم: 41 KiB بعد العرض: | الارتفاع: | الحجم: 47 KiB |
30
slides/themes/custom-default.css
Normal file
30
slides/themes/custom-default.css
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
/* custom-default.css */
|
||||||
|
/* @theme custom-default */
|
||||||
|
|
||||||
|
@import 'default';
|
||||||
|
|
||||||
|
.columns {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||||
|
gap: 1rem;
|
||||||
|
}
|
||||||
|
.columns3 {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||||
|
gap: 1rem;
|
||||||
|
}
|
||||||
|
img[alt~="center"] {
|
||||||
|
display: block;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
.fa-twitter { color: aqua; }
|
||||||
|
.fa-mastodon { color: purple; }
|
||||||
|
.fa-linkedin { color: blue; }
|
||||||
|
.fa-window-maximize { color: skyblue; }
|
||||||
|
|
||||||
|
svg[id^="mermaid-"] {
|
||||||
|
max-width: 960px;
|
||||||
|
max-height: 600px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@import 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css'
|
9
slides/themes/custom-gaia.css
Normal file
9
slides/themes/custom-gaia.css
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
/* custom-gaia.css */
|
||||||
|
/* @theme custom-gaia */
|
||||||
|
|
||||||
|
@import 'gaia';
|
||||||
|
|
||||||
|
section {
|
||||||
|
/* Override default background */
|
||||||
|
background: #fff;
|
||||||
|
}
|
9
slides/themes/custom-uncover.css
Normal file
9
slides/themes/custom-uncover.css
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
/* custom-uncover.css */
|
||||||
|
/* @theme custom-uncover */
|
||||||
|
|
||||||
|
@import 'uncover';
|
||||||
|
|
||||||
|
section {
|
||||||
|
/* Override default background */
|
||||||
|
background: #fff;
|
||||||
|
}
|
6
slides/themes/custom.css
Normal file
6
slides/themes/custom.css
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
/* custom.css */
|
||||||
|
/* @theme custom */
|
||||||
|
|
||||||
|
section {
|
||||||
|
background: #fff;
|
||||||
|
}
|
المرجع في مشكلة جديدة
حظر مستخدم