Skip to content

Commit 95a2c9d

Browse files
authored
Merge branch 'main' into pytest-version-min
2 parents 46e79af + 16eda98 commit 95a2c9d

File tree

525 files changed

+6886
-1718
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

525 files changed

+6886
-1718
lines changed

.pipelines/azure-pipelines.main.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
trigger:
2+
batch: true
3+
branches:
4+
include:
5+
- main
6+
paths:
7+
exclude:
8+
- .config
9+
- .devcontainer
10+
- .pipelines
11+
- .vscode
12+
pr: none
13+
14+
resources:
15+
repositories:
16+
- repository: 1esPipelines
17+
type: git
18+
name: 1ESPipelineTemplates/1ESPipelineTemplates
19+
ref: refs/tags/release
20+
21+
pipelines:
22+
- pipeline: vscode-website-prod
23+
source: vscode-website (official)
24+
branch: release/prod
25+
trigger: true
26+
27+
variables:
28+
Codeql.Enabled: true
29+
Codeql.SourceRoot: $(Pipeline.Workspace)/vscode-website
30+
Codeql.TSAEnabled: true
31+
Codeql.TSAOptionsPath: $(Build.SourcesDirectory)/.config/tsaoptions.json
32+
33+
extends:
34+
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
35+
parameters:
36+
sdl:
37+
credscan:
38+
suppressionsFile: $(Build.SourcesDirectory)/.config/CredScanSuppressions.json
39+
git:
40+
fetchDepth: 1
41+
lfs: true
42+
retryCount: 3
43+
policheck:
44+
break: true
45+
sourceAnalysisPool: 1es-windows-2022-x64
46+
tsa:
47+
enabled: true
48+
49+
stages:
50+
- template: templates/stages/build-main.yml@self

.pipelines/azure-pipelines.vnext.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
trigger:
2+
batch: true
3+
branches:
4+
include:
5+
- vnext
6+
paths:
7+
exclude:
8+
- .config
9+
- .devcontainer
10+
- .pipelines
11+
- .vscode
12+
pr: none
13+
14+
resources:
15+
repositories:
16+
- repository: 1esPipelines
17+
type: git
18+
name: 1ESPipelineTemplates/1ESPipelineTemplates
19+
ref: refs/tags/release
20+
21+
pipelines:
22+
- pipeline: vscode-website-main
23+
source: vscode-website (buddy)
24+
branch: main
25+
trigger: true
26+
27+
extends:
28+
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
29+
parameters:
30+
sdl:
31+
credscan:
32+
suppressionsFile: $(Build.SourcesDirectory)/.config/CredScanSuppressions.json
33+
git:
34+
fetchDepth: 1
35+
lfs: true
36+
retryCount: 3
37+
policheck:
38+
break: true
39+
sourceAnalysisPool: 1es-windows-2022-x64
40+
tsa:
41+
enabled: true
42+
43+
stages:
44+
- template: templates/stages/build-vnext.yml@self

.pipelines/onebranch.buddy.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

.pipelines/onebranch.official.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.pipelines/templates/jobs/build.yml

Lines changed: 17 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,18 @@ jobs:
88
- job:
99
displayName: ${{ parameters.jobDisplayName }}
1010
pool:
11-
type: windows
12-
13-
variables:
14-
ob_outputDirectory: $(Build.ArtifactStagingDirectory)/out
15-
ob_artifactSuffix: ${{ parameters.jobDisplayName }}
16-
ob_git_path: vscode-website/vscode-docs
17-
ob_sdl_codeSignValidation_excludes: -|**\*.js;-|**\*.ps1
11+
name: 1es-windows-2022-x64
12+
os: Windows
13+
templateContext:
14+
outputs:
15+
- output: pipelineArtifact
16+
targetPath: $(Build.ArtifactStagingDirectory)/out
17+
artifactName: drop_Build_${{ parameters.jobDisplayName }}
1818

