-
Notifications
You must be signed in to change notification settings - Fork 57
Refactor pipelines - Spring Grove #1031
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 45 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
3998971
initial phase of the refactor
scbedd a5fce29
removing original infra, pasting into new 1es compatible stack. takin…
scbedd 79a074a
get the primary build into a good stage
scbedd 3d37ef6
alignment update in oav.yml
scbedd 3cb3e67
and thus>
scbedd c720453
call 1es redirect
scbedd ff597f7
correct variable ref
scbedd a652f07
build handles long paths on SDL
scbedd f4c2db8
updates for regressions
scbedd 11bb86e
remove dependency on the old publishbuildArtifact usage
scbedd cd73ac5
add pr triggers
scbedd c9554cc
remove paths
scbedd 4cf9e08
adjust spacing
scbedd a3f6c84
ensure the standard jobs run
scbedd 75cfeeb
fix the reason that the regression jobs don't run properly
scbedd d3cad43
lint fix applied
scbedd 3aa27e7
tests don't play well in parallel, but they're really debuggable inte…
scbedd 2d40fea
should be able to actually test the release stage now
scbedd 3c4be3f
pool was already defined
scbedd 37a8878
release build now generating which tag should be set
scbedd 5b926d1
update the naming convention
scbedd d222208
try a couple SDL updates, and also turn off the real publishing so we…
scbedd 75468c0
ensure that regression snapshot patch gets published properly
scbedd 73c242a
disable submodules
scbedd d1f02ab
ensure we never stomp on each other
scbedd 1afa0c9
bump newman dependency so we have a true OAV version to test publish
scbedd 2a62506
make mkdirsync recursive!
scbedd f32b2c7
Revert "bump newman dependency so we have a true OAV version to test …
scbedd f44449c
revert the package update that causes the build failure
scbedd 8a116e9
working version with update core util and core logger
scbedd 8d1ded8
touch changelog
scbedd abd09c4
repair the problem with the broken publish job
scbedd d0bbe0e
the local directory locations have changed!
scbedd 5115403
reference the actual file name
scbedd 8066ae2
we don't need to get the submodules when checking out for publishing
scbedd 281997c
updating publishing solution
scbedd d48a7a1
updating further
scbedd 1bd1a15
update the slow test regressions to align with new folder structure
scbedd 68b79bd
settle on where the artifacts actually are
scbedd 39aafa6
get just the artifact that we will publish in a solo directory
scbedd e68b7f4
correct a typo. missing param
scbedd a2a6331
disable submodule
scbedd 4607fe4
remove the credscan suppresion file
scbedd a676f89
enable ESRP release phase
scbedd 1f63ec3
bringing in mikes updates from develop
scbedd 9aeefcf
update package lock
scbedd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
|
scbedd marked this conversation as resolved.
|
This file contains hidden or 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,17 @@ | ||
| trigger: | ||
| branches: | ||
| include: | ||
| - develop | ||
| - hotfix/* | ||
| - release/* | ||
|
|
||
| pr: | ||
| branches: | ||
| include: | ||
| - develop | ||
| - feature/* | ||
| - hotfix/* | ||
| - release/* | ||
|
|
||
| extends: | ||
| template: /eng/templates/stages/oav.yml |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,19 @@ | ||
| # Read the package.json file | ||
| $packageJsonPath = "$PSScriptRoot/../../package.json" | ||
| $packageJson = Get-Content $packageJsonPath -Raw | ConvertFrom-Json | ||
|
|
||
| # Function to check if a version is non-GA | ||
| function Is-NonGA($version) { | ||
| return $version -match "-(alpha|beta|rc|pre)" | ||
| } | ||
|
|
||
|
|
||
| $pkgVersion = $packageJson.version | ||
|
|
||
| if (Is-NonGA($pkgVersion)) { | ||
| Write-Host "##vso[task.setvariable variable=Tag;]beta" | ||
| } | ||
| else { | ||
| Write-Host "##vso[task.setvariable variable=Tag;]latest" | ||
| } | ||
|
|
File renamed without changes.
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 @@ | ||
| resources: | ||
| repositories: | ||
| - repository: 1ESPipelineTemplates | ||
| type: git | ||
| name: 1ESPipelineTemplates/1ESPipelineTemplates | ||
| ref: refs/tags/release | ||
| - repository: 1ESPipelineTemplatesCanary | ||
| type: git | ||
| name: 1ESPipelineTemplates/1ESPipelineTemplates | ||
| ref: refs/tags/canary | ||
|
|
||
| parameters: | ||
| - name: stages | ||
| type: stageList | ||
| default: [] | ||
| - name: Use1ESOfficial | ||
| type: boolean | ||
| default: true | ||
| - name: oneESTemplateTag | ||
| type: string | ||
| default: release | ||
|
|
||
| extends: | ||
| ${{ if and(parameters.Use1ESOfficial, eq(parameters.oneESTemplateTag, 'canary')) }}: | ||
| template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplatesCanary | ||
| ${{ elseif eq(parameters.oneESTemplateTag, 'canary') }}: | ||
| template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplatesCanary | ||
| ${{ elseif and(parameters.Use1ESOfficial, eq(variables['System.TeamProject'], 'internal')) }}: | ||
| template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates | ||
| ${{ else }}: | ||
| template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates | ||
| parameters: | ||
| ${{ if eq(parameters.oneESTemplateTag, 'canary') }}: | ||
| # Enable 1es template team to verify validation has been run on canary | ||
| customBuildTags: | ||
| - 1ES.PT.Tag-refs/tags/canary | ||
| settings: | ||
| skipBuildTagsForGitHubPullRequests: true | ||
| sdl: | ||
| git: | ||
| longpaths: true | ||
| submodules: false | ||
| sourceRepositoriesToScan: | ||
| include: | ||
| - repository: self | ||
| submodule: false | ||
| runInSingleJob: true | ||
| sourceAnalysisPool: | ||
| name: azsdk-pool-mms-win-2022-general | ||
| image: azsdk-pool-mms-win-2022-1espt | ||
| os: windows | ||
| eslint: | ||
| enabled: false | ||
| justificationForDisabling: "ESLint injected task has failures because it uses an old version of mkdirp. We should not fail for tools not controlled by the repo. See: https://dev.azure.com/azur 19 e-sdk/internal/_build/results?buildId=3556850" | ||
| codeql: | ||
| compiled: | ||
| enabled: false | ||
| justificationForDisabling: "CodeQL times our pipelines out by running for 2+ hours before being force canceled." | ||
| psscriptanalyzer: | ||
| compiled: true | ||
| break: true | ||
| policy: M365 | ||
|
|
||
| stages: ${{ parameters.stages }} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.