ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
parameters:
- name: NPM_ARCH
type: string
- name: VSCODE_ARCH
type: string
jobs:
- job: LinuxNodeModules_${{ parameters.VSCODE_ARCH }}
displayName: Linux (${{ upper(parameters.VSCODE_ARCH) }})
pool:
name: 1es-ubuntu-22.04-x64
os: linux
timeoutInMinutes: 60
variables:
NPM_ARCH: ${{ parameters.NPM_ARCH }}
VSCODE_ARCH: ${{ parameters.VSCODE_ARCH }}
../common/checkout.yml@self
NodeTool@0
fromFile
.nvmrc
../distro/downloaddistro.yml@self
AzureKeyVault@2
vscodeossbuildsecrets
vscodeossbuildsecrets
Setup system services
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 linux $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
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
build
Install build dependencies
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true'))
$(VSCODE_ARCH)
Download vscode sysroots
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true'))
source ./build/azurepipelines/linux/setupenv.sh
node build/npm/preinstall.ts
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)
$(VSCODE_ARCH)
skip
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
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true'))
Mixin distro node modules
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true'))
Create node_modules archive