-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed codeql from pipeline, new one for codeql (#2107)
- Loading branch information
1 parent
d2d4440
commit 2843303
Showing
2 changed files
with
65 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
parameters: | ||
# Optionally do not publish to TSA. Useful for e.g. verifying fixes before PR. | ||
- name: TSAEnabled | ||
displayName: Publish results to TSA | ||
type: boolean | ||
default: true | ||
|
||
variables: | ||
- template: eng/common-variables.yml | ||
- template: eng/common/templates/variables/pool-providers.yml | ||
# CG is handled in the primary CI pipeline | ||
- name: skipComponentGovernanceDetection | ||
value: true | ||
# Force CodeQL enabled so it may be run on any branch | ||
- name: Codeql.Enabled | ||
value: true | ||
# Do not let CodeQL 3000 Extension gate scan frequency | ||
- name: Codeql.Cadence | ||
value: 0 | ||
# CodeQL needs this plumbed along as a variable to enable TSA | ||
- name: Codeql.TSAEnabled | ||
value: ${{ parameters.TSAEnabled }} | ||
|
||
# Build variables | ||
- name: _BuildConfig | ||
value: Release | ||
|
||
trigger: none | ||
|
||
schedules: | ||
- cron: 0 12 * * 1 | ||
displayName: Weekly Monday CodeQL run | ||
branches: | ||
include: | ||
- main | ||
- release/6.0 | ||
- release/7.0 | ||
always: true | ||
|
||
jobs: | ||
- job: codeql | ||
displayName: CodeQL | ||
pool: | ||
name: $(DncEngInternalBuildPool) | ||
demands: ImageOverride -equals 1es-windows-2022 | ||
timeoutInMinutes: 90 | ||
|
||
steps: | ||
|
||
- task: UseDotNet@2 | ||
inputs: | ||
useGlobalJson: true | ||
|
||
- task: CodeQL3000Init@0 | ||
displayName: CodeQL Initialize | ||
|
||
- script: eng\common\cibuild.cmd | ||
-configuration $(_BuildConfig) | ||
-prepareMachine | ||
/p:Test=false | ||
displayName: Windows Build | ||
|
||
- task: CodeQL3000Finalize@0 | ||
displayName: CodeQL Finalize |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters