Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #137

Closed
wants to merge 2 commits into from
Closed

fix #137

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,37 @@ stages:
buildOptions: 'USERNAME=admin SONIC_BUILD_JOBS=$(nproc) ${{ variables.VERSION_CONTROL_OPTIONS }}'
jobGroups:
- name: vs
- job:
condition: eq(variables['Build.Reason'], 'PullRequest')
steps:
- checkout: none
- task: TriggerBuild@4
inputs:
definitionIsInCurrentTeamProject: false
tfsServer: 'https://dev.azure.com/msazure/'
teamProject: 'b32aa71e-8ed2-41b2-9d77-5bc261222004'
buildDefinition: '329541'
queueBuildForUserThatTriggeredBuild: false
ignoreSslCertificateErrors: true
useSameSourceVersion: false
useCustomSourceVersion: false
useSameBranch: false
branchToUse: 'test'
waitForQueuedBuildsToFinish: true
waitForQueuedBuildsToFinishRefreshTime: '60'
failTaskIfBuildsNotSuccessful: true
cancelBuildsIfAnyFails: false
treatPartiallySucceededBuildAsSuccessful: false
downloadBuildArtifacts: false
storeInEnvironmentVariable: false
templateParameters: 'prid: $(System.PullRequest.PullRequestNumber)'
authenticationMethod: 'Personal Access Token'
password: '$(PAT)'
enableBuildInQueueCondition: false
dependentOnSuccessfulBuildCondition: false
dependentOnFailedBuildCondition: false
checkbuildsoncurrentbranch: false
failTaskIfConditionsAreNotFulfilled: false

- stage: Build
pool: sonicbld
Expand Down
1 change: 1 addition & 0 deletions files/image_config/constants/constants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ constants:
deployment_id_asn_map:
"1" : 65432
"2" : 65433
"3" : "HH"
bgp:
traffic_shift_community: 12345:12345
families:
Expand Down