microsoft/vscode-react-native
Publicmirrored fromhttps://github.com/microsoft/vscode-react-nativeAvailable
.ci/master-pipeline.yml
84lines · modecode
| 1 | trigger: |
| 2 | - master |
| 3 | - preview |
| 4 | variables: |
| 5 | Codeql.Enabled: true |
| 6 | pr: |
| 7 | - none |
| 8 | resources: |
| 9 | repositories: |
| 10 | - repository: 1ESPipelineTemplates |
| 11 | type: git |
| 12 | name: 1ESPipelineTemplates/1ESPipelineTemplates |
| 13 | ref: refs/tags/release |
| 14 | extends: |
| 15 | template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates |
| 16 | parameters: |
| 17 | sdl: |
| 18 | enabled: false |
| 19 | pool: |
| 20 | name: VSWebDiag1ESPipelinePool |
| 21 | image: VSWebDiag_1ESImage_Windows |
| 22 | os: windows |
| 23 | customBuildTags: |
| 24 | - ES365AIMigrationTooling |
| 25 | stages: |
| 26 | - stage: stage |
| 27 | jobs: |
| 28 | - job: Linux |
| 29 | pool: |
| 30 | name: VSWebDiag1ESPipelinePool |
| 31 | image: VSWebDiag_1ESImage_Ubuntu |
| 32 | os: linux |
| 33 | timeoutInMinutes: 20 |
| 34 | templateContext: |
| 35 | outputs: |
| 36 | - output: pipelineArtifact |
| 37 | displayName: "Publish artifacts: drop-win" |
| 38 | targetPath: "$(Build.ArtifactStagingDirectory)" |
| 39 | artifactName: "drop-win" |
| 40 | steps: |
| 41 | - checkout: self |
| 42 | clean: true |
| 43 | - template: /.ci/common-validation.yml@self |
| 44 | - task: ComponentGovernanceComponentDetection@0 |
| 45 | displayName: "Component Detection" |
| 46 | inputs: |
| 47 | ignoreDirectories: ".vscode-test" |
| 48 | - task: notice@0 |
| 49 | displayName: "NOTICE File Generator" |
| 50 | inputs: |
| 51 | outputfile: "ThirdPartyNotices_Generated.txt" |
| 52 | additionaldata: release/AdditionalAttributions.txt |
| 53 | - bash: gulp release |
| 54 | displayName: "gulp release" |
| 55 | - bash: 'node -e "console.log(require(''./package.json'').version)" -> version.txt' |
| 56 | displayName: "Strip version from package.json and save to version.txt" |
| 57 | - task: CopyFiles@2 |
| 58 | displayName: "Copy Files to: $(Build.ArtifactStagingDirectory)" |
| 59 | inputs: |
| 60 | Contents: | |
| 61 | *.vsix |
| 62 | CHANGELOG.md |
| 63 | version.txt |
| 64 | TargetFolder: "$(Build.ArtifactStagingDirectory)" |
| 65 | - job: Windows |
| 66 | pool: |
| 67 | name: VSWebDiag1ESPipelinePool |
| 68 | image: VSWebDiag_1ESImage_Windows |
| 69 | os: windows |
| 70 | timeoutInMinutes: 20 |
| 71 | steps: |
| 72 | - checkout: self |
| 73 | clean: true |
| 74 | - template: /.ci/common-validation.yml@self |
| 75 | - job: macOS |
| 76 | pool: |
| 77 | name: Azure Pipelines |
| 78 | image: macos-latest |
| 79 | os: macOS |
| 80 | timeoutInMinutes: 20 |
| 81 | steps: |
| 82 | - checkout: self |
| 83 | clean: true |
| 84 | - template: /.ci/common-validation.yml@self |
| 85 | |