Skip to content

Commit

Permalink
Use Azure container reg for Azur batch test
Browse files Browse the repository at this point in the history
  • Loading branch information
pditommaso committed Jan 8, 2022
1 parent ceceb07 commit 7882406
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
AZURE_STORAGE_ACCOUNT_KEY: ${{ secrets.AZURE_STORAGE_ACCOUNT_KEY }}
AZURE_BATCH_ACCOUNT_NAME: nfbatchtest
AZURE_BATCH_ACCOUNT_KEY: ${{ secrets.AZURE_BATCH_ACCOUNT_KEY }}
AZURE_BATCH_REGISTRY_PWD: $${{ secrets.AZURE_BATCH_REGISTRY_PWD }}

- name: Tar integration tests
if: failure()
Expand Down
1 change: 1 addition & 0 deletions tests/checks/.IGNORE-JAVA-11
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignite.nf
8 changes: 7 additions & 1 deletion validation/azure.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

process {
executor = 'azurebatch'
container = 'quay.io/nextflow/rnaseq-nf:v1.1'
container = 'seqeralabs.azurecr.io/nextflow/rnaseq-nf:v1.1'
queue = 'nextflow-ci'
}

Expand All @@ -28,6 +28,12 @@ azure {
vmType = 'Standard_D4_v3'
}
}

registry {
server = 'seqeralabs.azurecr.io'
userName = 'seqeralabs'
password = "$AZURE_BATCH_REGISTRY_PWD"
}
}
}

3 changes: 3 additions & 0 deletions validation/azure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ export NXF_CMD=${NXF_CMD:-$(get_abs_filename ../launch.sh)}

[[ $TOWER_ACCESS_TOKEN ]] && OPTS='-with-tower' || OPTS=''
set -x

if [[ ${TEST_JDK} == 11 ]]; then
$NXF_CMD -C ./azure.config \
run nextflow-io/rnaseq-nf \
-with-report \
-with-trace $OPTS
fi

$NXF_CMD -C ./azure.config \
run ./test-readspair.nf \
Expand Down

0 comments on commit 7882406

Please sign in to comment.