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 errors in repo structure cache script and improve pipeline #7733

Merged
merged 5 commits into from
Feb 23, 2024
Merged
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions eng/pipelines/openapitools/repo-structure-cache-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ parameters:

- name: REPOS_URL_LIST
type: string
default: "https://github.com/test-repo-billy/azure-rest-api-specs/tree/main,https://github.com/test-repo-billy/azure-rest-api-specs-pr/tree/RPSaaSDev,https://github.com/test-repo-billy/azure-rest-api-specs-pr/tree/main,https://github.com/test-repo-billy/azure-rest-api-specs/tree/RPSaaSDev"
default: "https://github.com/azure/azure-rest-api-specs/tree/main,https://github.com/azure/azure-rest-api-specs-pr/tree/RPSaaSDev,https://github.com/azure/azure-rest-api-specs-pr/tree/main,https://github.com/azure/azure-rest-api-specs/tree/RPSaaSDev"

trigger:
- main
Expand All @@ -21,7 +21,7 @@ pool:
steps:

- script: |
pip install -r 'eng/scripts/OpenAPI Hub/requirements.txt'
pip install -r 'eng/scripts/openapitools/python/cacherepostructure/requirements.txt'
pip list
python 'eng/scripts/openapitools/python/cacherepostructure/sync-repo-structure-cache.py' --db_name ${{ parameters.DB_NAME }} --collection_name ${{ parameters.COLLECTION_NAME }} --repos_url_list ${{ parameters.REPOS_URL_LIST }} --repo_clone_path $(System.DefaultWorkingDirectory)
displayName: Run Script
Expand Down
Loading