IntroductionWhat is CI/CD?Breaking ChangesCI/CD Tools and Solutions


Figure 1

Differences between continous delivery vs. continous deployment and their relationship to continous integration.
Figure 1. Differences between continous delivery vs. continous deployment and their relationship to continous integration. Image retrieved from: HERE

Exit CodesStart by ExitingPrinting Exit CodesSetting Exit CodesIgnoring Exit Codes


Understanding Yet Another Markup LanguageYAMLWhat CI/CD tools use YAML


YAML and GitHub ActionsGitHub Actions YAML


Hello CI World


Figure 1

where to find the github actions button
GitHub Actions page

Figure 2

how to see the output of a job run via Github Actions
GitHub Actions page part 2

Figure 3

Displays the screen for creating a pull request
Pull Request

Figure 4

Displays the screen after the jobs have run on a created pull request
Pull Request

CI for Python PackageSetup Python projectSetup CI


Figure 1

Displays the results of Python CI Actions
Actions

Figure 2

We can see the output / results from running pytest: Actions test


Figure 3

Displays the results of Python CI Actions on the Pull Request
Pull Request

MatrixMultiple version Python testing - Naive ApproachMatrix


Figure 1

Displays the output of multi-version Github Actions
GitHub Actions multi-version

Figure 2

Displays a failed action
GitHub Actions allow failure

Figure 3

Displays many cross platform Github Actions
GitHub Actions cross platform

Figure 4

Displays many cross platform actions on the pull request.
GitHub Actions pull request

CD for Python PackageSetup CD for ReleasesWrap up


Figure 1

Shows how manually run a job workflow
Release manual

Figure 2

The dist job passes but the publish job fails. The publish job cannot fine the artifact. Displays an example output of a failed CD action


Figure 3

Displays the results of a Release workflow
Pipeline passes

Figure 4

Displays the registration page for PyPi
Register Page

Figure 5

Displays the token page on PyPi
Token Page

Figure 6

Shows how to navigate to the page for creating Github Secrets
Secrets Page

Figure 7

Displays the Create A Secret page on Github
Secrets API Page

Figure 8

Displays the output of a successfull Github Action
Success actions

Badge for CI/CDBadgesBadges


Figure 1

Which will give you something like: Displays a created badge for your README file.


(Bonus) Discuss CI/CD for DocumentationDocumentation artifacts


(Bonus) Quick primer on ContainersContainersDockerDockerHubOverall Docker Architecture


Figure 1

Diagram of Docker Architecture
Docker arch

(Bonus) Implementing CI/CD for documentation using containersSetup CI for documentationGitHub Container Image RegistrySetup CD for documentationSide note about our “CD”Wrap up


Figure 1

Displays the output of a CI Github Action
GitHub Actions docs CI

Figure 2

Displays the output of a Github Action
GitHub Actions docs CD

Figure 3

Shows how to navigate to Action packages
GitHub Actions docs package

Figure 4

Displays an open action package
GitHub Actions docs package