@@ -554,6 +554,10 @@ workflows:
554
554
555
555
- acceptance-tests :
556
556
name : acceptance-tests linux amd64
557
+ go_target_os : linux
558
+ go_os : linux
559
+ go_arch : amd64
560
+ go_download_base_url : << pipeline.parameters.go_download_base_url >>
557
561
context :
558
562
- nodejs-install
559
563
- team_hammerhead-cli
@@ -569,6 +573,10 @@ workflows:
569
573
570
574
- acceptance-tests :
571
575
name : acceptance-tests linux arm64
576
+ go_target_os : linux
577
+ go_os : linux
578
+ go_arch : arm64
579
+ go_download_base_url : << pipeline.parameters.go_download_base_url >>
572
580
context :
573
581
- nodejs-install
574
582
- team_hammerhead-cli
@@ -584,6 +592,10 @@ workflows:
584
592
585
593
- acceptance-tests :
586
594
name : acceptance-tests fips linux arm64
595
+ go_target_os : linux
596
+ go_os : linux
597
+ go_arch : arm64
598
+ go_download_base_url : << pipeline.parameters.fips_go_download_base_url >>
587
599
executor : docker-arm64
588
600
test_snyk_command : ./binary-releases/fips/snyk-linux-arm64
589
601
fips : 1
@@ -600,6 +612,10 @@ workflows:
600
612
601
613
- acceptance-tests :
602
614
name : acceptance-tests alpine amd64
615
+ go_target_os : alpine
616
+ go_os : linux
617
+ go_arch : amd64
618
+ go_download_base_url : << pipeline.parameters.go_download_base_url >>
603
619
context :
604
620
- nodejs-install
605
621
- team_hammerhead-cli
@@ -617,6 +633,10 @@ workflows:
617
633
618
634
- acceptance-tests :
619
635
name : acceptance-tests alpine arm64
636
+ go_target_os : alpine
637
+ go_os : linux
638
+ go_arch : arm64
639
+ go_download_base_url : << pipeline.parameters.go_download_base_url >>
620
640
context :
621
641
- nodejs-install
622
642
- team_hammerhead-cli
@@ -634,6 +654,10 @@ workflows:
634
654
635
655
- acceptance-tests :
636
656
name : acceptance-tests macOS arm64
657
+ go_target_os : darwin
658
+ go_os : darwin
659
+ go_arch : arm64
660
+ go_download_base_url : << pipeline.parameters.go_download_base_url >>
637
661
context :
638
662
- nodejs-install
639
663
- team_hammerhead-cli
@@ -650,6 +674,10 @@ workflows:
650
674
651
675
- acceptance-tests :
652
676
name : acceptance-tests windows amd64
677
+ go_target_os : windows
678
+ go_os : windows
679
+ go_arch : amd64
680
+ go_download_base_url : << pipeline.parameters.go_download_base_url >>
653
681
context :
654
682
- nodejs-install
655
683
- team_hammerhead-cli
@@ -1167,6 +1195,17 @@ jobs:
1167
1195
1168
1196
acceptance-tests :
1169
1197
parameters :
1198
+ go_os :
1199
+ type : string
1200
+ go_target_os :
1201
+ type : string
1202
+ go_arch :
1203
+ type : string
1204
+ go_download_base_url :
1205
+ type : string
1206
+ install_path :
1207
+ type : string
1208
+ default : ' .'
1170
1209
test_snyk_command :
1171
1210
type : string
1172
1211
executor :
@@ -1195,6 +1234,12 @@ jobs:
1195
1234
- install-deps-<< parameters.install_deps_extension >>
1196
1235
- run :
1197
1236
command : npm install
1237
+ - install-go :
1238
+ go_os : << parameters.go_os >>
1239
+ go_target_os : << parameters.go_target_os >>
1240
+ go_arch : << parameters.go_arch >>
1241
+ base_url : << parameters.go_download_base_url >>
1242
+ extraction_path : << parameters.install_path >>
1198
1243
- run :
1199
1244
name : Running acceptance tests
1200
1245
no_output_timeout : 30m
0 commit comments