-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreate_and_intialize_data_dsk.yml
More file actions
36 lines (28 loc) · 1.21 KB
/
Copy pathcreate_and_intialize_data_dsk.yml
File metadata and controls
36 lines (28 loc) · 1.21 KB
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
# 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:
- main
pool:
vmImage: windows-2019
steps:
- task: AzurePowerShell@5
displayName: create disks and attaches disks, update vm
inputs:
azureSubscription: 'aks_powershell_connection'
ScriptType: 'FilePath'
ScriptPath: '$(Build.SourcesDirectory)\create_attach_dsk.ps1'
ScriptArguments: '-rgName aks -vmName vm -location ''East US'' -storageType Premium_LRS'
azurePowerShellVersion: 'LatestVersion'
workingDirectory: '$(Build.SourcesDirectory)'
enabled: false
- task: AzurePowerShell@5
displayName: intializing data disk in vm
inputs:
azureSubscription: 'aks_powershell_connection'
ScriptType: 'FilePath'
ScriptPath: '$(Build.SourcesDirectory)\int_datadsk_cse.ps1'
ScriptArguments: '-rgName aks -location EastUS -vmName vm -scriptName intdsk -stgaccname fhadoo -stgacckey Ttc25hOwsxN5JT8oUocOYWJKY7GsUPL5+04nRDau3hhWmU/LmnMsXRreWuxS29MlutcKoIhUf3bBWVemhiGz+w== -fileName intdsk.ps1 -containername cse'
azurePowerShellVersion: 'LatestVersion'
workingDirectory: '$(Build.SourcesDirectory)'