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
10 changes: 0 additions & 10 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.

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

This file was deleted.

70 changes: 34 additions & 36 deletions .azure-pipelines/1esmain.yml → .config/build.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,34 @@
# 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
parameters:
enableSigning: false
# 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
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO

endpoint: GitHub-AzureTools # The service connection to use when accessing this repository

variables:
- 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:
signType: none
53 changes: 53 additions & 0 deletions .config/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Only run this pipeline when manually triggered
trigger: none
pr: none

parameters:
# Choose a package to publish at the time of job creation
- name: packageToPublish
displayName: Package to publish
type: string
values:
- microsoft-vscode-processutils
- microsoft-vscode-container-client
- microsoft-vscode-docker-registries
- microsoft-vscode-inproc-mcp
# 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\Packages\vscode-docker-extensibility # 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
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO

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-npm.yml@azExtTemplates # Use the NPM release template
parameters:
packageToPublish: ${{ parameters.packageToPublish }}
publishVersion: ${{ parameters.publishVersion }}
dryRun: ${{ parameters.dryRun }}
ownerAliases: ${{ variables.npmReleaseOwnerAliases }}
approverAliases: ${{ variables.npmReleaseApproverAliases }}
gitHubServiceConnection: ${{ variables.gitHubServiceConnection }}
releaseApprovalEnvironment: VSCodeDockerExtensionPublish
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"tsaVersion": "TsaV2",
"codeBase": "NewOrUpdate",
"codeBaseName": "vscode-docker-extensibility",
"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-docker-extensibility",
"tsaStamp": "DevDiv",
"notificationAliases": [
"DockerToolsTeam@microsoft.com"
],
"instanceUrl": "https://devdiv.visualstudio.com",
"projectName": "DevDiv",
"areaPath": "DevDiv\\VS Azure Tools\\Container Tools",
"iterationPath": "DevDiv",
"allTools": true
}