forked from mitre-attack/attack-navigator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
41 lines (38 loc) · 1.4 KB
/
azure-pipelines.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
trigger:
batch: true
branches:
include:
- quantum
pr: none
resources:
repositories:
- repository: pipeline-library
type: github
endpoint: quantum-sec-github
name: quantum-sec/pipeline-library
jobs:
- template: templates/jobs/typescript.yml@pipeline-library
parameters:
runUnitTests: false
runFunctionalTests: false
setupSteps:
- bash: npm install --prefix nav-app
name: InstallNestedDependencies
displayName: Install Nested NPM Dependencies
deploySteps:
- template: templates/steps/deployment/deploy-files-to-s3.yml@pipeline-library
parameters:
name: DeployToS3Prod
displayName: Deploy Files to S3 (prod)
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/quantum'))
awsAccountNumber: '438611529373'
bucketName: attack-navigator.prod.platform.quantum.security
sourcePath: ./nav-app/dist/
- template: templates/steps/deployment/invalidate-cloudfront-cache.yml@pipeline-library
parameters:
name: InvalidateCloudfrontCacheProd
displayName: Invalidate Cloudfront Cache (prod)
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/quantum'))
awsAccountNumber: '438611529373'
distributionId: E21JGAAVJAUJTV
paths: /*