Updated pkg path to github.com/microsoft/ring-operator and fixed mod cmds

This commit is contained in:
Michael Golfi 2019-07-26 17:54:42 -07:00
Родитель a9b1230291
Коммит 90771be127
1 изменённых файлов: 18 добавлений и 1 удалений

Просмотреть файл

@ -25,7 +25,15 @@ jobs:
container: golang
displayName: Build Operator
steps:
- task: CacheBeta@0
inputs:
key: |
vendor
$(Agent.OS)
$(Build.SourcesDirectory)/go.sum
path: $(Build.SourcesDirectory)/vendor
displayName: Cache Vendor Directory
- bash: |
if [ -f vendor ]; then
echo "##vso[task.setVariable variable=VENDOREXISTS]true"
@ -47,6 +55,15 @@ jobs:
displayName: Run unit tests
dependsOn: Build
steps:
- task: CacheBeta@0
inputs:
key: |
vendor
$(Agent.OS)
$(Build.SourcesDirectory)/go.sum
path: $(Build.SourcesDirectory)/vendor
displayName: Cache Vendor Directory
- bash: |
if [ -f vendor ]; then
echo "##vso[task.setVariable variable=VENDOREXISTS]true"