Skip to main content

Posts

Showing posts with the label cicd

Github Action

  Photo by Aleksandr Neplokhov at pexel Explore Let’s first clarify the difference between workflow and CI/CD and discuss what GitHub Actions do. Workflow : A workflow is a series of automated steps that define how code changes are built, tested, and deployed. Workflows can include various tasks such as compiling code, running tests, and deploying applications. Workflows are defined in a YAML file (usually named .github/workflows/workflow.yml ) within your repository. They are triggered by specific events (e.g., push to a branch, pull request, etc.). Workflows are not limited to CI/CD; they can automate any process in your development workflow CI/CD (Continuous Integration/Continuous Deployment) : CI/CD refers to the practice of automating the process of integrating code changes, testing them, and deploying them to production. Continuous Integration (CI) focuses on automatically building and testing code changes whenever they are pushed to a repository. Continuous Deployment (...

Migrate CI/CD from Gitlab CI/CD to Azure or AWS

  Migrating from GitLab CI/CD to Azure DevOps for Experienced Users This tutorial guides experienced GitLab CI/CD users on migrating their workflows to Azure DevOps. It compares key concepts and provides step-by-step instructions with code and YAML examples to facilitate a smooth transition. Comparison of Key Concepts: Feature GitLab CI/CD Azure DevOps Version control system GitLab Git Pipelines Stages and jobs Pipelines and stages YAML definition .gitlab-ci.yml azure-pipelines.yml CI triggers Push events, merge requests, tags Branches, pushes, pull requests, tags CD triggers Tags, environments Releases, environments Artifacts Downloadable artifacts Pipeline artifacts Runners Self-hosted or shared runners Pipelines run on Microsoft-hosted agents or self-hosted agents Variables Variables defined in .gitlab-ci.yml Variables defined in pipeline configuration or Azure Pipelines YAML Secrets GitLab Secrets Azure Key Vault Step-by-Step Migration Guide: 1. Install Azure Pipelines extens...