Path: blob/main/build/azure-pipelines/product-sanity-tests.yml
5362 views
pr: none12trigger: none34parameters:5- name: buildQuality6displayName: Published Build Quality7type: string8default: insider9values:10- exploration11- insider12- stable1314- name: buildCommit15displayName: Published Build Commit16type: string17default: ''1819- name: npmRegistry20displayName: Custom NPM Registry URL21type: string22default: https://pkgs.dev.azure.com/monacotools/Monaco/_packaging/vscode/npm/registry/2324variables:25- name: skipComponentGovernanceDetection26value: true27- name: Codeql.SkipTaskAutoInjection28value: true29- name: BUILD_COMMIT30${{ if ne(parameters.buildCommit, '') }}:31value: ${{ parameters.buildCommit }}32${{ else }}:33value: $(resources.pipeline.vscode.sourceCommit)34- name: BUILD_QUALITY35${{ if ne(parameters.buildCommit, '') }}:36value: ${{ parameters.buildQuality }}37${{ elseif startsWith(variables['Build.SourceBranch'], 'refs/heads/release/') }}:38value: stable39${{ else }}:40value: insider41- name: NPM_REGISTRY42value: ${{ parameters.npmRegistry }}4344name: "$(Date:yyyyMMdd).$(Rev:r) (${{ parameters.buildQuality }} ${{ parameters.buildCommit }})"4546resources:47repositories:48- repository: 1esPipelines49type: git50name: 1ESPipelineTemplates/1ESPipelineTemplates51ref: refs/tags/release52pipelines:53- pipeline: vscode54# allow-any-unicode-next-line55source: '⭐️ VS Code'56trigger:57stages:58- Publish59branches:60include:61- main62- release/*6364extends:65template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines66parameters:67sdl:68tsa:69enabled: false70codeql:71compiled:72enabled: false73justificationForDisabling: Sanity tests only, no code compilation74credscan:75suppressionsFile: $(Build.SourcesDirectory)/build/azure-pipelines/config/CredScanSuppressions.json76eslint:77enabled: false78sourceAnalysisPool: 1es-windows-2022-x6479createAdoIssuesForJustificationsForDisablement: false80stages:81- stage: sanity_tests82displayName: Sanity Tests83jobs:84# macOS85- template: build/azure-pipelines/common/sanity-tests.yml@self86parameters:87name: macos_x6488displayName: MacOS x64 (no runtime)89poolName: AcesShared90os: macOS91args: --no-detection --grep "darwin-x64"9293- template: build/azure-pipelines/common/sanity-tests.yml@self94parameters:95name: macos_arm6496displayName: MacOS arm6497poolName: AcesShared98os: macOS99100# Windows101- template: build/azure-pipelines/common/sanity-tests.yml@self102parameters:103name: windows_x64104displayName: Windows x64105poolName: 1es-windows-2022-x64106os: windows107108- template: build/azure-pipelines/common/sanity-tests.yml@self109parameters:110name: windows_arm64111displayName: Windows arm64112poolName: 1es-windows-2022-arm64113os: windows114115# Alpine 3.22116- template: build/azure-pipelines/common/sanity-tests.yml@self117parameters:118name: alpine_amd64119displayName: Alpine 3.22 amd64120poolName: 1es-ubuntu-22.04-x64121container: alpine122arch: amd64123124- template: build/azure-pipelines/common/sanity-tests.yml@self125parameters:126name: alpine_arm64127displayName: Alpine 3.22 arm64128poolName: 1es-azure-linux-3-arm64129container: alpine130arch: arm64131132# CentOS Stream 9133- template: build/azure-pipelines/common/sanity-tests.yml@self134parameters:135name: centos_stream9_amd64136displayName: CentOS Stream 9 amd64137poolName: 1es-ubuntu-22.04-x64138container: centos139arch: amd64140141- template: build/azure-pipelines/common/sanity-tests.yml@self142parameters:143name: centos_stream9_arm64144displayName: CentOS Stream 9 arm64145poolName: 1es-azure-linux-3-arm64146container: centos147arch: arm64148149# Debian 10150- template: build/azure-pipelines/common/sanity-tests.yml@self151parameters:152name: debian_10_amd64153displayName: Debian 10 amd64154poolName: 1es-ubuntu-22.04-x64155container: debian-10156arch: amd64157158- template: build/azure-pipelines/common/sanity-tests.yml@self159parameters:160name: debian_10_arm32161displayName: Debian 10 arm32162poolName: 1es-azure-linux-3-arm64163container: debian-10164arch: arm165166- template: build/azure-pipelines/common/sanity-tests.yml@self167parameters:168name: debian_10_arm64169displayName: Debian 10 arm64170poolName: 1es-azure-linux-3-arm64171container: debian-10172arch: arm64173174# Debian 12175- template: build/azure-pipelines/common/sanity-tests.yml@self176parameters:177name: debian_12_amd64178displayName: Debian 12 amd64179poolName: 1es-ubuntu-22.04-x64180container: debian-12181arch: amd64182183- template: build/azure-pipelines/common/sanity-tests.yml@self184parameters:185name: debian_12_arm32186displayName: Debian 12 arm32187poolName: 1es-azure-linux-3-arm64188container: debian-12189arch: arm190191- template: build/azure-pipelines/common/sanity-tests.yml@self192parameters:193name: debian_12_arm64194displayName: Debian 12 arm64195poolName: 1es-azure-linux-3-arm64196container: debian-12197arch: arm64198199# Fedora 36200- template: build/azure-pipelines/common/sanity-tests.yml@self201parameters:202name: fedora_36_amd64203displayName: Fedora 36 amd64204poolName: 1es-ubuntu-22.04-x64205container: fedora206baseImage: fedora:36207arch: amd64208209- template: build/azure-pipelines/common/sanity-tests.yml@self210parameters:211name: fedora_36_arm64212displayName: Fedora 36 arm64213poolName: 1es-azure-linux-3-arm64214container: fedora215baseImage: fedora:36216arch: arm64217218# Fedora 40219- template: build/azure-pipelines/common/sanity-tests.yml@self220parameters:221name: fedora_40_amd64222displayName: Fedora 40 amd64223poolName: 1es-ubuntu-22.04-x64224container: fedora225baseImage: fedora:40226arch: amd64227228- template: build/azure-pipelines/common/sanity-tests.yml@self229parameters:230name: fedora_40_arm64231displayName: Fedora 40 arm64232poolName: 1es-azure-linux-3-arm64233container: fedora234baseImage: fedora:40235arch: arm64236237# openSUSE Leap 16.0238- template: build/azure-pipelines/common/sanity-tests.yml@self239parameters:240name: opensuse_leap_amd64241displayName: openSUSE Leap 16.0 amd64242poolName: 1es-ubuntu-22.04-x64243container: opensuse244arch: amd64245246- template: build/azure-pipelines/common/sanity-tests.yml@self247parameters:248name: opensuse_leap_arm64249displayName: openSUSE Leap 16.0 arm64250poolName: 1es-azure-linux-3-arm64251container: opensuse252arch: arm64253254# Red Hat UBI 9255- template: build/azure-pipelines/common/sanity-tests.yml@self256parameters:257name: redhat_ubi9_amd64258displayName: Red Hat UBI 9 amd64259poolName: 1es-ubuntu-22.04-x64260container: redhat261arch: amd64262263- template: build/azure-pipelines/common/sanity-tests.yml@self264parameters:265name: redhat_ubi9_arm64266displayName: Red Hat UBI 9 arm64267poolName: 1es-azure-linux-3-arm64268container: redhat269arch: arm64270271# Ubuntu 22.04 Native (Snap coverage)272- template: build/azure-pipelines/common/sanity-tests.yml@self273parameters:274name: ubuntu_native_x64275displayName: Ubuntu 22.04 x64 Native276poolName: 1es-ubuntu-22.04-x64277os: linux278279# Ubuntu 22.04280- template: build/azure-pipelines/common/sanity-tests.yml@self281parameters:282name: ubuntu_22_04_amd64283displayName: Ubuntu 22.04 amd64284poolName: 1es-ubuntu-22.04-x64285container: ubuntu286baseImage: ubuntu:22.04287arch: amd64288289- template: build/azure-pipelines/common/sanity-tests.yml@self290parameters:291name: ubuntu_22_04_arm32292displayName: Ubuntu 22.04 arm32293poolName: 1es-azure-linux-3-arm64294container: ubuntu295baseImage: ubuntu:22.04296arch: arm297298- template: build/azure-pipelines/common/sanity-tests.yml@self299parameters:300name: ubuntu_22_04_arm64301displayName: Ubuntu 22.04 arm64302poolName: 1es-azure-linux-3-arm64303container: ubuntu304baseImage: ubuntu:22.04305arch: arm64306307# Ubuntu 24.04308- template: build/azure-pipelines/common/sanity-tests.yml@self309parameters:310name: ubuntu_24_04_amd64311displayName: Ubuntu 24.04 amd64312poolName: 1es-ubuntu-22.04-x64313container: ubuntu314baseImage: ubuntu:24.04315arch: amd64316317- template: build/azure-pipelines/common/sanity-tests.yml@self318parameters:319name: ubuntu_24_04_arm32320displayName: Ubuntu 24.04 arm32321poolName: 1es-azure-linux-3-arm64322container: ubuntu323baseImage: ubuntu:24.04324arch: arm325326- template: build/azure-pipelines/common/sanity-tests.yml@self327parameters:328name: ubuntu_24_04_arm64329displayName: Ubuntu 24.04 arm64330poolName: 1es-azure-linux-3-arm64331container: ubuntu332baseImage: ubuntu:24.04333arch: arm64334335- template: build/azure-pipelines/common/sanity-tests.yml@self336parameters:337name: ubuntu_24_04_arm64_64k338displayName: Ubuntu 24.04 arm64 (64K page)339poolName: 1es-ubuntu-22.04-x64340container: ubuntu341baseImage: ubuntu:24.04342arch: arm64343pageSize: 64k344args: --grep "desktop-linux-arm64"345346347