Welcome to mirror list, hosted at ThFree Co, Russian Federation.

exploration-build.yml « azure-pipelines « build - github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a80650bb92dcd355dbc8bfec9228f763d08014cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
pool:
  vmImage: "Ubuntu-16.04"

trigger: none
pr: none

steps:
  - task: NodeTool@0
    inputs:
      versionSpec: "16.x"

  - task: AzureKeyVault@1
    displayName: "Azure Key Vault: Get Secrets"
    inputs:
      azureSubscription: "vscode-builds-subscription"
      KeyVaultName: vscode
      SecretsFilter: "github-distro-mixin-password"

  - script: |
      set -e

      cat << EOF > ~/.netrc
      machine github.com
      login vscode
      password $(github-distro-mixin-password)
      EOF

      git config user.email "vscode@microsoft.com"
      git config user.name "VSCode"

      git checkout origin/electron-12.x.y
      git merge origin/main

      # Push main branch into exploration branch
      git push origin HEAD:electron-12.x.y

    displayName: Sync & Merge Exploration