forked from great-expectations/great_expectations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines-packaging.yml
73 lines (65 loc) · 2.4 KB
/
azure-pipelines-packaging.yml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# This file is responsible for configuring the `packaging_and_installation` pipeline (https://dev.azure.com/great-expectations/great_expectations/_build)
#
# The pipeline is run under the following conditions:
# - On the develop branch as scheduled by the below cron job
#
# `packaging_and_installation` is meant to test the installation and packaging of Great Expectations in a variety of environments.
#
# This includes:
# * Linux, MacOS, and Windows
# * Python 3.7-3.10
# * pip and conda
# * User and developer workflows
schedules:
- cron: 0 8 * * *
displayName: Scheduled Runs
branches:
include:
- develop
always: true # As this is run once a day, we always want to run it (regardless of whether or not changes have occurred)
variables:
isScheduled: $[and(eq(variables['Build.SourceBranch'], 'refs/heads/develop'), eq(variables['Build.Reason'], 'Schedule'))]
isManual: $[eq(variables['Build.Reason'], 'Manual')]
stages:
- stage: user_install_linux
dependsOn: []
condition: or(eq(variables.isScheduled, true), eq(variables.isManual, true))
jobs:
- template: azure/user-install-matrix.yml
parameters:
vmImage: "ubuntu-latest"
- stage: dev_install_linux
dependsOn: user_install_linux
condition: or(eq(variables.isScheduled, true), eq(variables.isManual, true))
jobs:
- template: azure/dev-install-matrix.yml
parameters:
vmImage: "ubuntu-latest"
- stage: user_install_macOS
dependsOn: []
condition: or(eq(variables.isScheduled, true), eq(variables.isManual, true))
jobs:
- template: azure/user-install-matrix.yml
parameters:
vmImage: "macOS-latest"
- stage: dev_install_macOS
dependsOn: user_install_macOS
condition: or(eq(variables.isScheduled, true), eq(variables.isManual, true))
jobs:
- template: azure/dev-install-matrix.yml
parameters:
vmImage: "macOS-latest"
- stage: user_install_windows
dependsOn: []
condition: or(eq(variables.isScheduled, true), eq(variables.isManual, true))
jobs:
- template: azure/user-install-matrix.yml
parameters:
vmImage: "windows-latest"
- stage: dev_install_windows
dependsOn: user_install_windows
condition: or(eq(variables.isScheduled, true), eq(variables.isManual, true))
jobs:
- template: azure/dev-install-matrix.yml
parameters:
vmImage: "windows-latest"