Fix Azure example-gpu.yml (#9242)

`imageSku` should be string ... otherwise this is the error it shows up:
```
msrestazure.azure_exceptions.CloudError: Azure Error: InvalidTemplate
Message: Deployment template validation failed: 'Template parameter JToken type is not valid. Expected 'String, Uri'. Actual 'Integer'. Please see https://aka.ms/resource-manager-parameter-files for usage details.'.
Additional Information:
	Type: TemplateViolation
	Info: {
	    "lineNumber": 1,
	    "linePosition": 673,
	    "path": "properties.template.parameters.imageSku"
	}

```
This commit is contained in:
Andrija Djurisic 2020-07-01 21:02:34 +02:00 committed by GitHub
parent d35f0e40d0
commit e0d8b58969
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,7 +73,7 @@ head_node:
# List images https://docs.microsoft.com/en-us/azure/virtual-machines/linux/cli-ps-findimage # List images https://docs.microsoft.com/en-us/azure/virtual-machines/linux/cli-ps-findimage
imagePublisher: microsoft-dsvm imagePublisher: microsoft-dsvm
imageOffer: ubuntu-1804 imageOffer: ubuntu-1804
imageSku: 1804 imageSku: "1804"
imageVersion: 20.02.01 imageVersion: 20.02.01
# Provider-specific config for worker nodes, e.g. instance type. By default # Provider-specific config for worker nodes, e.g. instance type. By default
@ -84,7 +84,7 @@ worker_nodes:
# List images https://docs.microsoft.com/en-us/azure/virtual-machines/linux/cli-ps-findimage # List images https://docs.microsoft.com/en-us/azure/virtual-machines/linux/cli-ps-findimage
imagePublisher: microsoft-dsvm imagePublisher: microsoft-dsvm
imageOffer: ubuntu-1804 imageOffer: ubuntu-1804
imageSku: 1804 imageSku: "1804"
imageVersion: 20.02.01 imageVersion: 20.02.01
# Files or directories to copy to the head and worker nodes. The format is a # Files or directories to copy to the head and worker nodes. The format is a