Created
June 22, 2020 20:35
-
-
Save lmoxiel/f1999c552b3890a46e5ee46f0a93229d to your computer and use it in GitHub Desktop.
Revisions
-
lmoxiel created this gist
Jun 22, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml name: Hubble_Build_$(date:yyyyMMdd)$(rev:.r) trigger: - none pool: #name: 'Self-Hosted VS2017' (Self-hosted build agent) vmImage: 'ubuntu-latest' # (use this for the Microsoft-hosted build agent) steps: # Create the Hubble Linux VM image - task: PackerBuild@1 displayName: 'Create Hubble image' inputs: templateType: 'builtin' ConnectedServiceName: 'Security Sandbox Connection (automatic)' isManagedImage: true managedImageName: $(imageName) location: 'eastus2' storageAccountName: 'azsandbox' azureResourceGroup: 'sandbox-images' baseImageSource: 'default' baseImage: 'Canonical:UbuntuServer:18.04-LTS:linux' packagePath: '$(System.DefaultWorkingDirectory)/sandbox' deployScriptPath: 'release/scripts/hello-world.ps1' imageUri: 'sandbox-vm-image1' imageId: 'sandbox-vm-image-resource-id'