forked from great-expectations/great_expectations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines-partner-integration.yml
33 lines (31 loc) · 1.06 KB
/
azure-pipelines-partner-integration.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
schedules:
# Runs at 1:00 AM PT (8:00 AM UTC) on every day-of-week from Monday through Friday
# Since this is on UTC, lets set it to PT (UTC-7)
# https://crontab.guru/#0_8_*_*_1-5
- cron: "0 8 * * 1-5"
displayName: Partner Integration Tests
branches:
include:
- develop
variables:
isScheduled: $[and(eq(variables['Build.SourceBranch'], 'refs/heads/develop'), eq(variables['Build.Reason'], 'Schedule'))]
stages:
- stage: scope_check
pool:
vmImage: 'ubuntu-20.04'
jobs:
- job: partner_integration_anthony_db
condition: eq(variables.isScheduled, true)
steps:
- bash: cd assets/partners/anthonydb; ../common/run-2.sh;
name: RunDockerComposeUp
env:
DB_URL: $(ANTHONY_DB_URL)
DB_PASS: $(ANTHONY_DB_PASS)
- job: partner_integration_rubenshift
condition: eq(variables.isScheduled, true)
steps:
- bash: cd assets/partners/rubenshift; ../common/run-1.sh
name: RunDockerComposeUp
env:
DB_URL: $(REDSHIFT_URL)