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

[CI/CD] Proxy checks is not working on non-contributors PR in agent github repo #4561

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
63 changes: 63 additions & 0 deletions .vsts.ci-proxy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
parameters:
- name: testProxyAgent
type: boolean
displayName: Test Proxy Agent
default: true

# Targets
- name: win_x64
type: boolean
displayName: Windows (x64)
default: false
- name: win_x86
type: boolean
displayName: Windows (x86)
default: false
- name: linux_x64
type: boolean
displayName: Linux (x64)
default: false
- name: linux_arm
type: boolean
displayName: Linux (ARM)
default: false
- name: linux_arm64
type: boolean
displayName: Linux (ARM64)
default: false
- name: alpine_x64
type: boolean
displayName: Alpine (x64)
default: false
- name: macOS_x64
type: boolean
displayName: macOS (x64)
default: false
- name: macOS_arm64
type: boolean
displayName: macOS (ARM64)
default: false

pr:
branches:
include:
- '*'
paths:
exclude:
- 'docs/*'

extends:
template: .azure-pipelines/pipeline.yml
parameters:
componentDetection: ${{ eq(variables['Build.Reason'], 'PullRequest') }}
publishArtifacts: ${{ ne(variables['Build.Reason'], 'PullRequest') }}
buildAlternatePackage: false
testProxyAgent: ${{ parameters.testProxyAgent }}
win_x64: ${{ parameters.win_x64 }}
win_x86: ${{ parameters.win_x86 }}
linux_x64: ${{ parameters.linux_x64 }}
linux_arm: ${{ parameters.linux_arm }}
linux_arm64: ${{ parameters.linux_arm64 }}
alpine_x64: ${{ parameters.alpine_x64 }}
macOS_x64: ${{ parameters.macOS_x64 }}
macOS_arm64: ${{ parameters.macOS_arm64 }}
2 changes: 1 addition & 1 deletion .vsts.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ parameters:
- name: testProxyAgent
type: boolean
displayName: Test Proxy Agent
default: true
default: false

# Targets
- name: win_x64
Expand Down
Loading