Use v2 image tag to force fresh pull with boto3 baked in
This commit is contained in:
5
main.nf
5
main.nf
@@ -9,7 +9,7 @@ params.model_path = '/workspace/gvp/models/pocketminer'
|
|||||||
params.debug = false
|
params.debug = false
|
||||||
|
|
||||||
process POCKETMINER {
|
process POCKETMINER {
|
||||||
container 'harbor.cluster.omic.ai/omic/pocketminer:latest'
|
container 'harbor.cluster.omic.ai/omic/pocketminer:v2'
|
||||||
publishDir params.outdir, mode: 'copy'
|
publishDir params.outdir, mode: 'copy'
|
||||||
|
|
||||||
input:
|
input:
|
||||||
@@ -66,9 +66,6 @@ process POCKETMINER {
|
|||||||
echo "AWS_SECRET_ACCESS_KEY: \${AWS_SECRET_ACCESS_KEY:+set}" >> run.log
|
echo "AWS_SECRET_ACCESS_KEY: \${AWS_SECRET_ACCESS_KEY:+set}" >> run.log
|
||||||
echo "AWS_ENDPOINT_URL: \${AWS_ENDPOINT_URL:-not set}" >> run.log
|
echo "AWS_ENDPOINT_URL: \${AWS_ENDPOINT_URL:-not set}" >> run.log
|
||||||
|
|
||||||
# Install boto3 if needed, then download
|
|
||||||
pip install -q boto3 2>> run.log || conda install -y -q boto3 2>> run.log || true
|
|
||||||
|
|
||||||
python -c "
|
python -c "
|
||||||
import os, sys
|
import os, sys
|
||||||
s3_path = os.environ.get('S3_INPUT', '${pdb_path}')
|
s3_path = os.environ.get('S3_INPUT', '${pdb_path}')
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ profiles {
|
|||||||
k8s {
|
k8s {
|
||||||
process {
|
process {
|
||||||
executor = 'k8s'
|
executor = 'k8s'
|
||||||
container = 'harbor.cluster.omic.ai/omic/pocketminer:latest'
|
container = 'harbor.cluster.omic.ai/omic/pocketminer:v2'
|
||||||
}
|
}
|
||||||
docker {
|
docker {
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|||||||
Reference in New Issue
Block a user