Skip to content

Commit e3e7f4f

Browse files
authored
Cleaned up cred-scan suppression yml (Azure#47313)
* Cleaned up cred-scan suppression yml * Used sparse checkout in the release stage
1 parent fa86a58 commit e3e7f4f

File tree

4 files changed

+10
-39
lines changed

4 files changed

+10
-39
lines changed

eng/pipelines/partner-release.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,9 @@ extends:
3333
- checkout: azure-sdk-build-tools
3434
path: azure-sdk-build-tools
3535

36-
- template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
37-
parameters:
38-
SkipCheckoutNone: true
39-
Repositories:
40-
- Name: Azure/azure-sdk-for-java
41-
Commitish: $(Build.SourceVersion)
42-
WorkingDirectory: $(Pipeline.Workspace)/azure-sdk-for-java
43-
44-
- template: /eng/pipelines/templates/steps/download-credscan-suppressions.yml
36+
- checkout: self
37+
fetchDepth: 1
38+
path: azure-sdk-for-java
4539

4640
- task: AzurePowerShell@5
4741
displayName: 'Copy from azuresdkpartnerdrops'

eng/pipelines/templates/stages/archetype-java-release-patch.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,10 @@ stages:
3333
steps:
3434
- checkout: azure-sdk-build-tools
3535
path: azure-sdk-build-tools
36-
- template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
37-
parameters:
38-
SkipCheckoutNone: true
39-
Repositories:
40-
- Name: Azure/azure-sdk-for-java
41-
Commitish: $(Build.SourceVersion)
42-
WorkingDirectory: $(Pipeline.Workspace)/azure-sdk-for-java
43-
- template: /eng/pipelines/templates/steps/download-credscan-suppressions.yml
36+
37+
- checkout: self
38+
fetchDepth: 1
39+
path: azure-sdk-for-java
4440

4541
- download: current
4642
displayName: 'Download Artifact: packages'
@@ -160,7 +156,6 @@ stages:
160156
- Name: Azure/azure-sdk-for-java
161157
Commitish: $(Build.SourceVersion)
162158
WorkingDirectory: $(Pipeline.Workspace)/azure-sdk-for-java
163-
- template: /eng/pipelines/templates/steps/download-credscan-suppressions.yml
164159
- download: current
165160
displayName: 'Download Artifacts'
166161
artifact: packages-signed

eng/pipelines/templates/stages/archetype-java-release-pom-only.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,9 @@ stages:
2222
steps:
2323
- checkout: azure-sdk-build-tools
2424
path: azure-sdk-build-tools
25-
- template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
26-
parameters:
27-
SkipCheckoutNone: true
28-
Repositories:
29-
- Name: Azure/azure-sdk-for-java
30-
Commitish: $(Build.SourceVersion)
31-
WorkingDirectory: $(Pipeline.Workspace)/azure-sdk-for-java
32-
- template: /eng/pipelines/templates/steps/download-credscan-suppressions.yml
25+
- checkout: self
26+
fetchDepth: 1
27+
path: azure-sdk-for-java
3328

3429
- download: current
3530
displayName: 'Download Artifact: packages'
@@ -150,7 +145,6 @@ stages:
150145
- Name: Azure/azure-sdk-for-java
151146
Commitish: $(Build.SourceVersion)
152147
WorkingDirectory: $(Pipeline.Workspace)/azure-sdk-for-java
153-
- template: /eng/pipelines/templates/steps/download-credscan-suppressions.yml
154148
- template: tools/gpg/gpg.yml@azure-sdk-build-tools
155149
# Publish to the azure-sdk-for-java feed.
156150
- template: /eng/pipelines/templates/steps/java-dev-feed-publishing.yml

eng/pipelines/templates/steps/download-credscan-suppressions.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)