Skip to content

Commit

Permalink
[CI] Setup dummy azure pipeline (sonic-net#198)
Browse files Browse the repository at this point in the history
Signed-off-by: Shilong Liu <shilongliu@microsoft.com>
  • Loading branch information
liushilongbuaa authored Mar 12, 2021
1 parent 183162f commit 9b83459
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

pool:
vmImage: sonicbld

trigger:
branches:
include:
- master

pr:
branches:
include:
- master

stages:
- stage: Build
jobs:
- job:
displayName: "build"
timeoutInMinutes: 60
steps:
- checkout: self
clean: true
submodules: recursive
displayName: 'Checkout code'
- script: |
echo Hello
# the following is copied from jenkins
# set -ex
# ./scripts/common/python-asyncsnmp-build/build.sh
# ./scripts/common/python-asyncsnmp-build/test.sh
- publish: $(System.DefaultWorkingDirectory)/target/python-wheels/
artifact: sonic-snmpagent
displayName: "Archive artifacts"

0 comments on commit 9b83459

Please sign in to comment.