diff --git a/devops/azure-pipelines.yaml b/devops/azure-pipelines.yaml index 1ed8b68838c..1d909b87c62 100644 --- a/devops/azure-pipelines.yaml +++ b/devops/azure-pipelines.yaml @@ -99,6 +99,12 @@ steps: # REQUEUE_AFTER: $(REQUEUE_AFTER) # workingDirectory: '$(MODULE_PATH)' +- script: | + make validate-copyright-headers + continueOnError: 'false' + displayName: 'Validate Copyright Headers' + workingDirectory: '$(MODULE_PATH)' + - script: | set -e GO111MODULE="on" go get sigs.k8s.io/kind@v0.4.0 @@ -136,7 +142,7 @@ steps: REQUEUE_AFTER: $(REQUEUE_AFTER) KUBEBUILDER_ASSETS: $(MODULE_PATH)/bin BUILD_ID: $(Build.BuildId) - workingDirectory: '$(MODULE_PATH)' + workingDirectory: '$(MODULE_PATH)' - task: AzureCLI@2 displayName: 'Clean up Azure Resources'