DevOps Classroom notes 01/Dec/2024

Azure DevOps

  • Azure DevOps offers comprehensive tools to manage ALM (Application Lifecycle Management)
  • Azure DevOps offers
    • Project Management
      • Scrum Boards
      • Product Backlogs
      • Releases or iterations
    • Test and Defect Management:
      • Test Case Management
      • Defects
      • Automated Test Execution
    • Version Control System
      • Git
      • TFVC (Team foundation Version Control)
    • Wiki pages:
      • Documentation
    • Pipeline
      • Classic Pipelines
      • YAML Pipelines
    • Artifact Management
    • Environments
  • Azure DevOps Basic Organizational Structure
    • Organization: This represents an organization or organizational unit
    • Project: This represents a project. An organization can have multiple projects. While creating the project we can select the SDLC model (Agile, ITIL, Scrum)
    • Source Repos: Each Project can have multiple Azure Source Repos (Git Repositories)
    • Pipelines: Each Repo can be used to create multiple pipelines
  • Azure DevOps Models
    • Azure DevOps Server:
      • This software can be installed on Windows server and azure devops can be used
      • This can be run on-premises or self-hosted
    • Azure DevOps:
      • This a cloud hosted service
  • Azure DevOps Server Plans
    • Express: This is free version
    • Paid: This requires a license
  • Azure DevOps Services:
  • Azure DevOps Services Account creation options

Configuring ssh key for azure devops



Importing a Repository into Azure DevOps from github

From UI

  • Watch classroom video for steps
  • Now select branches and make some branch as default

From git cli

  • Create an empty repository in Azure DevOps
  • now copy the repo url
  • now cd into the folder where you have already cloned from some other version control

Understanding Pipeline execution on Azure DevOps

  • Azure DevOps pipeline execution happens based on configured triggers such as push or PR or on schedule
  • Pipeline has to be execute on some system, These systems are referred as agents. Azure DevOps support the following agent types
    • self hosted agent:
      • This is physical or virtual machine maintained by your organiztion
      • an agent software will be installed on this system
      • Free plan ( 1 self hosted agent is free)
    • Microsoft hosted agents:
      • This will be a virtual machine launched by azure devops when your pipeline is triggered
      • Azure DevOps provides multiple microsoft hosted agents
      • Each agent will have preinstalled software
      • Free plan: 1800 minutes per month is free
  • How to organize what has to be done ?
    • Pipeline: This is collection of stages and trigger info
    • Stages:
      • Collection of jobs
      • jobs can be executed in a sequential order or parallel
    • Jobs:
      • collection of steps which can be run on same agent
    • steps:
      • this is individual step in the CI/CD Pipeline
      • mvn clean package

Activites

  • Finish all the git concepts
  • Finish all the build activities
  • Import the repos to azure devops
  • Focus on creating pull requests in Github and Azure Devops
  • also complete yaml tutorial
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a comment

Turn on JavaScript to leave a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company
Exit mobile version
%%footer%%