-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Expand file tree
/
Copy pathenvironments-play.yml
More file actions
40 lines (36 loc) · 865 Bytes
/
environments-play.yml
File metadata and controls
40 lines (36 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
#trigger removed to avoid it all running and taking up microsoft agents
pool:
vmImage: ubuntu-latest
stages:
#Build Stage
- stage: Build
jobs:
- job: BuildJob
steps:
- script: echo "Hey there, this is the building stage!"
#Dev Environment
- stage: Dev
dependsOn: Build
jobs:
- deployment: DeployDev
environment: Dev
strategy:
runOnce:
deploy:
steps:
- script: echo "Deploying to Dev!"
#Prod Environment
- stage: Prod
dependsOn: Dev
jobs:
- deployment: DeployProd
environment: Prod
strategy:
runOnce:
deploy:
steps:
- script: echo "Deploying to Prod!"