1919
steps:
20+
- checkout: self
21+
path: vscode-docs
22+
2023
- download: ${{ parameters.artifactName }}
2124
artifact: drop_Build_Linux
2225
displayName: Download ${{ parameters.artifactName }}
@@ -26,11 +29,14 @@ jobs:
2629
contents: '**'
2730
sourceFolder: $(Pipeline.Workspace)/${{ parameters.artifactName }}/drop_Build_Linux
2831
targetFolder: $(Pipeline.Workspace)/vscode-website
29-
displayName: Copy ${{ parameters.artifactName }}
32+
displayName: Copy ${{ parameters.artifactName }} to vscode-website
3033

31-
- task: CodeQL3000Init@0
32-
displayName: CodeQL Initialize
33-
condition: eq(variables['Codeql.enabled'], 'True')
34+
- task: CopyFiles@2
35+
inputs:
36+
contents: '**'
37+
sourceFolder: $(Pipeline.Workspace)/vscode-docs
38+
targetFolder: $(Pipeline.Workspace)/vscode-website/vscode-docs
39+
displayName: Copy vscode-docs into vscode-website
3440

3541
- task: NodeTool@0
3642
displayName: Install Node via .nvmrc
@@ -69,27 +75,10 @@ jobs:
6975
displayName: Rebuild Dist From Website
7076
workingDirectory: $(Pipeline.Workspace)/vscode-website
7177

72-
- script: npm install
73-
displayName: Install Dist dependencies
74-
workingDirectory: $(Pipeline.Workspace)/vscode-website/dist
75-
76-
- task: CodeQL3000Finalize@0
77-
displayName: CodeQL Finalize
78-
condition: eq(variables['Codeql.enabled'], 'True')
79-
8078
- task: ArchiveFiles@2
8179
inputs:
8280
rootFolderOrFile: $(Pipeline.Workspace)/vscode-website/dist
8381
archiveType: 'zip'
8482
includeRootFolder: false
8583
archiveFile: $(Build.ArtifactStagingDirectory)/out/website.zip
8684
displayName: Archive complete website
87-
88-
- task: ArchiveFiles@2
89-
inputs:
90-
rootFolderOrFile: $(Pipeline.Workspace)/vscode-website/dist/client/assets
91-
archiveType: 'zip'
92-
includeRootFolder: false
93-
archiveFile: $(Build.ArtifactStagingDirectory)/out/website-assets.zip
94-
displayName: Archive website assets
95-
condition: ${{ eq(parameters.jobDisplayName, 'vscode-site-vnext') }}
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
stages:
22
- stage: Build
33
jobs:
4-
- template: ..\jobs\build.yml
4+
- template: ../jobs/build.yml@self
55
parameters:
66
jobDisplayName: vscode-site-prod
77
artifactName: vscode-website-prod
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
stages:
22
- stage: Build
33
jobs:
4-
- template: ..\jobs\build.yml
4+
- template: ../jobs/build.yml@self
55
parameters:
66
jobDisplayName: vscode-site-vnext
77
artifactName: vscode-website-main

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,4 @@ The history of this repo before we adopted LFS can be found at [microsoft/vscode
8282

8383
## Publishing
8484

85-
Steps for how to publish documentation changes can be found [here](https://github.com/microsoft/vscode-website#publishing-a-documentation-change) in the (private) repository of the VS Code website.
86-
8785
Publishing merged pull requests is not automatic and is initiated manually after changes have been reviewed on an internal staging server. There is no specific time guarantee for when PR updates will be available on https://code.visualstudio.com but the intent is that they will usually be live within 24 hours.

api/advanced-topics/extension-host.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
# DO NOT TOUCH — Managed by doc writer
33
ContentId: 106AA11C-DB26-493A-9E3C-16F513B2AEC8
4-
DateApproved: 10/03/2024
4+
DateApproved: 12/11/2024
55

66
# Summarize the whole topic in less than 300 characters for SEO purpose
77
MetaDescription: The Visual Studio Code Extension Host is responsible for managing extensions and ensuring the stability and performance of Visual Studio Code.

api/advanced-topics/remote-extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
ContentId: 5c708951-e566-42db-9d97-e9715d95cdd1
3-
DateApproved: 10/03/2024
3+
DateApproved: 12/11/2024
44

55
# Summarize the whole topic in less than 300 characters for SEO purpose
66
MetaDescription: A guide to adding Visual Studio Code Remote Development and GitHub Codespaces support to extensions

0 commit comments

Comments
 (0)