Don't warn on folders that aren't actually packages (#5974)

This commit is contained in:
Wes Haggard 2024-09-12 15:45:41 -07:00 committed by GitHub
parent ac63f2618e
commit 658c1f317b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 9 additions and 22 deletions

View File

@ -75,6 +75,7 @@ jobs:
matrix: $[ ${{ parameters.Matrix }} ]
variables:
- template: /eng/pipelines/templates/variables/globals.yml@self
- template: /eng/pipelines/templates/variables/image.yml@self
- name: CMOCKA_XML_FILE
value: "%g-test-results.xml"

View File

@ -265,6 +265,7 @@ stages:
)
)
variables:
- template: /eng/pipelines/templates/variables/globals.yml
- template: /eng/pipelines/templates/variables/image.yml
jobs:

View File

@ -137,6 +137,7 @@ extends:
stages:
- stage: CMakeGeneration
variables:
- template: /eng/pipelines/templates/variables/globals.yml@self
- template: /eng/pipelines/templates/variables/image.yml@self
jobs:
- template: /eng/pipelines/templates/jobs/cmake-generate-jobs.yml@self
@ -152,6 +153,7 @@ extends:
# Integration can launch immediately without awaiting more build and test jobs
- stage: PrePublishBuild
variables:
- template: /eng/pipelines/templates/variables/globals.yml@self
- template: /eng/pipelines/templates/variables/image.yml@self
dependsOn: []
jobs:
@ -176,6 +178,7 @@ extends:
- stage: Build
variables:
- template: /eng/pipelines/templates/variables/globals.yml@self
- template: /eng/pipelines/templates/variables/image.yml@self
dependsOn: []
jobs:

View File

@ -2,24 +2,6 @@ variables:
# True if 'Enable system diagnostics' is checked when running a pipeline manually
IsDebug: $[coalesce(variables['System.Debug'], 'false')]
AdditionalOptions: ''
# Exists if needed in coalesce situations.
DefaultTestGoals: 'surefire:test'
# This will be overwritten by the test matrix, if configured.
TestGoals: $(DefaultTestGoals)
# This will be overwritten by the test matrix, if configured.
TestOptions: ''
# TestFromSource is one of the cache keys but isn't set until the test matrix
# has been processed. Without a default value it'll be treated as a string literal
# "$(TestFromSource)" instead of true/false. It'll be overwritten when the test
# matrix has been processed
TestFromSource: false
skipComponentGovernanceDetection: true
DisableDockerDetector: true
Package.EnableSBOMSigning: true
# Disable CodeQL injections except for where we specifically enable it
Codeql.SkipTaskAutoInjection: true
${{ if and(eq(variables['Build.Reason'],'PullRequest'), eq(variables['System.PullRequest.IsFork'], 'True')) }}:
# Disable warning for tools that are disabled for forked builds
GDN_SUPPRESS_FORKED_BUILD_WARNING: true

View File

@ -13,7 +13,7 @@ $versionFileLocation = Get-VersionHppLocation `
-PackageName $PackageName
if (!$versionFileLocation) {
LogWarning "Failed to retrieve package version for '$ServiceDirectory/$PackageName'. No version file found."
Write-Verbose "Didn't find a version file for '$ServiceDirectory/$PackageName', so assuming it is not a package."
return $null
}