Created
June 22, 2020 20:35
-
-
Save lmoxiel/f1999c552b3890a46e5ee46f0a93229d to your computer and use it in GitHub Desktop.
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 characters
| # 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' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment