Skip to content

Commit

Permalink
Merged PR 26617: Update regression-tests & fix CI pipelines
Browse files Browse the repository at this point in the history
Update regression-tests & fix CI pipelines
  • Loading branch information
Roman Grundkiewicz committed Nov 20, 2022
1 parent be1ee3f commit c79dc80
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
10 changes: 5 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pool:
name: Azure Pipelines

variables:
- group: marian-prod-tests
- group: marian-regression-tests
- name: BOOST_ROOT_WINDOWS
value: "C:/hostedtoolcache/windows/Boost/1.72.0/x86_64"
- name: BOOST_URL
Expand Down Expand Up @@ -550,14 +550,14 @@ stages:
displayName: Machine statistics
workingDirectory: marian-prod-tests

# The current SAS token will expire on 8/30/2023 and a new one will need to be set in Marian > Pipelines > Library
# The current SAS token will expire on 12/31/2023 and a new one will need to be set in Marian > Pipelines > Library
- bash: |
cd models
bash download-models.sh
ls
displayName: Prepare tests
env:
AZURE_STORAGE_SAS_TOKEN: $(blob-sas-token)
AZURE_STORAGE_SAS_TOKEN: $(marian-prod-tests-blob-sas-token)
workingDirectory: marian-prod-tests
# Avoid using $(Build.SourcesDirectory) in bash tasks because on Windows pools it uses '\'
Expand Down Expand Up @@ -652,14 +652,14 @@ stages:
displayName: Machine statistics
workingDirectory: marian-prod-tests
# The current SAS token will expire on 8/30/2023 and a new one will need to be set in Marian > Pipelines > Library
# The current SAS token will expire on 12/31/2023 and a new one will need to be set in Marian > Pipelines > Library
- bash: |
cd models
bash download-models.sh
ls
displayName: Prepare tests
env:
AZURE_STORAGE_SAS_TOKEN: $(blob-sas-token)
AZURE_STORAGE_SAS_TOKEN: $(marian-prod-tests-blob-sas-token)
workingDirectory: marian-prod-tests
- bash: MARIAN=../marian-dev/build bash ./run_mrt.sh '#cpu' '#basics' '#devops'
Expand Down
6 changes: 5 additions & 1 deletion azure-regression-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ trigger: none
# Hosted Azure DevOps Pool determining OS, CUDA version and available GPUs
pool: mariandevops-pool-m60-eus

variables:
- group: marian-regression-tests

stages:
- stage: TestsGPU
jobs:
Expand Down Expand Up @@ -104,13 +107,14 @@ stages:
workingDirectory: build

# Always run regression tests from the master branch
# The current SAS token will expire on 12/31/2023 and a new one will need to be set in Marian > Pipelines > Library
- bash: |
git checkout master
git pull origin master
make install
displayName: Prepare regression tests
env:
AZURE_STORAGE_SAS_TOKEN: $(blob-sas-token)
AZURE_STORAGE_SAS_TOKEN: $(marian-pub-tests-blob-sas-token)
workingDirectory: regression-tests
# Continue on error to be able to collect outputs and publish them as an artifact
Expand Down
2 changes: 1 addition & 1 deletion regression-tests

0 comments on commit c79dc80

Please sign in to comment.