Curso Python for DevOps Scripts CI/CD

  • DevOps | CI | CD | Kubernetes | Web3

Curso Python for DevOps Scripts CI/CD

24 horas
Visão Geral

O curso Python for DevOps Scripts CI/CD foi projetado para profissionais que desejam integrar Python aos pipelines de Integração Contínua (CI) e Entrega Contínua (CD). O participante aprenderá a criar scripts automatizados para compilação, testes, implantação e monitoramento de aplicações em ambientes modernos de DevOps, utilizando ferramentas como Jenkins, GitLab CI, GitHub Actions e Docker.

Objetivo

Após realizar este Curso Python for DevOps Scripts CI/CD, você será capaz de:

  • Criar e integrar scripts Python em pipelines CI/CD
  • Automatizar testes, builds e deploys com Python
  • Integrar Python com Jenkins, GitLab CI e GitHub Actions
  • Monitorar e validar entregas automatizadas
  • Aplicar boas práticas de automação e versionamento em projetos DevOps
Publico Alvo
  • Engenheiros DevOps, administradores de sistemas, desenvolvedores e profissionais de automação que buscam aprimorar suas habilidades na criação de scripts Python aplicados à integração e entrega contínua.
Pre-Requisitos
  • Conhecimento básico de Python
  • Familiaridade com conceitos DevOps e pipelines CI/CD
  • Noções de uso de Git e Docker
Materiais
Curso Python for DevOps Scripts CI/CD
Conteúdo Programatico

Introduction to DevOps and CI/CD

  1. What is DevOps and why automate?
  2. Overview of CI/CD pipelines
  3. The role of Python in automation

Setting Up the Development Environment

  1. Installing Python, pip, and virtual environments
  2. Overview of Jenkins, GitLab CI, and GitHub Actions
  3. Setting up Docker and Git repositories

Python Scripting Fundamentals for DevOps

  1. Writing modular and reusable scripts
  2. Handling system commands with subprocess
  3. Reading and writing configuration files (YAML, JSON, INI)

Version Control Automation

  1. Automating Git commits, merges, and branches
  2. Working with GitPython
  3. Integrating scripts for pre-commit and post-deploy hooks

Continuous Integration Automation

  1. Triggering builds with Python scripts
  2. Automating unit and integration tests
  3. Reporting build results and test outcomes

Jenkins Integration with Python

  1. Jenkins API basics
  2. Creating and managing jobs using Python
  3. Triggering Jenkins pipelines programmatically

GitLab CI/CD and GitHub Actions Automation

  1. Writing YAML pipeline definitions
  2. Integrating Python scripts into CI/CD workflows
  3. Handling artifacts and environment variables

Containerization and Deployment Automation

  1. Building and pushing Docker images with Python
  2. Automating deployments to Kubernetes or cloud environments
  3. Managing environment configuration dynamically

Monitoring and Logging Automation

  1. Using Python to gather build metrics
  2. Integrating with Prometheus and Grafana
  3. Sending notifications via Slack or email

Error Handling and Pipeline Resilience

  1. Exception handling in CI/CD scripts
  2. Retrying failed stages automatically
  3. Logging and debugging best practices

Security and Secrets Management

  1. Managing credentials securely with environment variables and vaults
  2. Encrypting sensitive data in pipelines
  3. Auditing automation scripts

Real-World Projects and Best Practices

  1. Automated build and deployment pipeline using Jenkins
  2. GitLab CI/CD integration with Docker and Python
  3. Best practices for Python DevOps scripting
TENHO INTERESSE

Cursos Relacionados

Curso Ansible Red Hat Basics Automation Technical Foundation

16 horas

Curso Terraform Deploying to Oracle Cloud Infrastructure

24 Horas

Curso Ansible Linux Automation with Ansible

24 horas

Ansible Overview of Ansible architecture

16h

Advanced Automation: Ansible Best Practices

32h