Skip to content

Commit

Permalink
Don't run CodeQL in the release branch (#7165)
Browse files Browse the repository at this point in the history
Cherry-pick cc943a9.

Note that we didn't cherry-pick d64b4d2 because we're only going to run CodeQL in the main branch, per the internal recommendation.
  • Loading branch information
damonbarry authored Dec 2, 2023
1 parent a10a71b commit fb3d0e0
Show file tree
Hide file tree
Showing 17 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions builds/checkin/e2e-checkin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ pr:
- release/1.1-k8s-preview

variables:
Codeql.Enabled: false
DisableDockerDetector: true

resources:
Expand Down
1 change: 1 addition & 0 deletions builds/ci/dotnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ trigger:
- release/*
pr: none
variables:
Codeql.Enabled: false
DisableDockerDetector: true
build.configuration: Release
test.filter: Category=Integration&Category!=Stress
Expand Down
1 change: 1 addition & 0 deletions builds/e2e/connectivity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ schedules:
always: true

variables:
Codeql.Enabled: false
DisableDockerDetector: true
images.artifact.name.linux: 'core-linux'

Expand Down
1 change: 1 addition & 0 deletions builds/e2e/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ resources:
- release/*

variables:
Codeql.Enabled: false
DisableDockerDetector: true
# A 'minimal' pipeline only runs one end-to-end test (TempSensor). This is useful for platforms or
# environments that are very similar to other platforms/environments in our matrix, Ubuntu 20.04
Expand Down
1 change: 1 addition & 0 deletions builds/e2e/isa-95-smoke-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ schedules:
always: true

variables:
Codeql.Enabled: false
DisableDockerDetector: true
itProxy: http://10.16.8.4:3128
otProxy: http://10.16.5.4:3128
Expand Down
1 change: 1 addition & 0 deletions builds/e2e/longhaul.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ schedules:
always: true

variables:
Codeql.Enabled: false
DisableDockerDetector: true
images.artifact.name.linux: 'core-linux'
vsts.project: $(System.TeamProjectId)
Expand Down
1 change: 1 addition & 0 deletions builds/e2e/nested-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ schedules:
always: true

variables:
Codeql.Enabled: false
DisableDockerDetector: true
# A 'minimal' pipeline only runs one end-to-end test (TempSensor). This is useful for platforms or
# environments that are very similar to other platforms/environments in our matrix, Ubuntu 20.04
Expand Down
1 change: 1 addition & 0 deletions builds/e2e/nested-longhaul.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ schedules:
always: true

variables:
Codeql.Enabled: false
DisableDockerDetector: true

resources:
Expand Down
1 change: 1 addition & 0 deletions builds/misc/addons-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ trigger: none
pr: none

variables:
Codeql.Enabled: false
DisableDockerDetector: true

jobs:
Expand Down
1 change: 1 addition & 0 deletions builds/misc/addons-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ trigger: none
pr: none

variables:
Codeql.Enabled: false
DisableDockerDetector: true
NugetSecurityAnalysisWarningLevel: warn

Expand Down
1 change: 1 addition & 0 deletions builds/misc/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ trigger:
pr: none

variables:
Codeql.Enabled: false
DisableDockerDetector: true

stages:
Expand Down
1 change: 1 addition & 0 deletions builds/misc/images-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ trigger: none
pr: none

variables:
Codeql.Enabled: false
DisableDockerDetector: true

resources:
Expand Down
1 change: 1 addition & 0 deletions builds/misc/images-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ trigger: none
pr: none

variables:
Codeql.Enabled: false
DisableDockerDetector: true


Expand Down
1 change: 1 addition & 0 deletions builds/misc/packages-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ trigger: none
pr: none

variables:
Codeql.Enabled: false
DisableDockerDetector: true

resources:
Expand Down
3 changes: 2 additions & 1 deletion builds/release/detect-image-updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ resources:
name: Azure/azure-iotedge

variables:
NugetSecurityAnalysisWarningLevel: warn
Codeql.Enabled: false
DisableDockerDetector: true
NugetSecurityAnalysisWarningLevel: warn

pool:
name: $(pool.linux.name)
Expand Down
1 change: 1 addition & 0 deletions builds/release/refresh-core-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ resources:
name: Azure/azure-iotedge

variables:
Codeql.Enabled: false
DisableDockerDetector: true

stages:
Expand Down
1 change: 1 addition & 0 deletions builds/service/service-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ schedules:
always: true

variables:
Codeql.Enabled: false
DisableDockerDetector: true

pool:
Expand Down

0 comments on commit fb3d0e0

Please sign in to comment.