Skip to content

Commit

Permalink
Azure DevOps to use private feeds for Python deps in PR builds (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarprudnikov committed Sep 5, 2024
1 parent df76d5a commit fd0a463
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .pipelines/ado_pipauth.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
steps:
- task: PipAuthenticate@1
displayName: 'Pip Authenticate to private feed'
inputs:
artifactFeeds: accl-cts-ccf-external-dependencies
2 changes: 2 additions & 0 deletions .pipelines/local_virtual_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ jobs:
condition: ${{ parameters.RunTests }}
displayName: Run Unit tests

- template: ado_pipauth.yml@self

- script: ./run_functional_tests.sh ${{ parameters.FunctionalTestArguments }}
condition: ${{ parameters.RunTests }}
displayName: Run Functional Tests
2 changes: 1 addition & 1 deletion .pipelines/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ extends:

- stage: test_virtual_vm_build
jobs:

- job: format
displayName: Code Formatting
pool:
Expand All @@ -84,6 +83,7 @@ extends:
path: s/
submodules: recursive
lfs: false
- template: .pipelines/ado_pipauth.yml@self
- script: $(Build.SourcesDirectory)/scripts/ci-checks.sh
displayName: "CI checks"

Expand Down
3 changes: 2 additions & 1 deletion .pipelines/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ steps:
sudo apt-get -qq clean
sudo rm -rf /var/lib/apt/lists/*
sudo rm -rf /tmp/*
displayName: Install python dependencies
displayName: Install python dependencies
- template: ado_pipauth.yml@self

0 comments on commit fd0a463

Please sign in to comment.