diff --git a/slides/Slides.md b/slides/Slides.md index 1fe2d1c..82d1625 100644 --- a/slides/Slides.md +++ b/slides/Slides.md @@ -1,32 +1,14 @@ --- marp: true -theme: default +theme: custom-default 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' --- # CI/CD with GitHub Actions ## Chris Ayers -![bg](./img/bg.png) +![bg right w:90%](./img/bg.png) --- @@ -42,7 +24,7 @@ style: | GitHub: [Codebytes](https://github.com/codebytes) --- -![bg left](./img/bg.png) +![bg left fit](./img/bg.png) # Agenda - YAML @@ -52,8 +34,6 @@ style: | --- -![bg](./img/bg.png) -
@@ -79,7 +59,6 @@ Demo: [Online Parser](https://yaml-online-parser.appspot.com/) --- -![bg](./img/bg.png) # What is CI/CD?
@@ -87,20 +66,19 @@ flowchart LR subgraph Continuous Integration direction LR A[Code] --Check In--> B[Build] - B --Auto--> C[Unit Tests] - C --Auto--> D[Dev Release] - D --Auto--> E[Additional Tests] + B -- Auto --> C[Unit Tests] + C -- Auto --> D[Dev Release] + D -- Auto --> E[Additional Tests] end
-
flowchart LR subgraph Continuous Delivery direction LR G[Code] --Check In--> H[Build] - H --Auto--> I[Unit Tests] - I --Auto--> J[Dev Release] - J --Auto--> K[Additional Tests] + H -- Auto --> I[Unit Tests] + I -- Auto --> J[Dev Release] + J -- Auto --> K[Additional Tests] K --Manual--> L[Release] end linkStyle 4 color:red; @@ -110,12 +88,12 @@ flowchart LR subgraph Continuous Deployment direction LR M[Code] --Check In--> N[Build] - N --Auto--> O[Unit Tests] - O --Auto--> P[Dev Release] - P --Auto--> Q[Additional Tests] - Q --Auto--> R[Release] + N -- Auto --> O[Unit Tests] + O -- Auto --> P[Dev Release] + P -- Auto --> Q[Additional Tests] + Q -- Auto --> R[Release] end -linkStyle 4 color:gree; +linkStyle 4 color:green;
--- @@ -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 - 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) @@ -151,11 +129,11 @@ linkStyle 4 color:gree; [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 --- diff --git a/slides/img/job-runner.drawio.png b/slides/img/job-runner.drawio.png index 54525db..155d46c 100644 Binary files a/slides/img/job-runner.drawio.png and b/slides/img/job-runner.drawio.png differ diff --git a/slides/themes/custom-default.css b/slides/themes/custom-default.css new file mode 100644 index 0000000..a3fd589 --- /dev/null +++ b/slides/themes/custom-default.css @@ -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' diff --git a/slides/themes/custom-gaia.css b/slides/themes/custom-gaia.css new file mode 100644 index 0000000..43abc4d --- /dev/null +++ b/slides/themes/custom-gaia.css @@ -0,0 +1,9 @@ +/* custom-gaia.css */ +/* @theme custom-gaia */ + +@import 'gaia'; + +section { + /* Override default background */ + background: #fff; +} \ No newline at end of file diff --git a/slides/themes/custom-uncover.css b/slides/themes/custom-uncover.css new file mode 100644 index 0000000..e270a40 --- /dev/null +++ b/slides/themes/custom-uncover.css @@ -0,0 +1,9 @@ +/* custom-uncover.css */ +/* @theme custom-uncover */ + +@import 'uncover'; + +section { + /* Override default background */ + background: #fff; +} \ No newline at end of file diff --git a/slides/themes/custom.css b/slides/themes/custom.css new file mode 100644 index 0000000..4ed7af5 --- /dev/null +++ b/slides/themes/custom.css @@ -0,0 +1,6 @@ +/* custom.css */ +/* @theme custom */ + +section { + background: #fff; + } \ No newline at end of file