-
Notifications
You must be signed in to change notification settings - Fork 2
/
azure-pipelines.yml
40 lines (36 loc) · 1.15 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
# 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:
paths:
include:
- storage/*
pool:
vmImage: 'ubuntu-latest'
steps:
- bash: |
echo "$BC_API_KEY"
env:
BC_API_KEY: $(BC_API_KEY)
# - task: UsePythonVersion@0
# inputs:
# versionSpec: '3.8'
# displayName: 'Install Python 3.8'
# - script: pip install bridgecrew
# displayName: 'Install the Bridgecrew CLI'
# - script: bridgecrew -d storage --bc-api-key $BC_API_KEY --repo-id mikeubanski1/azure-arm --branch master
# displayName: 'Scan with Bridgecrew'
# env:
# BC_API_KEY: $(BC_API_KEY)
# - task: AzureResourceManagerTemplateDeployment@3
# inputs:
# deploymentScope: 'Resource Group'
# azureResourceManagerConnection: 'arm-service-connection'
# subscriptionId: '69a2258c-8778-4d42-9ea7-6b65af91ffc3'
# action: 'Create Or Update Resource Group'
# resourceGroupName: 'bcazr3'
# location: 'East US'
# templateLocation: 'Linked artifact'
# csmFile: 'storage/storage.json'
# deploymentMode: 'Incremental'