@@ -6,12 +6,16 @@ BUILD=0
6
6
SKIPLOCAL=0
7
7
NFAZURE=0
8
8
NFSUN=0
9
+ NFSLEEP=0
10
+ NFDEMO=0
9
11
10
12
[[ " $@ " =~ ' --build' ]] && BUILD=1
11
13
[[ -f $HOME /.nextflow/plugins/nf-nomad-latest/ ]] && BUILD=1
12
14
[[ " $@ " =~ ' --skiplocal' ]] && SKIPLOCAL=1
13
15
[[ " $@ " =~ ' --nfazure' ]] && NFAZURE=1
14
16
[[ " $@ " =~ ' --nfsun' ]] && NFSUN=1
17
+ [[ " $@ " =~ ' --sleep' ]] && NFSLEEP=1
18
+ [[ " $@ " =~ ' --demo' ]] && NFDEMO=1
15
19
16
20
if [ " $BUILD " == 1 ]; then
17
21
pushd ..
66
70
# NOTE2: You need to have 2 secrets stored in your Nextlow: SUN_NOMADLAB_ACCESS_KEY and SUN_NOMADLAB_SECRET_KEY
67
71
if [ " $NFSUN " == 1 ]; then
68
72
69
- nextflow run -w s3://juicefs/integration-test -c sun-nomadlab/nextflow.config hello
73
+ if [ " $NFSLEEP " == 1 ]; then
74
+ nextflow run -w s3://fusionfs/integration-test/work -c sun-nomadlab/nextflow.config abhi18av/nf-sleep --timeout 360
70
75
71
- nextflow run bactopia/bactopia \
72
- -w s3://juicefs/integration-test -c sun-nomadlab/nextflow.config \
73
- -profile test,docker --outdir s3://juicefs/bactopia/outdir \
74
- --accession SRX4563634 --coverage 100 --genome_size 2800000 \
75
- --datasets_cache s3://juicefs/bactopia/assets
76
+ elif [ " $NFDEMO " == 1 ]; then
77
+ nextflow run nf-core/demo \
78
+ -w s3://fusionfs/integration-test/work -c sun-nomadlab/nextflow.config \
79
+ -profile test,docker --outdir s3://fusionfs/integration-test/nf-core-demo/outdir
80
+ else
81
+ nextflow run -w s3://fusionfs/integration-test/work -c sun-nomadlab/nextflow.config hello
76
82
83
+ nextflow run bactopia/bactopia \
84
+ -w s3://fusionfs/integration-test/work -c sun-nomadlab/nextflow.config \
85
+ -profile test,docker --outdir s3://fusionfs/integration-test/bactopia/outdir \
86
+ --accession SRX4563634 --coverage 100 --genome_size 2800000 \
87
+ --datasets_cache s3://fusionfs/integration-test/bactopia/assets
88
+ fi
77
89
78
90
else
79
91
echo " skip nfsun"
80
- fi
92
+ fi
0 commit comments