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: LinuxAlpine_${{ parameters.VSCODE_ARCH }}
displayName: Linux Alpine (${{ upper(parameters.VSCODE_ARCH) }})
pool:
name: 1es-ubuntu-22.04-x64
os: linux
timeoutInMinutes: 60
variables:
NPM_ARCH: ${{ parameters.VSCODE_ARCH }}
VSCODE_ARCH: ${{ parameters.VSCODE_ARCH }}
steps:
- template: ../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
../common/applysdkcanary.yml@self
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
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true') ne(variables 'none'))
Setup NPM
npmAuthenticate@0
$(NPMRC_PATH)
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true') 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
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true'))
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