هذا الالتزام موجود في:
Chris Ayers
2023-10-01 16:04:02 +00:00
الأصل d45b0c3087
التزام d61a768d33
6 ملفات معدلة مع 71 إضافات و39 حذوفات

عرض الملف

@@ -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
![bg](./img/bg.png) ![bg right w:90%](./img/bg.png)
--- ---
@@ -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)
--- ---
![bg left](./img/bg.png) ![bg left fit](./img/bg.png)
# Agenda # Agenda
- YAML - YAML
@@ -52,8 +34,6 @@ style: |
--- ---
![bg](./img/bg.png)
<div class="columns"> <div class="columns">
<div> <div>
@@ -79,7 +59,6 @@ Demo: [Online Parser](https://yaml-online-parser.appspot.com/)
--- ---
![bg](./img/bg.png)
# 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;
--- ---
![bg right:60% w:750](./img/job-runner.drawio.png) ![bg right:65% w:725](./img/job-runner.drawio.png)
# 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)
![bg right:50% contain](./img/act-quickstart-2.gif) ![bg right:50% 95%](./img/act-quickstart-2.gif)
--- ---
![bg](./img/bg.png) ![bg right fit](./img/bg.png)
# DEMOS # DEMOS
--- ---

ملف ثنائي غير معروض.

قبل

العرض:  |  الارتفاع:  |  الحجم: 41 KiB

بعد

العرض:  |  الارتفاع:  |  الحجم: 47 KiB

عرض الملف

@@ -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'

عرض الملف

@@ -0,0 +1,9 @@
/* custom-gaia.css */
/* @theme custom-gaia */
@import 'gaia';
section {
/* Override default background */
background: #fff;
}

عرض الملف

@@ -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
عرض الملف

@@ -0,0 +1,6 @@
/* custom.css */
/* @theme custom */
section {
background: #fff;
}