File: gen.yml

package info (click to toggle)
azure-cli 2.82.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,359,416 kB
  • sloc: python: 1,910,381; sh: 1,343; makefile: 406; cs: 145; javascript: 74; sql: 37; xml: 21
file content (36 lines) | stat: -rw-r--r-- 1,047 bytes parent folder | download | duplicates (3)
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
trigger:
  branches:
    exclude:
    - '*'

variables:
- template: ${{ variables.Pipeline.Workspace }}/.azure-pipelines/templates/variables.yml

jobs:
- job: Gen
  displayName: Gen
  pool:
    name: ${{ variables.ubuntu_pool }}
  steps:
    - task: UsePythonVersion@0
      inputs:
        versionSpec: '3.8'
        addToPath: true
        architecture: 'x64'
    - bash: |
        exit
        cd ..
        git clone -b dev https://github.com/Azure/azure-cli.git
        git clone -b master https://github.com/Azure/azure-cli-extensions.git
        pip install jinja2
        python /mnt/vss/_work/1/s/scripts/live_test/gen.py
        rm -rf azure-cli
        rm -rf azure-cli-extensions
        git clone -b CLITest https://qwordy:$(PASSWORD)@github.com/qwordy/azure-cli.git
        git config --global user.email "fey@microsoft.com"
        git config --global user.name "Feiyue Yu"
        cp CLITest.yml azure-cli/CLITest.yml
        cd azure-cli
        git add .
        git commit -m "Update CLITest.yml"
        git push origin CLITest