#DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server...

26
#DOH19

Transcript of #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server...

Page 1: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

#DOH19

Page 2: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

#DOH19 2

Organizer & sponsors

GetLatestVersion.it

Page 3: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

3

Build and release in code with Azure Devops Pipelines

Ricci Gian [email protected]@alkampfer

Page 4: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control
Page 5: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

#DOH19

Misconception #1 – Everything runs on azure

Page 6: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

#DOH19

Misconception #1 – Everything runs on azure

Core Pipeline services

On Premises

Aws / google / other

cloudAgent Server

Page 7: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

#DOH19

Misconception #2 – only for the cloud

• Azure DevOps server runs on azure

• Everything else can be on-premise• Agents

• Source control

• Deploy target

• Third party system

• Etc.

Page 8: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

#DOH19

Misconception #3 – only for Microsoft stuff

• Runs on Mac and Linux

• Java, Python, C++, .NET, Angular, and more

• Deploy on azure / other cloud / on-premise

• Integrate with other:• Source control

• CI / CD technologies

• Extensible with addin and a full marketplace

Page 9: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

#DOH19

Misconception #4 – Complex to maintain

• Hosted agents managed by MS

• On-Premise agent experience:• Unzip and config

• Auto Update

• Automatic Maintenance

• Centralized control

• Centralized security

Page 10: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

#DOH19

Litte bit of history

• 2005: TFS CI === MsBuild

• 2010: TFS CI === Workflow Foundation (complex and difficult to use)

• 2015: TFS / Azure DevOps CI === Web Editor, Task based

• 2018: TFS / Azure DevOps CI === YAML file in source control.

Back to the basic

Page 11: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

Demo: Graphical Build

Page 12: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

#DOH19

Why YAML: Everything in source control

Base CI

Code Quality CI

Release Package

Page 13: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

#DOH19

Why YAML: Easy to copy definitions between repos

Base CI

Code Quality CI

Release Package

Page 14: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

#DOH19

Why YAML: Follow branches

Page 15: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

#DOH19

Why YAML: Base Template definition

Nuget

Base CI

Angular

Repository of Base

YAML TemplatesProject

Repo

Base CI

Reference

s

Page 16: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

#DOH19

Why YAML: Visual Studio Code Addin

Intellisense

Validation

Task List

Page 17: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

#DOH19

Why YAML: Easy convert from existing Pipelines

Page 18: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

Demo: Migration to YAML

Page 19: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

#DOH19

Future• Multi-stage pipeline

• Release on environment with YAML

• https://dev.azure.com/mseng/AzureDevOpsRoadmap/_workitems/recentlyupdated

Page 20: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

Demo: Multistage

Page 21: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

#DOH19

GitHub Actions

Page 22: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

Demo: GitHub actions

Page 23: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

#DOH19

Page 24: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

#DOH19 24

Page 25: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

25

Page 26: #DOH19 - devops-heroes.net...#DOH19 Misconception #2 –only for the cloud •Azure DevOps server runs on azure •Everything else can be on-premise •Agents •Source control

#DOH19

THANK YOU!