Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 14 additions & 13 deletions eng/pipelines/cg-detection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,29 @@ trigger:
- dev
pr: none

parameters:
# Setting cgDryRun will run CG but not submit the results
- name: cgDryRun
type: boolean
default: false
displayName: CG Dry Run

variables:
- template: /eng/pipelines/variables/common.yml@self
- name: cgBuildGrepArgs
value: -v -e 'samples/' -e 'tests/'
# Skip CG detection (for debugging project builds, etc.)
- name: skipComponentGovernanceDetection
value: false
resources:
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release

extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
template: /eng/common/templates/1es-official.yml@self
parameters:
pool:
name: NetCore1ESPool-Internal
image: 1es-windows-2022
os: windows
customBuildTags:
- ES365AIMigrationTooling
cgDryRun: ${{ parameters.cgDryRun }}
stages:
- stage: CgDetection
displayName: CG Detection
jobs:
- template: /eng/common/templates/jobs/cg-build-projects.yml@self
parameters:
cgDryRun: ${{ parameters.cgDryRun }}
19 changes: 2 additions & 17 deletions eng/pipelines/update-readmes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,16 @@ variables:
- template: /eng/pipelines/variables/common.yml@self
- name: manifest
value: manifest.json
resources:
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release

extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
template: /eng/common/templates/1es-official.yml@self
parameters:
pool:
name: NetCore1ESPool-Internal
image: 1es-windows-2022
os: windows
customBuildTags:
- ES365AIMigrationTooling
stages:
- stage: UpdateReadmes
displayName: Update Readmes
jobs:
- job: UpdateReadmes
displayName: Update Readmes
pool:
name: NetCore1ESPool-Internal
image: 1es-ubuntu-2204
os: linux
steps:
- template: /eng/common/templates/steps/init-docker-linux.yml@self
- template: /eng/common/templates/steps/publish-readmes.yml@self
Expand Down
Loading