Skip to content

Commit

Permalink
Propagate Azure Pipeline Template Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jasercion committed Aug 21, 2019
1 parent 049287b commit 5ecb19a
Showing 1 changed file with 92 additions and 0 deletions.
92 changes: 92 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# 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:
- master
- patch_branch

resources:
repositories:
- repository: ci
type: github
name: fermi-lat/ci
endpoint: fermi-lat

###### UPDATE VALUE WITH REPO NAME ######
########## BEFORE DEPLOYMENT ############

variables:
- group: DevOps Access Keys
- name: repo
value: skymaps

#########################################

stages:

#####################################
# Linux Stage - Microsoft Hosted VMs
#####################################

### Linux Build Stage ###
- stage: linux_build_stage
displayName: 'Building package on Ubuntu'
jobs:
- template: azure_templates/azure-buildrepolinux-template.yml@ci
parameters:
repo: '$(repo)'

### Linux Test Stage ###
- stage: linux_test_stage
displayName: 'Testing package on Ubuntu'
dependsOn: linux_build_stage
condition: succeeded('linux_build_stage')
jobs:
- template: azure_templates/azure-testrepolinux-template.yml@ci
parameters:
repo: '$(repo)'

#####################################

#####################################
# MacOS Stage - Microsoft Hosted VMs
#####################################

### MacOS Build Stage ###
- stage: macos_build_stage
displayName: 'Building package on MacOS'
dependsOn: []

jobs:
- template: azure_templates/azure-buildrepomacos-template.yml@ci
parameters:
repo: '$(repo)'

### MacOS Test Stage ###
- stage: macos_test_stage
displayName: 'Testing package on MacOS'
dependsOn: macos_build_stage
condition: succeeded('macos_build_stage')
jobs:
- template: azure_templates/azure-testrepomacos-template.yml@ci
parameters:
repo: '$(repo)'

#####################################

#####################################
# Fermitools-Conda Update Stage
#####################################

- stage: pipeline_launch_stage
displayName: 'Launch Fermitools CI Pipeline'
dependsOn:
- linux_test_stage
- macos_test_stage
condition: and(succeeded('linux_test_stage'), succeeded('macos_test_stage'))
jobs:
- template: azure_templates/azure-fermitoolsupdate-template.yml@ci
parameters:
repo: '$(repo)'

0 comments on commit 5ecb19a

Please sign in to comment.