Skip to content
Closed
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
144 changes: 72 additions & 72 deletions build/azure-pipeline.pre-release.yml
Original file line number Diff line number Diff line change
@@ -1,72 +1,72 @@
# Run on a schedule
trigger: none
pr: none

schedules:
- cron: '0 10 * * 1-5' # 10AM UTC (2AM PDT) MON-FRI (VS Code Pre-release builds at 9PM PDT)
displayName: Nightly Pre-Release Schedule
always: false # only run if there are source code changes
branches:
include:
- main

resources:
repositories:
- repository: templates
type: github
name: microsoft/vscode-engineering
ref: main
endpoint: Monaco

parameters:
- name: publishExtension
displayName: 🚀 Publish Extension
type: boolean
default: false

extends:
template: azure-pipelines/extension/pre-release.yml@templates
parameters:
l10nSourcePaths: ./src
ghCreateTag: false
buildSteps:
- task: NodeTool@0
inputs:
versionSpec: '22.17.0'
displayName: Select Node version

- task: UsePythonVersion@0
inputs:
versionSpec: '3.9'
addToPath: true
architecture: 'x64'
displayName: Select Python version

- script: npm ci
displayName: Install NPM dependencies

- script: python -m pip install -U pip
displayName: Upgrade pip

- script: python -m pip install wheel
displayName: Install wheel

- script: python -m pip install nox
displayName: Install wheel

- script: python -m nox --session install_bundled_libs
displayName: Install Python dependencies

- script: python ./build/update_ext_version.py --for-publishing
displayName: Update build number

- script: npm run package
displayName: Build extension

tsa:
config:
areaPath: 'Visual Studio Code Python Extensions'
serviceTreeID: '6e6194bc-7baa-4486-86d0-9f5419626d46'
enabled: true

publishExtension: ${{ parameters.publishExtension }}
# Run on a schedule
trigger: none
pr: none
schedules:
- cron: '0 10 * * 1-5' # 10AM UTC (2AM PDT) MON-FRI (VS Code Pre-release builds at 9PM PDT)
displayName: Nightly Pre-Release Schedule
always: false # only run if there are source code changes
branches:
include:
- main
resources:
repositories:
- repository: templates
type: github
name: microsoft/vscode-engineering
ref: main
endpoint: Monaco
parameters:
- name: publishExtension
displayName: 🚀 Publish Extension
type: boolean
default: false
extends:
template: azure-pipelines/extension/pre-release.yml@templates
parameters:
l10nSourcePaths: ./src
ghCreateTag: false
buildSteps:
- task: NodeTool@0
inputs:
versionSpec: '22.17.0'
displayName: Select Node version
- task: UsePythonVersion@0
inputs:
versionSpec: '3.9'
addToPath: true
architecture: 'x64'
displayName: Select Python version
- script: npm ci
displayName: Install NPM dependencies
- script: python -m pip install -U pip
displayName: Upgrade pip
- script: python -m pip install wheel
displayName: Install wheel
- script: python -m pip install nox
displayName: Install wheel
- script: python -m nox --session install_bundled_libs
displayName: Install Python dependencies
- script: python ./build/update_ext_version.py --for-publishing
displayName: Update build number
- script: npm run package
displayName: Build extension
tsa:
config:
areaPath: 'Pylance'
serviceTreeID: 'e3c408e8-09e7-404f-a9af-22b4ac3807a3'
enabled: true
publishExtension: ${{ parameters.publishExtension }}
132 changes: 66 additions & 66 deletions build/azure-pipeline.stable.yml
Original file line number Diff line number Diff line change
@@ -1,66 +1,66 @@
trigger: none
# branches:
# include:
# - release*
# tags:
# include: ['*']
pr: none

resources:
repositories:
- repository: templates
type: github
name: microsoft/vscode-engineering
ref: main
endpoint: Monaco

parameters:
- name: publishExtension
displayName: 🚀 Publish Extension
type: boolean
default: false

extends:
template: azure-pipelines/extension/stable.yml@templates
parameters:
l10nSourcePaths: ./src
publishExtension: ${{ parameters.publishExtension }}
ghCreateTag: true
buildSteps:
- task: NodeTool@0
inputs:
versionSpec: '22.17.0'
displayName: Select Node version

- task: UsePythonVersion@0
inputs:
versionSpec: '3.9'
addToPath: true
architecture: 'x64'
displayName: Select Python version

- script: npm ci
displayName: Install NPM dependencies

- script: python -m pip install -U pip
displayName: Upgrade pip

- script: python -m pip install wheel
displayName: Install wheel

- script: python -m pip install nox
displayName: Install wheel

- script: python -m nox --session install_bundled_libs
displayName: Install Python dependencies

- script: python ./build/update_ext_version.py --release --for-publishing
displayName: Update build number

- script: npm run package
displayName: Build extension
tsa:
config:
areaPath: 'Visual Studio Code Python Extensions'
serviceTreeID: '6e6194bc-7baa-4486-86d0-9f5419626d46'
enabled: true
trigger: none
# branches:
# include:
# - release*
# tags:
# include: ['*']
pr: none
resources:
repositories:
- repository: templates
type: github
name: microsoft/vscode-engineering
ref: main
endpoint: Monaco
parameters:
- name: publishExtension
displayName: 🚀 Publish Extension
type: boolean
default: false
extends:
template: azure-pipelines/extension/stable.yml@templates
parameters:
l10nSourcePaths: ./src
publishExtension: ${{ parameters.publishExtension }}
ghCreateTag: true
buildSteps:
- task: NodeTool@0
inputs:
versionSpec: '22.17.0'
displayName: Select Node version
- task: UsePythonVersion@0
inputs:
versionSpec: '3.9'
addToPath: true
architecture: 'x64'
displayName: Select Python version
- script: npm ci
displayName: Install NPM dependencies
- script: python -m pip install -U pip
displayName: Upgrade pip
- script: python -m pip install wheel
displayName: Install wheel
- script: python -m pip install nox
displayName: Install wheel
- script: python -m nox --session install_bundled_libs
displayName: Install Python dependencies
- script: python ./build/update_ext_version.py --release --for-publishing
displayName: Update build number
- script: npm run package
displayName: Build extension
tsa:
config:
areaPath: 'Pylance'
serviceTreeID: 'e3c408e8-09e7-404f-a9af-22b4ac3807a3'
enabled: true
Loading