@@ -300,10 +300,11 @@ spec:
300
300
"PARAMS" : "bar" ,
301
301
},
302
302
wantVarWarning : variables.VariableWarning {
303
- Commands : map [string ][]string {},
304
- Components : map [string ][]string {},
305
- Projects : map [string ][]string {},
306
- StarterProjects : map [string ][]string {},
303
+ Commands : map [string ][]string {},
304
+ Components : map [string ][]string {},
305
+ Projects : map [string ][]string {},
306
+ StarterProjects : map [string ][]string {},
307
+ DependentProjects : map [string ][]string {},
307
308
},
308
309
wantErrorStr : nil ,
309
310
},
@@ -325,10 +326,11 @@ spec:
325
326
"OTHER" : "other" ,
326
327
},
327
328
wantVarWarning : variables.VariableWarning {
328
- Commands : map [string ][]string {},
329
- Components : map [string ][]string {},
330
- Projects : map [string ][]string {},
331
- StarterProjects : map [string ][]string {},
329
+ Commands : map [string ][]string {},
330
+ Components : map [string ][]string {},
331
+ Projects : map [string ][]string {},
332
+ StarterProjects : map [string ][]string {},
333
+ DependentProjects : map [string ][]string {},
332
334
},
333
335
wantErrorStr : nil ,
334
336
}, {
@@ -348,10 +350,11 @@ spec:
348
350
"PARAMS" : "baz" ,
349
351
},
350
352
wantVarWarning : variables.VariableWarning {
351
- Commands : map [string ][]string {},
352
- Components : map [string ][]string {},
353
- Projects : map [string ][]string {},
354
- StarterProjects : map [string ][]string {},
353
+ Commands : map [string ][]string {},
354
+ Components : map [string ][]string {},
355
+ Projects : map [string ][]string {},
356
+ StarterProjects : map [string ][]string {},
357
+ DependentProjects : map [string ][]string {},
355
358
},
356
359
wantErrorStr : nil ,
357
360
}, {
@@ -370,10 +373,11 @@ spec:
370
373
"PARAMS" : "baz" ,
371
374
},
372
375
wantVarWarning : variables.VariableWarning {
373
- Commands : map [string ][]string {},
374
- Components : map [string ][]string {},
375
- Projects : map [string ][]string {},
376
- StarterProjects : map [string ][]string {},
376
+ Commands : map [string ][]string {},
377
+ Components : map [string ][]string {},
378
+ Projects : map [string ][]string {},
379
+ StarterProjects : map [string ][]string {},
380
+ DependentProjects : map [string ][]string {},
377
381
},
378
382
wantErrorStr : nil ,
379
383
},
@@ -393,10 +397,11 @@ spec:
393
397
"PARAMS" : "baz" ,
394
398
},
395
399
wantVarWarning : variables.VariableWarning {
396
- Commands : map [string ][]string {},
397
- Components : map [string ][]string {},
398
- Projects : map [string ][]string {},
399
- StarterProjects : map [string ][]string {},
400
+ Commands : map [string ][]string {},
401
+ Components : map [string ][]string {},
402
+ Projects : map [string ][]string {},
403
+ StarterProjects : map [string ][]string {},
404
+ DependentProjects : map [string ][]string {},
400
405
},
401
406
wantErrorStr : nil ,
402
407
},
@@ -416,10 +421,11 @@ spec:
416
421
"PARAMS" : "baz" ,
417
422
},
418
423
wantVarWarning : variables.VariableWarning {
419
- Commands : map [string ][]string {},
420
- Components : map [string ][]string {},
421
- Projects : map [string ][]string {},
422
- StarterProjects : map [string ][]string {},
424
+ Commands : map [string ][]string {},
425
+ Components : map [string ][]string {},
426
+ Projects : map [string ][]string {},
427
+ StarterProjects : map [string ][]string {},
428
+ DependentProjects : map [string ][]string {},
423
429
},
424
430
wantErrorStr : nil ,
425
431
},
@@ -438,10 +444,11 @@ spec:
438
444
"PARAMS" : "baz" ,
439
445
},
440
446
wantVarWarning : variables.VariableWarning {
441
- Commands : map [string ][]string {},
442
- Components : map [string ][]string {},
443
- Projects : map [string ][]string {},
444
- StarterProjects : map [string ][]string {},
447
+ Commands : map [string ][]string {},
448
+ Components : map [string ][]string {},
449
+ Projects : map [string ][]string {},
450
+ StarterProjects : map [string ][]string {},
451
+ DependentProjects : map [string ][]string {},
445
452
},
446
453
wantErrorStr : nil ,
447
454
},
@@ -460,10 +467,11 @@ spec:
460
467
"PARAMS" : "baz" ,
461
468
},
462
469
wantVarWarning : variables.VariableWarning {
463
- Commands : map [string ][]string {},
464
- Components : map [string ][]string {},
465
- Projects : map [string ][]string {},
466
- StarterProjects : map [string ][]string {},
470
+ Commands : map [string ][]string {},
471
+ Components : map [string ][]string {},
472
+ Projects : map [string ][]string {},
473
+ StarterProjects : map [string ][]string {},
474
+ DependentProjects : map [string ][]string {},
467
475
},
468
476
wantErrorStr : nil ,
469
477
},
@@ -482,10 +490,11 @@ spec:
482
490
"PARAMS" : "baz" ,
483
491
},
484
492
wantVarWarning : variables.VariableWarning {
485
- Commands : map [string ][]string {},
486
- Components : map [string ][]string {},
487
- Projects : map [string ][]string {},
488
- StarterProjects : map [string ][]string {},
493
+ Commands : map [string ][]string {},
494
+ Components : map [string ][]string {},
495
+ Projects : map [string ][]string {},
496
+ StarterProjects : map [string ][]string {},
497
+ DependentProjects : map [string ][]string {},
489
498
},
490
499
wantErrorStr : nil ,
491
500
},
@@ -507,10 +516,11 @@ spec:
507
516
"PARAMS" : "baz" ,
508
517
},
509
518
wantVarWarning : variables.VariableWarning {
510
- Commands : map [string ][]string {},
511
- Components : map [string ][]string {},
512
- Projects : map [string ][]string {},
513
- StarterProjects : map [string ][]string {},
519
+ Commands : map [string ][]string {},
520
+ Components : map [string ][]string {},
521
+ Projects : map [string ][]string {},
522
+ StarterProjects : map [string ][]string {},
523
+ DependentProjects : map [string ][]string {},
514
524
},
515
525
wantErrorStr : nil ,
516
526
},
@@ -540,10 +550,11 @@ spec:
540
550
"PARAMS" : "baz" ,
541
551
},
542
552
wantVarWarning : variables.VariableWarning {
543
- Commands : map [string ][]string {},
544
- Components : map [string ][]string {},
545
- Projects : map [string ][]string {},
546
- StarterProjects : map [string ][]string {},
553
+ Commands : map [string ][]string {},
554
+ Components : map [string ][]string {},
555
+ Projects : map [string ][]string {},
556
+ StarterProjects : map [string ][]string {},
557
+ DependentProjects : map [string ][]string {},
547
558
},
548
559
wantErrorStr : nil ,
549
560
},
@@ -562,10 +573,11 @@ spec:
562
573
"PARAMS" : "from devfile.yaml based on priority" ,
563
574
},
564
575
wantVarWarning : variables.VariableWarning {
565
- Commands : map [string ][]string {},
566
- Components : map [string ][]string {},
567
- Projects : map [string ][]string {},
568
- StarterProjects : map [string ][]string {},
576
+ Commands : map [string ][]string {},
577
+ Components : map [string ][]string {},
578
+ Projects : map [string ][]string {},
579
+ StarterProjects : map [string ][]string {},
580
+ DependentProjects : map [string ][]string {},
569
581
},
570
582
additionalChecks : func (devfileObj parser.DevfileObj ) error {
571
583
if devfileObj .Data .GetMetadata ().DisplayName != "Go Runtime (devfile.yaml)" {
@@ -591,10 +603,11 @@ spec:
591
603
"PARAMS" : "from .devfile.yaml based on priority" ,
592
604
},
593
605
wantVarWarning : variables.VariableWarning {
594
- Commands : map [string ][]string {},
595
- Components : map [string ][]string {},
596
- Projects : map [string ][]string {},
597
- StarterProjects : map [string ][]string {},
606
+ Commands : map [string ][]string {},
607
+ Components : map [string ][]string {},
608
+ Projects : map [string ][]string {},
609
+ StarterProjects : map [string ][]string {},
610
+ DependentProjects : map [string ][]string {},
598
611
},
599
612
additionalChecks : func (devfileObj parser.DevfileObj ) error {
600
613
if devfileObj .Data .GetMetadata ().DisplayName != "Go Runtime (.devfile.yaml)" {
@@ -620,10 +633,11 @@ spec:
620
633
"PARAMS" : "from devfile.yml based on priority" ,
621
634
},
622
635
wantVarWarning : variables.VariableWarning {
623
- Commands : map [string ][]string {},
624
- Components : map [string ][]string {},
625
- Projects : map [string ][]string {},
626
- StarterProjects : map [string ][]string {},
636
+ Commands : map [string ][]string {},
637
+ Components : map [string ][]string {},
638
+ Projects : map [string ][]string {},
639
+ StarterProjects : map [string ][]string {},
640
+ DependentProjects : map [string ][]string {},
627
641
},
628
642
additionalChecks : func (devfileObj parser.DevfileObj ) error {
629
643
if devfileObj .Data .GetMetadata ().DisplayName != "Test stack (devfile.yml)" {
@@ -649,10 +663,11 @@ spec:
649
663
"PARAMS" : "from .devfile.yml based on priority" ,
650
664
},
651
665
wantVarWarning : variables.VariableWarning {
652
- Commands : map [string ][]string {},
653
- Components : map [string ][]string {},
654
- Projects : map [string ][]string {},
655
- StarterProjects : map [string ][]string {},
666
+ Commands : map [string ][]string {},
667
+ Components : map [string ][]string {},
668
+ Projects : map [string ][]string {},
669
+ StarterProjects : map [string ][]string {},
670
+ DependentProjects : map [string ][]string {},
656
671
},
657
672
additionalChecks : func (devfileObj parser.DevfileObj ) error {
658
673
if devfileObj .Data .GetMetadata ().DisplayName != "Test stack (.devfile.yml)" {
@@ -678,10 +693,11 @@ spec:
678
693
"PARAMS" : "from devfile.yml" ,
679
694
},
680
695
wantVarWarning : variables.VariableWarning {
681
- Commands : map [string ][]string {},
682
- Components : map [string ][]string {},
683
- Projects : map [string ][]string {},
684
- StarterProjects : map [string ][]string {},
696
+ Commands : map [string ][]string {},
697
+ Components : map [string ][]string {},
698
+ Projects : map [string ][]string {},
699
+ StarterProjects : map [string ][]string {},
700
+ DependentProjects : map [string ][]string {},
685
701
},
686
702
additionalChecks : func (devfileObj parser.DevfileObj ) error {
687
703
if devfileObj .Data .GetMetadata ().DisplayName != "Test stack (devfile.yml)" {
@@ -707,10 +723,11 @@ spec:
707
723
"PARAMS" : "from .devfile.yml" ,
708
724
},
709
725
wantVarWarning : variables.VariableWarning {
710
- Commands : map [string ][]string {},
711
- Components : map [string ][]string {},
712
- Projects : map [string ][]string {},
713
- StarterProjects : map [string ][]string {},
726
+ Commands : map [string ][]string {},
727
+ Components : map [string ][]string {},
728
+ Projects : map [string ][]string {},
729
+ StarterProjects : map [string ][]string {},
730
+ DependentProjects : map [string ][]string {},
714
731
},
715
732
additionalChecks : func (devfileObj parser.DevfileObj ) error {
716
733
if devfileObj .Data .GetMetadata ().DisplayName != "Test stack (.devfile.yml)" {
@@ -736,10 +753,11 @@ spec:
736
753
"PARAMS" : "from .devfile.yaml" ,
737
754
},
738
755
wantVarWarning : variables.VariableWarning {
739
- Commands : map [string ][]string {},
740
- Components : map [string ][]string {},
741
- Projects : map [string ][]string {},
742
- StarterProjects : map [string ][]string {},
756
+ Commands : map [string ][]string {},
757
+ Components : map [string ][]string {},
758
+ Projects : map [string ][]string {},
759
+ StarterProjects : map [string ][]string {},
760
+ DependentProjects : map [string ][]string {},
743
761
},
744
762
additionalChecks : func (devfileObj parser.DevfileObj ) error {
745
763
if devfileObj .Data .GetMetadata ().DisplayName != "Go Runtime (.devfile.yaml)" {
@@ -765,10 +783,11 @@ spec:
765
783
"PARAMS" : "from any valid devfile file" ,
766
784
},
767
785
wantVarWarning : variables.VariableWarning {
768
- Commands : map [string ][]string {},
769
- Components : map [string ][]string {},
770
- Projects : map [string ][]string {},
771
- StarterProjects : map [string ][]string {},
786
+ Commands : map [string ][]string {},
787
+ Components : map [string ][]string {},
788
+ Projects : map [string ][]string {},
789
+ StarterProjects : map [string ][]string {},
790
+ DependentProjects : map [string ][]string {},
772
791
},
773
792
additionalChecks : func (devfileObj parser.DevfileObj ) error {
774
793
if devfileObj .Data .GetMetadata ().DisplayName != "Test stack (valid-devfile.yaml.txt)" {
@@ -794,10 +813,11 @@ spec:
794
813
"PARAMS" : "baz" ,
795
814
},
796
815
wantVarWarning : variables.VariableWarning {
797
- Commands : map [string ][]string {},
798
- Components : map [string ][]string {},
799
- Projects : map [string ][]string {},
800
- StarterProjects : map [string ][]string {},
816
+ Commands : map [string ][]string {},
817
+ Components : map [string ][]string {},
818
+ Projects : map [string ][]string {},
819
+ StarterProjects : map [string ][]string {},
820
+ DependentProjects : map [string ][]string {},
801
821
},
802
822
wantErrorStr : & unsupportedSchemaError ,
803
823
},
0 commit comments