🚀 A repository focused on exploring GitHub Actions as a powerful CI/CD automation tool.
- About GitHub Actions
- Pricing
- Options
- About Self-Hosted Runners
- About GitHub Hosted Runners
- Who use GitHub Actions?
- Demo pt. 1
- Setup an example Python project
- Let's allow actions to be executed in the repository
- Create the secrets
- Steps:
- Checkout Code
- Setup Python
- Install Dependencies
- Run Lint
- Fix Linter Findings
- Run Tests
- Run Build
- Upload Package to the GitHub Run
- Publish Package to PyPi
- How to set up a local Runner for testing?
- Demo pt. 2
- Jobs in Parallel
- Jobs in Sequence
- Steps:
- Checkout Code
- Docker Login
- Add the Container Metadata
- Setup Docker QEMU
- Setup Docker Buildx
- Build and Push
- Save Image to the GitHub Run
- Demo pt. 3
- Trigger a Workflow when a Pull Request is merged
- Create a Release in the repository when the Pull Request is merged
Each of the Workshop sections is described in the following table.
# |
Section |
|---|---|
| 1 | Introduction |
| 2 | Prerequisites to Develop the Workshop |
| 3 | Deploy a Python Package |
| 4 | Set the Secrets and Variables |
| 5 | Deploy a Docker Container |
- Are there any examples of workflows anywhere?
- The best place to learn?
- When do I know an error is due to my Workflow configuration and not GitHub services?
- How many jobs can I run in parallel?
- How many reusable workflows can I use?
- What is the maximum time a job can be in running state?
- Are secrets really secret/secure?
- What about the CD?
- Add a section for Concurrency
- Add a section to create, edit, or delete issues or pull requests using the
github-actions[bot] - Add a section to explore the avaiable GitHub Actions metrics in the UI
- Add a section with some points to do Workflow management
- Add a section to explain how to cache dependencies in Python and improve the total execution time of a workflow
- Add a section of how to configure and run the Dependabot
- Add a job to get the version to dynamically obtain the version from the
pyproject.tomlfile