|
6 | 6 | branches:
|
7 | 7 | include:
|
8 | 8 | - '*'
|
| 9 | + exclude: |
| 10 | + - 'release' |
9 | 11 |
|
10 | 12 | pr:
|
11 | 13 | branches:
|
@@ -205,6 +207,11 @@ jobs:
|
205 | 207 | TargetPath: '$(Build.ArtifactStagingDirectory)/metadata'
|
206 | 208 | artifactName: metadata
|
207 | 209 |
|
| 210 | + - task: PipAuthenticate@1 |
| 211 | + condition: eq(variables['Build.SourceBranch'], 'refs/heads/release') |
| 212 | + displayName: 'Pip Authenticate' |
| 213 | + inputs: |
| 214 | + artifactFeeds: $(AZURE_ARTIFACTS_FEEDS) |
208 | 215 |
|
209 | 216 | - script: |
|
210 | 217 | set ARCH=$(Platform)
|
@@ -244,6 +251,11 @@ jobs:
|
244 | 251 | TargetPath: '$(Build.ArtifactStagingDirectory)/metadata'
|
245 | 252 | artifactName: metadata
|
246 | 253 |
|
| 254 | + - task: PipAuthenticate@1 |
| 255 | + condition: eq(variables['Build.SourceBranch'], 'refs/heads/release') |
| 256 | + displayName: 'Pip Authenticate' |
| 257 | + inputs: |
| 258 | + artifactFeeds: $(AZURE_ARTIFACTS_FEEDS) |
247 | 259 |
|
248 | 260 | - script: |
|
249 | 261 | set ARCH=$(Platform)
|
@@ -429,6 +441,11 @@ jobs:
|
429 | 441 | inputs:
|
430 | 442 | versionSpec: 3.11
|
431 | 443 |
|
| 444 | + - task: PipAuthenticate@1 |
| 445 | + condition: eq(variables['Build.SourceBranch'], 'refs/heads/release') |
| 446 | + displayName: 'Pip Authenticate' |
| 447 | + inputs: |
| 448 | + artifactFeeds: $(AZURE_ARTIFACTS_FEEDS) |
432 | 449 |
|
433 | 450 | - script: |
|
434 | 451 | if [[ "$(Build.Reason)" == "PullRequest" ]]; then
|
@@ -719,6 +736,12 @@ jobs:
|
719 | 736 | - bash: ./scripts/ci/install_docker.sh
|
720 | 737 | displayName: Install Docker
|
721 | 738 |
|
| 739 | + - task: PipAuthenticate@1 |
| 740 | + condition: eq(variables['Build.SourceBranch'], 'refs/heads/release') |
| 741 | + displayName: 'Pip Authenticate' |
| 742 | + inputs: |
| 743 | + artifactFeeds: $(AZURE_ARTIFACTS_FEEDS) |
| 744 | + |
722 | 745 | - task: Bash@3
|
723 | 746 | displayName: 'Build Rpm Package: Azure Linux'
|
724 | 747 | inputs:
|
@@ -809,6 +832,11 @@ jobs:
|
809 | 832 | steps:
|
810 | 833 | - bash: ./scripts/ci/install_docker.sh
|
811 | 834 | displayName: Install Docker
|
| 835 | + - task: PipAuthenticate@1 |
| 836 | + condition: eq(variables['Build.SourceBranch'], 'refs/heads/release') |
| 837 | + displayName: 'Pip Authenticate' |
| 838 | + inputs: |
| 839 | + artifactFeeds: $(AZURE_ARTIFACTS_FEEDS) |
812 | 840 | - task: Bash@3
|
813 | 841 | displayName: 'Build Rpm Package'
|
814 | 842 | inputs:
|
@@ -926,6 +954,11 @@ jobs:
|
926 | 954 | steps:
|
927 | 955 | - bash: ./scripts/ci/install_docker.sh
|
928 | 956 | displayName: Install Docker
|
| 957 | + - task: PipAuthenticate@1 |
| 958 | + condition: eq(variables['Build.SourceBranch'], 'refs/heads/release') |
| 959 | + displayName: 'Pip Authenticate' |
| 960 | + inputs: |
| 961 | + artifactFeeds: $(AZURE_ARTIFACTS_FEEDS) |
929 | 962 | - task: Bash@3
|
930 | 963 | displayName: 'Build $(deb_system) $(distro) $(arch) Package'
|
931 | 964 | inputs:
|
|
0 commit comments