Team Ai
Datasetpublic

MegaBites-AI/Windows-powershell

sourceHugging Facemitupdated 6mo agoView on Hugging Face
0likes372downloads
PowerShell-Release-Official.yml103 linesDownload Raw Back to .pipelines
1trigger: none2 3parameters: # parameters are shown up in ADO UI in a build queue time4  - name: 'debug'5    displayName: 'Enable debug output'6    type: boolean7    default: false8  - name: InternalSDKBlobURL9    displayName: URL to the blob having internal .NET SDK10    type: string11    default: ' '12  - name: ReleaseTagVar13    displayName: Release Tag14    type: string15    default: 'fromBranch'16  - name: SKIP_SIGNING17    displayName: Skip Signing18    type: string19    default: 'NO'20  - name: SkipPublish21    displayName: Skip Publishing to Nuget22    type: boolean23    default: false24  - name: SkipPSInfraInstallers25    displayName: Skip Copying Archives and Installers to PSInfrastructure Public Location26    type: boolean27    default: false28  - name: skipMSIXPublish29    displayName: Skip MSIX Publish30    type: boolean31    default: false32 33name: release-$(BUILD.SOURCEBRANCHNAME)-prod-$(Build.BuildId)34 35variables:36  - template: templates/variables/PowerShell-Release-Variables.yml37    parameters:38      debug: ${{ parameters.debug }}39      ReleaseTagVar: ${{ parameters.ReleaseTagVar }}40 41resources:42  repositories:43    - repository: onebranchTemplates44      type: git45      name: OneBranch.Pipelines/GovernedTemplates46      ref: refs/heads/main47    - repository: PSInternalTools48      type: git49      name: PowerShellCore/Internal-PowerShellTeam-Tools50      ref: refs/heads/master51 52  pipelines:53    - pipeline: CoOrdinatedBuildPipeline54      source: 'PowerShell-Coordinated Binaries-Official'55 56    - pipeline: PSPackagesOfficial57      source: 'PowerShell-Packages-Official'58      trigger:59        branches:60          include:61            - master62            - releases/*63 64extends:65  template: v2/OneBranch.Official.CrossPlat.yml@onebranchTemplates66  parameters:67    release:68      category: NonAzure69    featureFlags:70      WindowsHostVersion:71        Version: 202272        Network: KS373      incrementalSDLBinaryAnalysis: true74    cloudvault:75      enabled: false76    globalSdl:77      disableLegacyManifest: true78      # disabled Armory as we dont have any ARM templates to scan. It fails on some sample ARM templates.79      armory:80        enabled: false81      tsa:82        enabled: true83      credscan:84        enabled: true85        scanFolder:  $(Build.SourcesDirectory)86        suppressionsFile: $(Build.SourcesDirectory)\.config\suppress.json87      binskim:88        break: false # always break the build on binskim issues in addition to TSA upload89        exactToolVersion: 4.4.290      policheck:91        break: true # always break the build on policheck issues. You can disable it by setting to 'false'92      # suppression:93      #   suppressionFile: $(Build.SourcesDirectory)\.gdn\global.gdnsuppress94      tsaOptionsFile: .config\tsaoptions.json95 96    stages:97    - template: templates/stages/PowerShell-Release-Stages.yml98      parameters:99        releaseEnvironment: Production100        SkipPublish: ${{ parameters.SkipPublish }}101        SkipPSInfraInstallers: ${{ parameters.SkipPSInfraInstallers }}102        skipMSIXPublish: ${{ parameters.skipMSIXPublish }}103