@@ -494,6 +494,26 @@ class ContainerHelperTest extends Specification {
494
494
- pandas==2.2.2
495
495
- numpy=1.0
496
496
''' . stripIndent(true )
497
+ @Shared def GIT1 = ''' \
498
+ channels:
499
+ - bioconda
500
+ - conda-forge
501
+ dependencies:
502
+ - pip
503
+ - pip:
504
+ - "https://github.com/seqeralabs/seqera-kit/archive/dev.zip"
505
+ ''' . stripIndent(true )
506
+ @Shared def GIT2 = ''' \
507
+ channels:
508
+ - bioconda
509
+ - conda-forge
510
+ dependencies:
511
+ - pip
512
+ - pip:
513
+ - "https://github.com/seqeralabs/seqera-kit/archive/dev.zip"
514
+ - "https://github.com/seqeralabs/seqera-kit/archive/dev2.zip"
515
+ - "https://github.com/seqeralabs/seqera-kit/archive/dev3.zip"
516
+ ''' . stripIndent(true )
497
517
498
518
@Unroll
499
519
def ' should make request target with name strategy' () {
@@ -546,6 +566,16 @@ class ContainerHelperTest extends Specification {
546
566
' DOCKER' | ' foo.com/build' | ' 123' | PIP2 | ' tagPrefix' | ' foo.com/build:pip_pandas-2.2.2_numpy-1.0--123'
547
567
' DOCKER' | ' foo.com/build' | ' 123' | PIP2 | ' imageSuffix' | ' foo.com/build/pip_pandas_numpy:123'
548
568
' DOCKER' | ' foo.com/build' | ' 123' | PIP2 | ' none' | ' foo.com/build:123'
569
+ and :
570
+ ' DOCKER' | ' foo.com/build' | ' 123' | GIT1 | null | ' foo.com/build:pip_seqeralabs_seqera-kit_archive_dev_zip--123'
571
+ ' DOCKER' | ' foo.com/build' | ' 123' | GIT1 | ' tagPrefix' | ' foo.com/build:pip_seqeralabs_seqera-kit_archive_dev_zip--123'
572
+ ' DOCKER' | ' foo.com/build' | ' 123' | GIT1 | ' imageSuffix' | ' foo.com/build/pip_seqeralabs_seqera-kit_archive_dev_zip:123'
573
+ ' DOCKER' | ' foo.com/build' | ' 123' | GIT1 | ' none' | ' foo.com/build:123'
574
+ and :
575
+ ' DOCKER' | ' foo.com/build' | ' 123' | GIT2 | null | ' foo.com/build:pip_seqeralabs_seqera-kit_archive_dev_zip_seqeralabs_seqera-kit_archive_dev2_zip--123'
576
+ ' DOCKER' | ' foo.com/build' | ' 123' | GIT2 | ' tagPrefix' | ' foo.com/build:pip_seqeralabs_seqera-kit_archive_dev_zip_seqeralabs_seqera-kit_archive_dev2_zip--123'
577
+ ' DOCKER' | ' foo.com/build' | ' 123' | GIT2 | ' imageSuffix' | ' foo.com/build/pip_seqeralabs_seqera-kit_archive_dev_zip_seqeralabs_seqera-kit_archive_dev2_zip_seqeralabs_seqera-kit_archive_dev3_zip:123'
578
+ ' DOCKER' | ' foo.com/build' | ' 123' | GIT2 | ' none' | ' foo.com/build:123'
549
579
550
580
}
551
581
0 commit comments