fabric-samples/ci/templates/fabcar/azure-pipelines-go.yml
David Enyeart 3d8cc91d96 Update to Go 1.16.7.
Update Go to 1.16.7.

Signed-off-by: David Enyeart <enyeart@us.ibm.com>
2021-09-07 16:55:27 -04:00

21 lines
491 B
YAML

#
# SPDX-License-Identifier: Apache-2.0
#
steps:
- script: ./startFabric.sh go
workingDirectory: fabcar
displayName: Start Fabric
- task: GoTool@0
displayName: 'Use Go 1.16.7'
inputs:
version: '1.16.7'
- task: Go@0
displayName: 'go build'
inputs:
command: build
arguments: '-o "fabcar"'
workingDirectory: fabcar/go
- script: DISCOVERY_AS_LOCALHOST=TRUE ./fabcar
workingDirectory: fabcar/go
displayName: Run FabCar Application