ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
jobs:
- job: Web
displayName: Web
timeoutInMinutes: 45
pool:
name: 1es-ubuntu-22.04-x64
os: linux
variables:
VSCODE_ARCH: x64
BUILDS_API_URL: $(System.CollectionUri)$(System.TeamProject)/_apis/build/builds/$(Build.BuildId)/
templateContext:
outputs:
- output: pipelineArtifact
targetPath: $(Build.ArtifactStagingDirectory)/out/web/vscode-web.tar.gz
artifactName: vscode_web_linux_standalone_archive-unsigned
displayName: Publish web archive
sbomBuildDropPath: $(Agent.BuildDirectory)/vscode-web
sbomPackageName: "VS Code Linux x64 Web (Standalone)"
sbomPackageVersion: $(Build.SourceVersion)
../common/checkout.yml@self
NodeTool@0
fromFile
.nvmrc
../distro/downloaddistro.yml@self
AzureKeyVault@2
vscodeossbuildsecrets
vscodeossbuildsecrets
node build/setupnpmregistry.ts $NPM_REGISTRY
and(succeeded() ne(variables 'none'))
Setup NPM Registry
mkdir p .build node build/azurepipelines/common/computeNodeModulesCacheKey.ts web $(node p process.arch) .build/packagelockhash
Prepare node_modules cache key
Cache@2
.build/node_modules_cache
NODE_MODULES_RESTORED
Restore node_modules cache
tar xzf .build/node_modules_cache/cache.tgz
and(succeeded() eq(variables.NODE_MODULES_RESTORED 'true'))
Extract node_modules cache
and(succeeded() ne(variables 'none'))
Setup NPM
npmAuthenticate@0
$(NPMRC_PATH)
and(succeeded() ne(variables 'none'))
Setup NPM Authentication
../common/foundrylocal.yml@self
prepare
Setup system services
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true'))
for i in 1..5; do
npm ci break
if $i eq 5 ; then
echo "Npm install failed too many times"
exit 1
fi
echo "Npm install failed $i trying again"
done
Install dependencies
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true'))
../common/foundrylocal.yml@self
install
node build/azurepipelines/common/checkNativeOptionalDeps.ts
Verify native optional dependency binaries
node build/azurepipelines/distro/mixinnpm.ts
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true'))
Mixin distro node modules
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true'))
Create node_modules archive
node build/azurepipelines/distro/mixinquality.ts
Mixin distro quality
../common/installbuiltinextensions.yml@self
node build/npm/electronTypes.ts
Prepare Electron types
npx deemon detach wait node build/azurepipelines/common/downloadCopilotVsix.ts
$(System.AccessToken)
Download Copilot VSIX (background)
../common/mixinvscodecapi.yml@self
npm run gulp coreci
Compile
npx deemon attach node build/azurepipelines/common/downloadCopilotVsix.ts
$(System.AccessToken)
Download Copilot VSIX
Build
AzureCLI@2
Fetch secrets from Azure
vscode
pscore
inlineScript
Upload to CDN
Upload sourcemaps (Web)
Upload NLS Metadata