Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions .azure-pipelines/SignExtension.signproj

This file was deleted.

5 changes: 0 additions & 5 deletions .azure-pipelines/compliance/CredScanSuppressions.json

This file was deleted.

11 changes: 0 additions & 11 deletions .azure-pipelines/compliance/PoliCheckExclusions.xml

This file was deleted.

36 changes: 0 additions & 36 deletions .azure-pipelines/release.yml

This file was deleted.

70 changes: 36 additions & 34 deletions .azure-pipelines/1esmain.yml → .config/build.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,36 @@
# Trigger the build whenever `main` or `rel/*` is updated
trigger:
- main
- rel/*

# Disable PR trigger
pr: none

# Scheduled nightly build of `main`
schedules:
- cron: "0 0 * * *"
displayName: Nightly scheduled build
always: false # Don't rebuild if there haven't been changes
branches:
include:
- main

# `resources` specifies the location of templates to pick up, use it to get AzExt templates
resources:
repositories:
- repository: azExtTemplates
type: github
name: microsoft/vscode-azuretools
ref: main
endpoint: GitHub-AzureTools # The service connection to use when accessing this repository

variables:
# Required by MicroBuild template
- name: TeamName
value: "Container Tools Team"

# Use those templates
extends:
template: azure-pipelines/1esmain.yml@azExtTemplates
# Trigger the build whenever `main` or `rel/*` is updated
trigger:
- main
- rel/*

# Disable PR trigger
pr: none

# Scheduled nightly build of `main`
schedules:
- cron: "0 0 * * *"
displayName: Nightly scheduled build
always: false # Don't rebuild if there haven't been changes
branches:
include:
- main

resources:
repositories:
# Use the shared templates from microsoft/vscode-azuretools
- repository: azExtTemplates
type: github
name: microsoft/vscode-azuretools
ref: bmw/pipelinesv2_2 # TODO: update to final branch
endpoint: GitHub-AzureTools # The service connection to use when accessing this repository

variables:
# Pick up shared AZCode variables
- template: azdo-pipelines/azcode.variables.yml@azExtTemplates
- name: TeamName
value: "Container Tools Team" # Required for MicroBuild signing and telemetry

extends:
template: azdo-pipelines/1es-mb-main.yml@azExtTemplates # Use the main build template
parameters:
testARMServiceConnection: ${{ variables.testARMServiceConnection }}
42 changes: 42 additions & 0 deletions .config/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Only run this pipeline when manually triggered
trigger: none
pr: none

parameters:
# The version to publish--used for ensuring the expected version is published
- name: publishVersion
displayName: Version to publish
type: string
# Whether to do a dry run (i.e., not actually publish)
- name: dryRun
displayName: Dry run
type: boolean
default: false

resources:
pipelines:
# Reference the build pipeline to get the artifacts
- pipeline: build # This must be "build"
source: \Azure Tools\VSCode\Extensions\vscode-containers # Name of the pipeline that produces the artifacts
repositories:
# Use the shared templates from microsoft/vscode-azuretools
- repository: azExtTemplates
type: github
name: microsoft/vscode-azuretools
ref: bmw/pipelinesv2_2 # TODO: update to final branch
endpoint: GitHub-AzureTools # The service connection to use when accessing this repository

variables:
# Pick up shared AZCode variables
- template: azdo-pipelines/azcode.variables.yml@azExtTemplates
- name: TeamName
value: "Container Tools Team" # Required for MicroBuild signing and telemetry

extends:
template: azdo-pipelines/1es-mb-release-extension.yml@azExtTemplates # Use the extension release template
parameters:
packageToPublish: vscode-containers
publishVersion: ${{ parameters.publishVersion }}
dryRun: ${{ parameters.dryRun }}
releaseServiceConnection: ${{ variables.extensionReleaseServiceConnection }}
releaseApprovalEnvironment: VSCodeDockerExtensionPublish
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"tsaVersion": "TsaV2",
"codeBase": "NewOrUpdate",
"codeBaseName": "vscode-containers",
"tsaStamp": "DevDiv",
"notificationAliases": [
"DockerToolsTeam@microsoft.com"
],
"instanceUrl": "https://devdiv.visualstudio.com",
"projectName": "DevDiv",
"areaPath": "DevDiv\\VS Azure Tools\\Container Tools",
"iterationPath": "DevDiv",
"allTools": true
}
{
"tsaVersion": "TsaV2",
"codeBase": "NewOrUpdate",
"codeBaseName": "vscode-containers",
"tsaStamp": "DevDiv",
"notificationAliases": [
"DockerToolsTeam@microsoft.com"
],
"instanceUrl": "https://devdiv.visualstudio.com",
"projectName": "DevDiv",
"areaPath": "DevDiv\\VS Azure Tools\\Container Tools",
"iterationPath": "DevDiv",
"allTools": true
}
2 changes: 1 addition & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.azure-pipelines/**
.config/**
.github/**
.gitattributes
.gitignore
Expand Down