From bce3f6f9477685f62ae5f59be76c31fc32e444eb Mon Sep 17 00:00:00 2001 From: jpflueger Date: Thu, 26 Mar 2020 12:19:27 -0600 Subject: [PATCH] adding step to pipeline for copyright validation --- devops/azure-pipelines.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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'