ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
parameters:
- name: VSCODE_ARCH
type: string
jobs:
- job: Alpine_${{ parameters.VSCODE_ARCH }}
displayName: Alpine (${{ upper(parameters.VSCODE_ARCH) }})
timeoutInMinutes: 60
pool:
name: 1es-ubuntu-22.04-x64
os: linux
variables:
NPM_ARCH: ${{ parameters.VSCODE_ARCH }}
VSCODE_ARCH: ${{ parameters.VSCODE_ARCH }}
VSCODE_EXTENSION_TARGET: alpine-${{ parameters.VSCODE_ARCH
$(System.CollectionUri)$(System.TeamProject)/_apis/build/builds/$(Build.BuildId)/
$(Build.ArtifactStagingDirectory)/out
$ if eq(parameters.VSCODE_ARCH 'x64')
pipelineArtifact
$(Build.ArtifactStagingDirectory)/out/server/vscodeserverlinuxalpine.tar.gz
vscode_server_linux_alpine_archiveunsigned
Publish x64 server archive
$(SERVER_DIR_PATH)
$(Build.SourceVersion)
pipelineArtifact
$(Build.ArtifactStagingDirectory)/out/web/vscodeserverlinuxalpineweb.tar.gz
vscode_web_linux_alpine_archiveunsigned
Publish x64 web server archive
$(WEB_DIR_PATH)
$(Build.SourceVersion)
$ if ne(parameters.VSCODE_ARCH 'x64')
pipelineArtifact
$(Build.ArtifactStagingDirectory)/out/server/vscodeserveralpine$(VSCODE_ARCH).tar.gz
vscode_server_alpine_$(VSCODE_ARCH)_archiveunsigned
Publish server archive
$(SERVER_DIR_PATH)
$(Build.SourceVersion)
pipelineArtifact
$(Build.ArtifactStagingDirectory)/out/web/vscodeserveralpine$(VSCODE_ARCH)web.tar.gz
vscode_web_alpine_$(VSCODE_ARCH)_archiveunsigned
Publish web server archive
$(WEB_DIR_PATH)
$(Build.SourceVersion)
pipelineArtifact
$(Build.SourcesDirectory)/.build/agentsdk/tarballs
agent_sdk_alpine_$(VSCODE_ARCH)_tarballs
Publish agent SDK tarballs
and(succeededOrFailed() eq(variables 'true'))
../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 alpine $VSCODE_ARCH $(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
Docker@1
vscode
vscodehub.azurecr.io
uname
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true'))
Docker@1
vscode
vscodehub.azurecr.io
uname
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true') eq(variables 'arm64'))
sudo aptget update sudo aptget install y libkrb5dev
Install build dependencies
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true'))
Download NodeJS MUSL
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
$(NPM_ARCH)
vscodehub.azurecr.io/vscodelinuxbuildagentalpine$(VSCODE_ARCH)
$(NPMRC_PATH)
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
Mixin distro node modules
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true'))
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
../common/agentsdkproduce.yml@self
alpine
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
$(System.AccessToken)
Build server
$(System.AccessToken)
Build server (web)