Skip to content
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

Moved 1ES compliant pipeline templates to a separate folder temporarily #2397

Merged
merged 10 commits into from
Mar 26, 2024
120 changes: 120 additions & 0 deletions vsts/pipelines/1ESPipelines/PlatformBinaries/dotnetcore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
variables:
- group: Oryx
parameters:
- name: destinationStorageAccountName
displayName: Destination Storage Account Name
type: string
default: oryxsdksstaging
trigger:
batch: true
branches:
include:
- main
paths:
exclude:
- /*
include:
- platforms/dotnet
- vsts/PlatformBinaries/dotnetcore.yml
resources:
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
pool:
name: AzurePipelines-EO
image: AzurePipelinesUbuntu20.04compliant
os: linux
sdl:
sourceAnalysisPool:
name: AzurePipelines-EO
os: windows
customBuildTags:
- ES365AIMigrationTooling
stages:
- stage: Build
jobs:
- job: DotNetCore_Bookworm
timeoutInMinutes: 250
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'Publish build artifacts'
condition: true
targetPath: $(Build.ArtifactStagingDirectory)
steps:
- template: /vsts/pipelines/templates/_platformBinariesTemplate.yml@self
parameters:
platformName: 'dotnet'
debianFlavor: 'bookworm'
destinationSdkStorageAccountName: '${{ parameters.destinationStorageAccountName }}'
- job: DotNetCore_Bullseye
timeoutInMinutes: 250
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'Publish build artifacts'
condition: true
targetPath: $(Build.ArtifactStagingDirectory)
steps:
- template: /vsts/pipelines/templates/_platformBinariesTemplate.yml@self
parameters:
platformName: 'dotnet'
debianFlavor: 'bullseye'
destinationSdkStorageAccountName: '${{ parameters.destinationStorageAccountName }}'
- job: DotNetCore_Buster
timeoutInMinutes: 250
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'Publish build artifacts'
condition: true
targetPath: $(Build.ArtifactStagingDirectory)
steps:
- template: /vsts/pipelines/templates/_platformBinariesTemplate.yml@self
parameters:
platformName: 'dotnet'
debianFlavor: 'buster'
destinationSdkStorageAccountName: '${{ parameters.destinationStorageAccountName }}'
- job: DotNetCore_Stretch
timeoutInMinutes: 250
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'Publish build artifacts'
condition: true
targetPath: $(Build.ArtifactStagingDirectory)
steps:
- template: /vsts/pipelines/templates/_platformBinariesTemplate.yml@self
parameters:
platformName: 'dotnet'
debianFlavor: 'stretch'
destinationSdkStorageAccountName: '${{ parameters.destinationStorageAccountName }}'
- job: DotNetCore_Ubuntu
timeoutInMinutes: 250
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'Publish build artifacts'
condition: true
targetPath: $(Build.ArtifactStagingDirectory)
steps:
- template: /vsts/pipelines/templates/_platformBinariesTemplate.yml@self
parameters:
platformName: 'dotnet'
debianFlavor: 'focal-scm'
destinationSdkStorageAccountName: '${{ parameters.destinationStorageAccountName }}'
- stage: Release
dependsOn: Build
jobs:
- job: Publish_Platform_Binaries
timeoutInMinutes: 250
displayName: Publish to Azure Blob Storage
steps:
- template: /vsts/pipelines/templates/_platformBinariesReleaseTemplate.yml@self
parameters:
destinationSdkStorageAccountName: '${{ parameters.destinationStorageAccountName }}'
106 changes: 106 additions & 0 deletions vsts/pipelines/1ESPipelines/PlatformBinaries/golang.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
variables:
- group: Oryx
parameters:
- name: destinationStorageAccountName
displayName: Destination Storage Account Name
type: string
default: oryxsdksstaging
trigger:
batch: true
branches:
include:
- main
paths:
exclude:
- /*
include:
- platforms/golang
- vsts/PlatformBinaries/golang.yml
resources:
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
pool:
name: AzurePipelines-EO
image: AzurePipelinesUbuntu20.04compliant
os: linux
sdl:
sourceAnalysisPool:
name: AzurePipelines-EO
os: windows
customBuildTags:
- ES365AIMigrationTooling
stages:
- stage: Build
jobs:
- job: Golang_Bullseye
timeoutInMinutes: 250
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'Publish build artifacts'
condition: true
targetPath: $(Build.ArtifactStagingDirectory)
steps:
- template: /vsts/pipelines/templates/_platformBinariesTemplate.yml@self
parameters:
platformName: 'golang'
debianFlavor: 'bullseye'
destinationSdkStorageAccountName: '${{ parameters.destinationStorageAccountName }}'
- job: Golang_Buster
timeoutInMinutes: 250
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'Publish build artifacts'
condition: true
targetPath: $(Build.ArtifactStagingDirectory)
steps:
- template: /vsts/pipelines/templates/_platformBinariesTemplate.yml@self
parameters:
platformName: 'golang'
debianFlavor: 'buster'
destinationSdkStorageAccountName: '${{ parameters.destinationStorageAccountName }}'
- job: Golang_Stretch
timeoutInMinutes: 250
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'Publish build artifacts'
condition: true
targetPath: $(Build.ArtifactStagingDirectory)
steps:
- template: /vsts/pipelines/templates/_platformBinariesTemplate.yml@self
parameters:
platformName: 'golang'
debianFlavor: 'stretch'
destinationSdkStorageAccountName: '${{ parameters.destinationStorageAccountName }}'
- job: Golang_Ubuntu
timeoutInMinutes: 250
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'Publish build artifacts'
condition: true
targetPath: $(Build.ArtifactStagingDirectory)
steps:
- template: /vsts/pipelines/templates/_platformBinariesTemplate.yml@self
parameters:
platformName: 'golang'
debianFlavor: 'focal-scm'
destinationSdkStorageAccountName: '${{ parameters.destinationStorageAccountName }}'
- stage: Release
dependsOn: Build
jobs:
- job: Publish_Platform_Binaries
timeoutInMinutes: 250
displayName: Publish to Azure Blob Storage
steps:
- template: /vsts/pipelines/templates/_platformBinariesReleaseTemplate.yml@self
parameters:
destinationSdkStorageAccountName: '${{ parameters.destinationStorageAccountName }}'
162 changes: 162 additions & 0 deletions vsts/pipelines/1ESPipelines/PlatformBinaries/java.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
variables:
- group: Oryx
parameters:
- name: destinationStorageAccountName
displayName: Destination Storage Account Name
type: string
default: oryxsdksstaging
trigger:
batch: true
branches:
include:
- main
paths:
exclude:
- /*
include:
- platforms/java
- vsts/PlatformBinaries/java.yml
resources:
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
pool:
name: AzurePipelines-EO
image: AzurePipelinesUbuntu20.04compliant
os: linux
sdl:
sourceAnalysisPool:
name: AzurePipelines-EO
os: windows
customBuildTags:
- ES365AIMigrationTooling
stages:
- stage: Build
jobs:
- job: Java_Bullseye
timeoutInMinutes: 250
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'Publish build artifacts'
condition: true
targetPath: $(Build.ArtifactStagingDirectory)
steps:
- template: /vsts/pipelines/templates/_platformBinariesTemplate.yml@self
parameters:
platformName: 'java'
debianFlavor: 'bullseye'
destinationSdkStorageAccountName: '${{ parameters.destinationStorageAccountName }}'
- job: Java_Buster
timeoutInMinutes: 250
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'Publish build artifacts'
condition: true
targetPath: $(Build.ArtifactStagingDirectory)
steps:
- template: /vsts/pipelines/templates/_platformBinariesTemplate.yml@self
parameters:
platformName: 'java'
debianFlavor: 'buster'
destinationSdkStorageAccountName: '${{ parameters.destinationStorageAccountName }}'
- job: Java_Stretch
timeoutInMinutes: 250
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'Publish build artifacts'
condition: true
targetPath: $(Build.ArtifactStagingDirectory)
steps:
- template: /vsts/pipelines/templates/_platformBinariesTemplate.yml@self
parameters:
platformName: 'java'
debianFlavor: 'stretch'
destinationSdkStorageAccountName: '${{ parameters.destinationStorageAccountName }}'
- job: Java_Ubuntu
timeoutInMinutes: 250
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'Publish build artifacts'
condition: true
targetPath: $(Build.ArtifactStagingDirectory)
steps:
- template: /vsts/pipelines/templates/_platformBinariesTemplate.yml@self
parameters:
platformName: 'java'
debianFlavor: 'focal-scm'
destinationSdkStorageAccountName: '${{ parameters.destinationStorageAccountName }}'
- job: Maven_Bullseye
timeoutInMinutes: 250
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'Publish build artifacts'
condition: true
targetPath: $(Build.ArtifactStagingDirectory)
steps:
- template: /vsts/pipelines/templates/_platformBinariesTemplate.yml@self
parameters:
platformName: 'maven'
debianFlavor: 'bullseye'
destinationSdkStorageAccountName: '${{ parameters.destinationStorageAccountName }}'
- job: Maven_Buster
timeoutInMinutes: 250
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'Publish build artifacts'
condition: true
targetPath: $(Build.ArtifactStagingDirectory)
steps:
- template: /vsts/pipelines/templates/_platformBinariesTemplate.yml@self
parameters:
platformName: 'maven'
debianFlavor: 'buster'
destinationSdkStorageAccountName: '${{ parameters.destinationStorageAccountName }}'
- job: Maven_Stretch
timeoutInMinutes: 250
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'Publish build artifacts'
condition: true
targetPath: $(Build.ArtifactStagingDirectory)
steps:
- template: /vsts/pipelines/templates/_platformBinariesTemplate.yml@self
parameters:
platformName: 'maven'
debianFlavor: 'stretch'
destinationSdkStorageAccountName: '${{ parameters.destinationStorageAccountName }}'
- job: Maven_Ubuntu
timeoutInMinutes: 250
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'Publish build artifacts'
condition: true
targetPath: $(Build.ArtifactStagingDirectory)
steps:
- template: /vsts/pipelines/templates/_platformBinariesTemplate.yml@self
parameters:
platformName: 'maven'
debianFlavor: 'focal-scm'
destinationSdkStorageAccountName: '${{ parameters.destinationStorageAccountName }}'
- stage: Release
dependsOn: Build
jobs:
- job: Publish_Platform_Binaries
timeoutInMinutes: 250
displayName: Publish to Azure Blob Storage
steps:
- template: /vsts/pipelines/templates/_platformBinariesReleaseTemplate.yml@self
parameters:
destinationSdkStorageAccountName: '${{ parameters.destinationStorageAccountName }}'
Loading