You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Eng] Added necessary tools/pipelines update to migrate main to future (#27104)
* polish parameter for buildmodules.ps1
* polish
* refine build and prepare autorest
* remove unused changes
* update csproj mapping to add folder generated/, and trim keys
* Update CIFilter to remove src/ from mapping keys
* add test-module.ps1 in gen2main
* add check-dependencies.ps1 in gen2main
* add psd1 in gen2main
* update az.autorest.props to apply new folder structure
* fix submodule name
* fix trimmed submodule name
* fix trimmed submodule name
* add script to migrate generated folder
* uncomment
* Add readme.azure.md and readme.azure.noprofile.md
* migrate readme from eng/archive-test branch
* update migration script to add generated csproj in sln
* fix previous commit
* copy other script from eng/archive-test
* fix script
* refine build-module.ps1 and add some log
* refine log message
* color log output
* use foreach instead of foreach-object to improve performance
* improve write log
* fix
* question
* apply new build process to dotnet msbuild /t:build
* test pipeline 1
* test pipeline 2
* test pipeline 3
* test pipeline 4
* test pipeline 5
* test pipeline 6
* test pipeline 7
* test pipeline 8
* test pipeline 9
* test pipeline 10
* test pipeline 11
* test pipeline 12
* test pipeline 12
* test pipeline 13
* test pipeline 14
* test pipeline 15
* test pipeline 16
* test pipeline 17
* test pipeline 18
* test pipeline 19
* test pipeline 20
* test pipeline 21
* test pipeline 22
* test pipeline 23
* test pipeline 24
* test pipeline 25
* test pipeline 26
* test pipeline 27
* test pipeline 28
* test pipeline 29
* test pipeline 30
* test pipeline 31
* test pipeline 32
* test pipeline 33
* split build function to buildscripts.psm1
* Add generate id in generate-info
* Add generate id in generate-info
* Add generate id in generate-info
* regenerate help during adaptautorestmodule
* async generate
* more async
* move resolve tools back
* update migrate script
* fix path
* generate info while migrating main
* fix
* Remove redundant dependencies for autogen modules
* add log output
* generate id
* fix
* revert async
* fix
* adjust generate id
* exit when no generate id
* fix
* minor fix
* fix
* update readme.azure.noprofile.md
* fixed after build
* remove sln when build finish
* add migration script
* revert autorest dpendency changes
* remove redundant
* fix
* fix
* fix
* fix
* copy src/helpers from generation branch
* fix
* fix
* fix
* test
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* update security tools
* typo
* fix
* fix
* fix
* fix
* update reference of csproj in resource.test.csproj
* fix
* update references of autorest modules for resource.sln
* move removeunwanted and updatemodule to buildscript
* polish parameter name for build script
* add switch invokedbypipeline
* trigger new pipeline for future branch by default
* add accounts in build by default
* fix
* fix
* build version controller during build script
* fix
* Update security-tools.yml
* Update MigrateGenerated.ps1
* Update MigrateGenerated.ps1
* Update MigrateGenerated.ps1
* Update MigrateGenerated.ps1
* Update MigrateGenerated.ps1
* Update MigrateGenerated.ps1
* Update MigrateGenerated.ps1
* add accounts to build/test by default for CIPlan parameterset
* Update AdaptAutorestModule.ps1
* Update AdaptAutorestModule.ps1
* do not add testfx specificly because it was already included for all test project
* split build solution and test solution
* add parent module csproj to module root sln for new module
* fix incorrect parent module csproj name
* fix incorrect help refresh for new module
* fix
* prepare autorest modules before calculate csproj to build
* fix calculate generated files for new submodule
* remove PR analyze that block PR has changes in both /src and /generated
* remove files accidentally checked in
* rename x.autorest/help -> x.autorest/docs
* update pipeline
* update build for daily-build.yml
* new doc (unfinished)
* finish new docs
* update PR title
* update
* update
* update
* update
* do not exit when pr analyze failed, write warning instead
* remove generated ps1 script from autorest submodules during future migration
* add assembly info attributes in readme.azure.noprofile.md
* allow resources to be checked in
* add git files to each autorest submodule during migration
* disable assemblyinfo generate
* add final block in after build task
* replace module version for submodule assemblyinfo
* reset assemblyinfo in finally block after re-compile
* bugfix
* polish file move
* fix
* skip livetests filder
* fix
* assemblyinfo
* copy assemblyinfo separately
* fix
* check whether assemblyinfo existed before modifying it
* fix child module path when add to sln
* keep guid in psd1 under generated folder unchanged
* update afterbuild task to take module-name instead of service-name
* split archive pipeline from build-steps
* refactor cifiltertask
* refactor pipelines
* move yml of archive pipeline
* forgot function
* pr validation pipeline won't be triggered by CI
* fix path for util templates
* fix array accidentally casted to string
* fix branch name
* fix parameter name for build-steps
* add terminate condition when no files changed detected in archive pipeline
* add helpers to not modules list
* add helpers to not modules list
* move helpers folder from generation branch
* fix condition in yml
* do use exit 0 when terminate
* try to fix terminate condition
* fix switch syntax
* try to fix terminate condition
* try to fix terminate condition
* have to fail archive when no outdated modules found
* remove duplicate warning message
* fix
* fix
* enable new build process for windows-powershell.yml
* remove duplicate warning message
* use dotnet 8 for credscan
* fix security tools pipeline
* use batch ci trigger archive pipeline
* refactor archive pipeline
* add branch name filter, get token with internal method
* add doc for future branch PR migration
* add doc for future branch PR migration
* removed migration docs
* enable new ci/pr pipelines for all branches
* add README.md for pipelinesteps scripts
---------
Co-authored-by: Nori Zhang <[email protected]>
Co-authored-by: NoriZC <[email protected]>
Co-authored-by: Xiaogang Ding <[email protected]>
This directory contains the PowerShell scripts refactored from ".azure-pipelines/util".
4
+
5
+
## Overview
6
+
7
+
The pipeline steps are refactored from yml based templates from ".azure-pipelines/util" to PowerShell scripts. This is designed for converting some Azure Devops pipelines to github action.
if ($noGenerateInfo-and$noGenerateInfo.Count-gt0) {
70
+
$noGenerateInfo|Foreach-Object { Write-Warning"No generate-info.json detected for $_." }
71
+
}
72
+
73
+
# this might not be true, for example when release branch or preview branch merge back to main branch, it's possible changes present in both /src and /generated
74
+
Write-Host"##2. PR should contain changes from either /src or /generated only"-ForegroundColor Magenta
0 commit comments