make targets
@@ -46,28 +46,31 @@ stages:
arguments: '-d'
workingDirectory: '$(System.DefaultWorkingDirectory)'
displayName: Get Go dependencies
- - task: Go@0
- inputs:
- command: 'get'
- arguments: sigs.k8s.io/controller-tools/cmd/controller-gen@v0.2.0
- workingDirectory: '$(System.DefaultWorkingDirectory)'
- displayName: Get controller-gen
- - script: make generate
- displayName: Generate controllers
- - task: Go@0
- inputs:
- command: 'test'
- arguments: '-v -tags "$(Build.BuildId)" -coverprofile=coverage-unit.txt -covermode count -parallel 4 -timeout 10m'
- displayName: Run unit tests
- - task: Go@0
- inputs:
- command: 'build'
- workingDirectory: '$(System.DefaultWorkingDirectory)'
- displayName: Compile manager binary
- - task: CopyFiles@2
- inputs:
- TargetFolder: '$(System.DefaultWorkingDirectory)'
+ - bash: make manager
+ # - task: Go@0
+ # inputs:
+ # command: 'get'
+ # arguments: sigs.k8s.io/controller-tools/cmd/controller-gen@v0.2.0
+ # workingDirectory: '$(System.DefaultWorkingDirectory)'
+ # displayName: Get controller-gen
+ # - script: make generate
+ # displayName: Generate controllers
+ # - task: Go@0
+ # inputs:
+ # command: 'test'
+ # arguments: '-v -tags "$(Build.BuildId)" -coverprofile=coverage-unit.txt -covermode count -parallel 4 -timeout 10m'
+ # displayName: Run unit tests
+ # - task: Go@0
+ # inputs:
+ # command: 'build'
+ # workingDirectory: '$(System.DefaultWorkingDirectory)'
+ # displayName: Compile manager binary
+
+
+ # - task: CopyFiles@2
+ # inputs:
+ # TargetFolder: '$(System.DefaultWorkingDirectory)'
# - task: PublishBuildArtifacts@1
# inputs:
# artifactName: drop
