@catladder/pipeline 3.8.3 → 3.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/docker.js +1 -1
- package/dist/build/sbom.js +4 -1
- package/dist/constants.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/examples/__snapshots__/cloud-run-health-check-defaults.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-health-check-only-startup.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-health-check.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-http2.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-memory-limit.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-meteor-with-worker.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-nextjs.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-no-cpu-throttling.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-no-service.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-non-public.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-post-stop-job.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-service-custom-vpc-connector.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-service-custom-vpc.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-service-gen2.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-service-increase-timout.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-service-with-volumes.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-storybook.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-with-gpu.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-with-ngnix.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-with-sql-legacy-jobs.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-with-sql-reuse-db.test.ts.snap +40 -16
- package/examples/__snapshots__/cloud-run-with-sql.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-with-worker.test.ts.snap +20 -8
- package/examples/__snapshots__/custom-build-job-with-tests.test.ts.snap +20 -8
- package/examples/__snapshots__/custom-build-job.test.ts.snap +20 -8
- package/examples/__snapshots__/custom-deploy.test.ts.snap +20 -8
- package/examples/__snapshots__/custom-envs.test.ts.snap +24 -6
- package/examples/__snapshots__/custom-sbom-java.test.ts.snap +4 -4
- package/examples/__snapshots__/custom-verify-job.test.ts.snap +20 -8
- package/examples/__snapshots__/git-submodule.test.ts.snap +20 -8
- package/examples/__snapshots__/kubernetes-application-customization.test.ts.snap +20 -8
- package/examples/__snapshots__/kubernetes-with-cloud-sql.test.ts.snap +20 -8
- package/examples/__snapshots__/kubernetes-with-jobs.test.ts.snap +40 -16
- package/examples/__snapshots__/kubernetes-with-mongodb.test.ts.snap +20 -8
- package/examples/__snapshots__/local-dot-env.test.ts.snap +20 -8
- package/examples/__snapshots__/meteor-kubernetes.test.ts.snap +20 -8
- package/examples/__snapshots__/multiline-var.test.ts.snap +60 -24
- package/examples/__snapshots__/native-app.test.ts.snap +36 -12
- package/examples/__snapshots__/node-build-with-custom-image.test.ts.snap +20 -8
- package/examples/__snapshots__/node-build-with-docker-additions.test.ts.snap +20 -8
- package/examples/__snapshots__/override-secrets.test.ts.snap +20 -8
- package/examples/__snapshots__/rails-k8s-with-worker-dockerfile.test.ts.snap +20 -8
- package/examples/__snapshots__/rails-k8s-with-worker.test.ts.snap +20 -8
- package/examples/__snapshots__/referencing-other-vars.test.ts.snap +60 -24
- package/examples/__snapshots__/wait-for-other-deploy.test.ts.snap +32 -8
- package/examples/__snapshots__/workspace-api-www-turbo-cache.test.ts.snap +40 -16
- package/examples/__snapshots__/workspace-api-www.test.ts.snap +40 -16
- package/package.json +1 -1
- package/src/build/docker.ts +1 -1
- package/src/build/sbom.ts +4 -1
|
@@ -276,7 +276,7 @@ app1 🧪 test:
|
|
|
276
276
|
- --tls=false
|
|
277
277
|
- --registry-mirror=https://mirror.gcr.io
|
|
278
278
|
variables:
|
|
279
|
-
DOCKER_HOST: tcp://
|
|
279
|
+
DOCKER_HOST: tcp://docker:2375
|
|
280
280
|
DOCKER_TLS_CERTDIR: ''
|
|
281
281
|
DOCKER_DRIVER: overlay2
|
|
282
282
|
DOCKER_BUILDKIT: '1'
|
|
@@ -327,7 +327,10 @@ app1 🧪 test:
|
|
|
327
327
|
interruptible: true
|
|
328
328
|
'app1 🧾 sbom | dev ':
|
|
329
329
|
stage: build
|
|
330
|
-
image:
|
|
330
|
+
image:
|
|
331
|
+
name: aquasec/trivy:0.38.3
|
|
332
|
+
entrypoint:
|
|
333
|
+
- ''
|
|
331
334
|
variables: {}
|
|
332
335
|
script:
|
|
333
336
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -595,7 +598,7 @@ app1 🧪 test:
|
|
|
595
598
|
- --tls=false
|
|
596
599
|
- --registry-mirror=https://mirror.gcr.io
|
|
597
600
|
variables:
|
|
598
|
-
DOCKER_HOST: tcp://
|
|
601
|
+
DOCKER_HOST: tcp://docker:2375
|
|
599
602
|
DOCKER_TLS_CERTDIR: ''
|
|
600
603
|
DOCKER_DRIVER: overlay2
|
|
601
604
|
DOCKER_BUILDKIT: '1'
|
|
@@ -646,7 +649,10 @@ app1 🧪 test:
|
|
|
646
649
|
interruptible: true
|
|
647
650
|
'app1 🧾 sbom | review ':
|
|
648
651
|
stage: build
|
|
649
|
-
image:
|
|
652
|
+
image:
|
|
653
|
+
name: aquasec/trivy:0.38.3
|
|
654
|
+
entrypoint:
|
|
655
|
+
- ''
|
|
650
656
|
variables: {}
|
|
651
657
|
script:
|
|
652
658
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -920,7 +926,7 @@ app1 🧪 test:
|
|
|
920
926
|
- --tls=false
|
|
921
927
|
- --registry-mirror=https://mirror.gcr.io
|
|
922
928
|
variables:
|
|
923
|
-
DOCKER_HOST: tcp://
|
|
929
|
+
DOCKER_HOST: tcp://docker:2375
|
|
924
930
|
DOCKER_TLS_CERTDIR: ''
|
|
925
931
|
DOCKER_DRIVER: overlay2
|
|
926
932
|
DOCKER_BUILDKIT: '1'
|
|
@@ -971,7 +977,10 @@ app1 🧪 test:
|
|
|
971
977
|
interruptible: true
|
|
972
978
|
'app1 🧾 sbom | stage ':
|
|
973
979
|
stage: build
|
|
974
|
-
image:
|
|
980
|
+
image:
|
|
981
|
+
name: aquasec/trivy:0.38.3
|
|
982
|
+
entrypoint:
|
|
983
|
+
- ''
|
|
975
984
|
variables: {}
|
|
976
985
|
script:
|
|
977
986
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -1232,7 +1241,7 @@ app1 🧪 test:
|
|
|
1232
1241
|
- --tls=false
|
|
1233
1242
|
- --registry-mirror=https://mirror.gcr.io
|
|
1234
1243
|
variables:
|
|
1235
|
-
DOCKER_HOST: tcp://
|
|
1244
|
+
DOCKER_HOST: tcp://docker:2375
|
|
1236
1245
|
DOCKER_TLS_CERTDIR: ''
|
|
1237
1246
|
DOCKER_DRIVER: overlay2
|
|
1238
1247
|
DOCKER_BUILDKIT: '1'
|
|
@@ -1283,7 +1292,10 @@ app1 🧪 test:
|
|
|
1283
1292
|
interruptible: true
|
|
1284
1293
|
'app1 🧾 sbom | prod ':
|
|
1285
1294
|
stage: build
|
|
1286
|
-
image:
|
|
1295
|
+
image:
|
|
1296
|
+
name: aquasec/trivy:0.38.3
|
|
1297
|
+
entrypoint:
|
|
1298
|
+
- ''
|
|
1287
1299
|
variables: {}
|
|
1288
1300
|
script:
|
|
1289
1301
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -1646,7 +1658,7 @@ app2 🧪 test:
|
|
|
1646
1658
|
- --tls=false
|
|
1647
1659
|
- --registry-mirror=https://mirror.gcr.io
|
|
1648
1660
|
variables:
|
|
1649
|
-
DOCKER_HOST: tcp://
|
|
1661
|
+
DOCKER_HOST: tcp://docker:2375
|
|
1650
1662
|
DOCKER_TLS_CERTDIR: ''
|
|
1651
1663
|
DOCKER_DRIVER: overlay2
|
|
1652
1664
|
DOCKER_BUILDKIT: '1'
|
|
@@ -1697,7 +1709,10 @@ app2 🧪 test:
|
|
|
1697
1709
|
interruptible: true
|
|
1698
1710
|
'app2 🧾 sbom | dev ':
|
|
1699
1711
|
stage: build
|
|
1700
|
-
image:
|
|
1712
|
+
image:
|
|
1713
|
+
name: aquasec/trivy:0.38.3
|
|
1714
|
+
entrypoint:
|
|
1715
|
+
- ''
|
|
1701
1716
|
variables: {}
|
|
1702
1717
|
script:
|
|
1703
1718
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -1975,7 +1990,7 @@ app2 🧪 test:
|
|
|
1975
1990
|
- --tls=false
|
|
1976
1991
|
- --registry-mirror=https://mirror.gcr.io
|
|
1977
1992
|
variables:
|
|
1978
|
-
DOCKER_HOST: tcp://
|
|
1993
|
+
DOCKER_HOST: tcp://docker:2375
|
|
1979
1994
|
DOCKER_TLS_CERTDIR: ''
|
|
1980
1995
|
DOCKER_DRIVER: overlay2
|
|
1981
1996
|
DOCKER_BUILDKIT: '1'
|
|
@@ -2026,7 +2041,10 @@ app2 🧪 test:
|
|
|
2026
2041
|
interruptible: true
|
|
2027
2042
|
'app2 🧾 sbom | review ':
|
|
2028
2043
|
stage: build
|
|
2029
|
-
image:
|
|
2044
|
+
image:
|
|
2045
|
+
name: aquasec/trivy:0.38.3
|
|
2046
|
+
entrypoint:
|
|
2047
|
+
- ''
|
|
2030
2048
|
variables: {}
|
|
2031
2049
|
script:
|
|
2032
2050
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -2310,7 +2328,7 @@ app2 🧪 test:
|
|
|
2310
2328
|
- --tls=false
|
|
2311
2329
|
- --registry-mirror=https://mirror.gcr.io
|
|
2312
2330
|
variables:
|
|
2313
|
-
DOCKER_HOST: tcp://
|
|
2331
|
+
DOCKER_HOST: tcp://docker:2375
|
|
2314
2332
|
DOCKER_TLS_CERTDIR: ''
|
|
2315
2333
|
DOCKER_DRIVER: overlay2
|
|
2316
2334
|
DOCKER_BUILDKIT: '1'
|
|
@@ -2361,7 +2379,10 @@ app2 🧪 test:
|
|
|
2361
2379
|
interruptible: true
|
|
2362
2380
|
'app2 🧾 sbom | stage ':
|
|
2363
2381
|
stage: build
|
|
2364
|
-
image:
|
|
2382
|
+
image:
|
|
2383
|
+
name: aquasec/trivy:0.38.3
|
|
2384
|
+
entrypoint:
|
|
2385
|
+
- ''
|
|
2365
2386
|
variables: {}
|
|
2366
2387
|
script:
|
|
2367
2388
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -2632,7 +2653,7 @@ app2 🧪 test:
|
|
|
2632
2653
|
- --tls=false
|
|
2633
2654
|
- --registry-mirror=https://mirror.gcr.io
|
|
2634
2655
|
variables:
|
|
2635
|
-
DOCKER_HOST: tcp://
|
|
2656
|
+
DOCKER_HOST: tcp://docker:2375
|
|
2636
2657
|
DOCKER_TLS_CERTDIR: ''
|
|
2637
2658
|
DOCKER_DRIVER: overlay2
|
|
2638
2659
|
DOCKER_BUILDKIT: '1'
|
|
@@ -2683,7 +2704,10 @@ app2 🧪 test:
|
|
|
2683
2704
|
interruptible: true
|
|
2684
2705
|
'app2 🧾 sbom | prod ':
|
|
2685
2706
|
stage: build
|
|
2686
|
-
image:
|
|
2707
|
+
image:
|
|
2708
|
+
name: aquasec/trivy:0.38.3
|
|
2709
|
+
entrypoint:
|
|
2710
|
+
- ''
|
|
2687
2711
|
variables: {}
|
|
2688
2712
|
script:
|
|
2689
2713
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -3046,7 +3070,7 @@ app3 🧪 test:
|
|
|
3046
3070
|
- --tls=false
|
|
3047
3071
|
- --registry-mirror=https://mirror.gcr.io
|
|
3048
3072
|
variables:
|
|
3049
|
-
DOCKER_HOST: tcp://
|
|
3073
|
+
DOCKER_HOST: tcp://docker:2375
|
|
3050
3074
|
DOCKER_TLS_CERTDIR: ''
|
|
3051
3075
|
DOCKER_DRIVER: overlay2
|
|
3052
3076
|
DOCKER_BUILDKIT: '1'
|
|
@@ -3097,7 +3121,10 @@ app3 🧪 test:
|
|
|
3097
3121
|
interruptible: true
|
|
3098
3122
|
'app3 🧾 sbom | dev ':
|
|
3099
3123
|
stage: build
|
|
3100
|
-
image:
|
|
3124
|
+
image:
|
|
3125
|
+
name: aquasec/trivy:0.38.3
|
|
3126
|
+
entrypoint:
|
|
3127
|
+
- ''
|
|
3101
3128
|
variables: {}
|
|
3102
3129
|
script:
|
|
3103
3130
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -3455,7 +3482,7 @@ app3 🧪 test:
|
|
|
3455
3482
|
- --tls=false
|
|
3456
3483
|
- --registry-mirror=https://mirror.gcr.io
|
|
3457
3484
|
variables:
|
|
3458
|
-
DOCKER_HOST: tcp://
|
|
3485
|
+
DOCKER_HOST: tcp://docker:2375
|
|
3459
3486
|
DOCKER_TLS_CERTDIR: ''
|
|
3460
3487
|
DOCKER_DRIVER: overlay2
|
|
3461
3488
|
DOCKER_BUILDKIT: '1'
|
|
@@ -3506,7 +3533,10 @@ app3 🧪 test:
|
|
|
3506
3533
|
interruptible: true
|
|
3507
3534
|
'app3 🧾 sbom | review ':
|
|
3508
3535
|
stage: build
|
|
3509
|
-
image:
|
|
3536
|
+
image:
|
|
3537
|
+
name: aquasec/trivy:0.38.3
|
|
3538
|
+
entrypoint:
|
|
3539
|
+
- ''
|
|
3510
3540
|
variables: {}
|
|
3511
3541
|
script:
|
|
3512
3542
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -3865,7 +3895,7 @@ app3 🧪 test:
|
|
|
3865
3895
|
- --tls=false
|
|
3866
3896
|
- --registry-mirror=https://mirror.gcr.io
|
|
3867
3897
|
variables:
|
|
3868
|
-
DOCKER_HOST: tcp://
|
|
3898
|
+
DOCKER_HOST: tcp://docker:2375
|
|
3869
3899
|
DOCKER_TLS_CERTDIR: ''
|
|
3870
3900
|
DOCKER_DRIVER: overlay2
|
|
3871
3901
|
DOCKER_BUILDKIT: '1'
|
|
@@ -3916,7 +3946,10 @@ app3 🧪 test:
|
|
|
3916
3946
|
interruptible: true
|
|
3917
3947
|
'app3 🧾 sbom | stage ':
|
|
3918
3948
|
stage: build
|
|
3919
|
-
image:
|
|
3949
|
+
image:
|
|
3950
|
+
name: aquasec/trivy:0.38.3
|
|
3951
|
+
entrypoint:
|
|
3952
|
+
- ''
|
|
3920
3953
|
variables: {}
|
|
3921
3954
|
script:
|
|
3922
3955
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -4267,7 +4300,7 @@ app3 🧪 test:
|
|
|
4267
4300
|
- --tls=false
|
|
4268
4301
|
- --registry-mirror=https://mirror.gcr.io
|
|
4269
4302
|
variables:
|
|
4270
|
-
DOCKER_HOST: tcp://
|
|
4303
|
+
DOCKER_HOST: tcp://docker:2375
|
|
4271
4304
|
DOCKER_TLS_CERTDIR: ''
|
|
4272
4305
|
DOCKER_DRIVER: overlay2
|
|
4273
4306
|
DOCKER_BUILDKIT: '1'
|
|
@@ -4318,7 +4351,10 @@ app3 🧪 test:
|
|
|
4318
4351
|
interruptible: true
|
|
4319
4352
|
'app3 🧾 sbom | prod ':
|
|
4320
4353
|
stage: build
|
|
4321
|
-
image:
|
|
4354
|
+
image:
|
|
4355
|
+
name: aquasec/trivy:0.38.3
|
|
4356
|
+
entrypoint:
|
|
4357
|
+
- ''
|
|
4322
4358
|
variables: {}
|
|
4323
4359
|
script:
|
|
4324
4360
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -251,7 +251,10 @@ api 🧪 test:
|
|
|
251
251
|
interruptible: true
|
|
252
252
|
'api 🧾 sbom | dev ':
|
|
253
253
|
stage: build
|
|
254
|
-
image:
|
|
254
|
+
image:
|
|
255
|
+
name: aquasec/trivy:0.38.3
|
|
256
|
+
entrypoint:
|
|
257
|
+
- ''
|
|
255
258
|
variables: {}
|
|
256
259
|
script:
|
|
257
260
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -389,7 +392,10 @@ api 🧪 test:
|
|
|
389
392
|
interruptible: true
|
|
390
393
|
'api 🧾 sbom | review ':
|
|
391
394
|
stage: build
|
|
392
|
-
image:
|
|
395
|
+
image:
|
|
396
|
+
name: aquasec/trivy:0.38.3
|
|
397
|
+
entrypoint:
|
|
398
|
+
- ''
|
|
393
399
|
variables: {}
|
|
394
400
|
script:
|
|
395
401
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -527,7 +533,10 @@ api 🧪 test:
|
|
|
527
533
|
interruptible: true
|
|
528
534
|
'api 🧾 sbom | stage ':
|
|
529
535
|
stage: build
|
|
530
|
-
image:
|
|
536
|
+
image:
|
|
537
|
+
name: aquasec/trivy:0.38.3
|
|
538
|
+
entrypoint:
|
|
539
|
+
- ''
|
|
531
540
|
variables: {}
|
|
532
541
|
script:
|
|
533
542
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -659,7 +668,10 @@ api 🧪 test:
|
|
|
659
668
|
interruptible: true
|
|
660
669
|
'api 🧾 sbom | prod ':
|
|
661
670
|
stage: build
|
|
662
|
-
image:
|
|
671
|
+
image:
|
|
672
|
+
name: aquasec/trivy:0.38.3
|
|
673
|
+
entrypoint:
|
|
674
|
+
- ''
|
|
663
675
|
variables: {}
|
|
664
676
|
script:
|
|
665
677
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -889,7 +901,10 @@ www 🧪 test:
|
|
|
889
901
|
interruptible: true
|
|
890
902
|
'www 🧾 sbom | dev ':
|
|
891
903
|
stage: build
|
|
892
|
-
image:
|
|
904
|
+
image:
|
|
905
|
+
name: aquasec/trivy:0.38.3
|
|
906
|
+
entrypoint:
|
|
907
|
+
- ''
|
|
893
908
|
variables: {}
|
|
894
909
|
script:
|
|
895
910
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -1029,7 +1044,10 @@ www 🧪 test:
|
|
|
1029
1044
|
interruptible: true
|
|
1030
1045
|
'www 🧾 sbom | review ':
|
|
1031
1046
|
stage: build
|
|
1032
|
-
image:
|
|
1047
|
+
image:
|
|
1048
|
+
name: aquasec/trivy:0.38.3
|
|
1049
|
+
entrypoint:
|
|
1050
|
+
- ''
|
|
1033
1051
|
variables: {}
|
|
1034
1052
|
script:
|
|
1035
1053
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -1169,7 +1187,10 @@ www 🧪 test:
|
|
|
1169
1187
|
interruptible: true
|
|
1170
1188
|
'www 🧾 sbom | stage ':
|
|
1171
1189
|
stage: build
|
|
1172
|
-
image:
|
|
1190
|
+
image:
|
|
1191
|
+
name: aquasec/trivy:0.38.3
|
|
1192
|
+
entrypoint:
|
|
1193
|
+
- ''
|
|
1173
1194
|
variables: {}
|
|
1174
1195
|
script:
|
|
1175
1196
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -1303,7 +1324,10 @@ www 🧪 test:
|
|
|
1303
1324
|
interruptible: true
|
|
1304
1325
|
'www 🧾 sbom | prod ':
|
|
1305
1326
|
stage: build
|
|
1306
|
-
image:
|
|
1327
|
+
image:
|
|
1328
|
+
name: aquasec/trivy:0.38.3
|
|
1329
|
+
entrypoint:
|
|
1330
|
+
- ''
|
|
1307
1331
|
variables: {}
|
|
1308
1332
|
script:
|
|
1309
1333
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -546,7 +546,7 @@ before_script:
|
|
|
546
546
|
- --tls=false
|
|
547
547
|
- --registry-mirror=https://mirror.gcr.io
|
|
548
548
|
variables:
|
|
549
|
-
DOCKER_HOST: tcp://
|
|
549
|
+
DOCKER_HOST: tcp://docker:2375
|
|
550
550
|
DOCKER_TLS_CERTDIR: ''
|
|
551
551
|
DOCKER_DRIVER: overlay2
|
|
552
552
|
DOCKER_BUILDKIT: '1'
|
|
@@ -598,7 +598,10 @@ before_script:
|
|
|
598
598
|
interruptible: true
|
|
599
599
|
'🔹 api 🧾 sbom | dev ':
|
|
600
600
|
stage: build
|
|
601
|
-
image:
|
|
601
|
+
image:
|
|
602
|
+
name: aquasec/trivy:0.38.3
|
|
603
|
+
entrypoint:
|
|
604
|
+
- ''
|
|
602
605
|
variables: {}
|
|
603
606
|
script:
|
|
604
607
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -759,7 +762,7 @@ before_script:
|
|
|
759
762
|
- --tls=false
|
|
760
763
|
- --registry-mirror=https://mirror.gcr.io
|
|
761
764
|
variables:
|
|
762
|
-
DOCKER_HOST: tcp://
|
|
765
|
+
DOCKER_HOST: tcp://docker:2375
|
|
763
766
|
DOCKER_TLS_CERTDIR: ''
|
|
764
767
|
DOCKER_DRIVER: overlay2
|
|
765
768
|
DOCKER_BUILDKIT: '1'
|
|
@@ -811,7 +814,10 @@ before_script:
|
|
|
811
814
|
interruptible: true
|
|
812
815
|
'🔹 api 🧾 sbom | review ':
|
|
813
816
|
stage: build
|
|
814
|
-
image:
|
|
817
|
+
image:
|
|
818
|
+
name: aquasec/trivy:0.38.3
|
|
819
|
+
entrypoint:
|
|
820
|
+
- ''
|
|
815
821
|
variables: {}
|
|
816
822
|
script:
|
|
817
823
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -978,7 +984,7 @@ before_script:
|
|
|
978
984
|
- --tls=false
|
|
979
985
|
- --registry-mirror=https://mirror.gcr.io
|
|
980
986
|
variables:
|
|
981
|
-
DOCKER_HOST: tcp://
|
|
987
|
+
DOCKER_HOST: tcp://docker:2375
|
|
982
988
|
DOCKER_TLS_CERTDIR: ''
|
|
983
989
|
DOCKER_DRIVER: overlay2
|
|
984
990
|
DOCKER_BUILDKIT: '1'
|
|
@@ -1030,7 +1036,10 @@ before_script:
|
|
|
1030
1036
|
interruptible: true
|
|
1031
1037
|
'🔹 api 🧾 sbom | stage ':
|
|
1032
1038
|
stage: build
|
|
1033
|
-
image:
|
|
1039
|
+
image:
|
|
1040
|
+
name: aquasec/trivy:0.38.3
|
|
1041
|
+
entrypoint:
|
|
1042
|
+
- ''
|
|
1034
1043
|
variables: {}
|
|
1035
1044
|
script:
|
|
1036
1045
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -1184,7 +1193,7 @@ before_script:
|
|
|
1184
1193
|
- --tls=false
|
|
1185
1194
|
- --registry-mirror=https://mirror.gcr.io
|
|
1186
1195
|
variables:
|
|
1187
|
-
DOCKER_HOST: tcp://
|
|
1196
|
+
DOCKER_HOST: tcp://docker:2375
|
|
1188
1197
|
DOCKER_TLS_CERTDIR: ''
|
|
1189
1198
|
DOCKER_DRIVER: overlay2
|
|
1190
1199
|
DOCKER_BUILDKIT: '1'
|
|
@@ -1236,7 +1245,10 @@ before_script:
|
|
|
1236
1245
|
interruptible: true
|
|
1237
1246
|
'🔹 api 🧾 sbom | prod ':
|
|
1238
1247
|
stage: build
|
|
1239
|
-
image:
|
|
1248
|
+
image:
|
|
1249
|
+
name: aquasec/trivy:0.38.3
|
|
1250
|
+
entrypoint:
|
|
1251
|
+
- ''
|
|
1240
1252
|
variables: {}
|
|
1241
1253
|
script:
|
|
1242
1254
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -1390,7 +1402,7 @@ before_script:
|
|
|
1390
1402
|
- --tls=false
|
|
1391
1403
|
- --registry-mirror=https://mirror.gcr.io
|
|
1392
1404
|
variables:
|
|
1393
|
-
DOCKER_HOST: tcp://
|
|
1405
|
+
DOCKER_HOST: tcp://docker:2375
|
|
1394
1406
|
DOCKER_TLS_CERTDIR: ''
|
|
1395
1407
|
DOCKER_DRIVER: overlay2
|
|
1396
1408
|
DOCKER_BUILDKIT: '1'
|
|
@@ -1442,7 +1454,10 @@ before_script:
|
|
|
1442
1454
|
interruptible: true
|
|
1443
1455
|
'🔹 www 🧾 sbom | dev ':
|
|
1444
1456
|
stage: build
|
|
1445
|
-
image:
|
|
1457
|
+
image:
|
|
1458
|
+
name: aquasec/trivy:0.38.3
|
|
1459
|
+
entrypoint:
|
|
1460
|
+
- ''
|
|
1446
1461
|
variables: {}
|
|
1447
1462
|
script:
|
|
1448
1463
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -1606,7 +1621,7 @@ before_script:
|
|
|
1606
1621
|
- --tls=false
|
|
1607
1622
|
- --registry-mirror=https://mirror.gcr.io
|
|
1608
1623
|
variables:
|
|
1609
|
-
DOCKER_HOST: tcp://
|
|
1624
|
+
DOCKER_HOST: tcp://docker:2375
|
|
1610
1625
|
DOCKER_TLS_CERTDIR: ''
|
|
1611
1626
|
DOCKER_DRIVER: overlay2
|
|
1612
1627
|
DOCKER_BUILDKIT: '1'
|
|
@@ -1658,7 +1673,10 @@ before_script:
|
|
|
1658
1673
|
interruptible: true
|
|
1659
1674
|
'🔹 www 🧾 sbom | review ':
|
|
1660
1675
|
stage: build
|
|
1661
|
-
image:
|
|
1676
|
+
image:
|
|
1677
|
+
name: aquasec/trivy:0.38.3
|
|
1678
|
+
entrypoint:
|
|
1679
|
+
- ''
|
|
1662
1680
|
variables: {}
|
|
1663
1681
|
script:
|
|
1664
1682
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -1828,7 +1846,7 @@ before_script:
|
|
|
1828
1846
|
- --tls=false
|
|
1829
1847
|
- --registry-mirror=https://mirror.gcr.io
|
|
1830
1848
|
variables:
|
|
1831
|
-
DOCKER_HOST: tcp://
|
|
1849
|
+
DOCKER_HOST: tcp://docker:2375
|
|
1832
1850
|
DOCKER_TLS_CERTDIR: ''
|
|
1833
1851
|
DOCKER_DRIVER: overlay2
|
|
1834
1852
|
DOCKER_BUILDKIT: '1'
|
|
@@ -1880,7 +1898,10 @@ before_script:
|
|
|
1880
1898
|
interruptible: true
|
|
1881
1899
|
'🔹 www 🧾 sbom | stage ':
|
|
1882
1900
|
stage: build
|
|
1883
|
-
image:
|
|
1901
|
+
image:
|
|
1902
|
+
name: aquasec/trivy:0.38.3
|
|
1903
|
+
entrypoint:
|
|
1904
|
+
- ''
|
|
1884
1905
|
variables: {}
|
|
1885
1906
|
script:
|
|
1886
1907
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -2037,7 +2058,7 @@ before_script:
|
|
|
2037
2058
|
- --tls=false
|
|
2038
2059
|
- --registry-mirror=https://mirror.gcr.io
|
|
2039
2060
|
variables:
|
|
2040
|
-
DOCKER_HOST: tcp://
|
|
2061
|
+
DOCKER_HOST: tcp://docker:2375
|
|
2041
2062
|
DOCKER_TLS_CERTDIR: ''
|
|
2042
2063
|
DOCKER_DRIVER: overlay2
|
|
2043
2064
|
DOCKER_BUILDKIT: '1'
|
|
@@ -2089,7 +2110,10 @@ before_script:
|
|
|
2089
2110
|
interruptible: true
|
|
2090
2111
|
'🔹 www 🧾 sbom | prod ':
|
|
2091
2112
|
stage: build
|
|
2092
|
-
image:
|
|
2113
|
+
image:
|
|
2114
|
+
name: aquasec/trivy:0.38.3
|
|
2115
|
+
entrypoint:
|
|
2116
|
+
- ''
|
|
2093
2117
|
variables: {}
|
|
2094
2118
|
script:
|
|
2095
2119
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -538,7 +538,7 @@ before_script:
|
|
|
538
538
|
- --tls=false
|
|
539
539
|
- --registry-mirror=https://mirror.gcr.io
|
|
540
540
|
variables:
|
|
541
|
-
DOCKER_HOST: tcp://
|
|
541
|
+
DOCKER_HOST: tcp://docker:2375
|
|
542
542
|
DOCKER_TLS_CERTDIR: ''
|
|
543
543
|
DOCKER_DRIVER: overlay2
|
|
544
544
|
DOCKER_BUILDKIT: '1'
|
|
@@ -590,7 +590,10 @@ before_script:
|
|
|
590
590
|
interruptible: true
|
|
591
591
|
'🔹 api 🧾 sbom | dev ':
|
|
592
592
|
stage: build
|
|
593
|
-
image:
|
|
593
|
+
image:
|
|
594
|
+
name: aquasec/trivy:0.38.3
|
|
595
|
+
entrypoint:
|
|
596
|
+
- ''
|
|
594
597
|
variables: {}
|
|
595
598
|
script:
|
|
596
599
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -751,7 +754,7 @@ before_script:
|
|
|
751
754
|
- --tls=false
|
|
752
755
|
- --registry-mirror=https://mirror.gcr.io
|
|
753
756
|
variables:
|
|
754
|
-
DOCKER_HOST: tcp://
|
|
757
|
+
DOCKER_HOST: tcp://docker:2375
|
|
755
758
|
DOCKER_TLS_CERTDIR: ''
|
|
756
759
|
DOCKER_DRIVER: overlay2
|
|
757
760
|
DOCKER_BUILDKIT: '1'
|
|
@@ -803,7 +806,10 @@ before_script:
|
|
|
803
806
|
interruptible: true
|
|
804
807
|
'🔹 api 🧾 sbom | review ':
|
|
805
808
|
stage: build
|
|
806
|
-
image:
|
|
809
|
+
image:
|
|
810
|
+
name: aquasec/trivy:0.38.3
|
|
811
|
+
entrypoint:
|
|
812
|
+
- ''
|
|
807
813
|
variables: {}
|
|
808
814
|
script:
|
|
809
815
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -970,7 +976,7 @@ before_script:
|
|
|
970
976
|
- --tls=false
|
|
971
977
|
- --registry-mirror=https://mirror.gcr.io
|
|
972
978
|
variables:
|
|
973
|
-
DOCKER_HOST: tcp://
|
|
979
|
+
DOCKER_HOST: tcp://docker:2375
|
|
974
980
|
DOCKER_TLS_CERTDIR: ''
|
|
975
981
|
DOCKER_DRIVER: overlay2
|
|
976
982
|
DOCKER_BUILDKIT: '1'
|
|
@@ -1022,7 +1028,10 @@ before_script:
|
|
|
1022
1028
|
interruptible: true
|
|
1023
1029
|
'🔹 api 🧾 sbom | stage ':
|
|
1024
1030
|
stage: build
|
|
1025
|
-
image:
|
|
1031
|
+
image:
|
|
1032
|
+
name: aquasec/trivy:0.38.3
|
|
1033
|
+
entrypoint:
|
|
1034
|
+
- ''
|
|
1026
1035
|
variables: {}
|
|
1027
1036
|
script:
|
|
1028
1037
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -1176,7 +1185,7 @@ before_script:
|
|
|
1176
1185
|
- --tls=false
|
|
1177
1186
|
- --registry-mirror=https://mirror.gcr.io
|
|
1178
1187
|
variables:
|
|
1179
|
-
DOCKER_HOST: tcp://
|
|
1188
|
+
DOCKER_HOST: tcp://docker:2375
|
|
1180
1189
|
DOCKER_TLS_CERTDIR: ''
|
|
1181
1190
|
DOCKER_DRIVER: overlay2
|
|
1182
1191
|
DOCKER_BUILDKIT: '1'
|
|
@@ -1228,7 +1237,10 @@ before_script:
|
|
|
1228
1237
|
interruptible: true
|
|
1229
1238
|
'🔹 api 🧾 sbom | prod ':
|
|
1230
1239
|
stage: build
|
|
1231
|
-
image:
|
|
1240
|
+
image:
|
|
1241
|
+
name: aquasec/trivy:0.38.3
|
|
1242
|
+
entrypoint:
|
|
1243
|
+
- ''
|
|
1232
1244
|
variables: {}
|
|
1233
1245
|
script:
|
|
1234
1246
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -1382,7 +1394,7 @@ before_script:
|
|
|
1382
1394
|
- --tls=false
|
|
1383
1395
|
- --registry-mirror=https://mirror.gcr.io
|
|
1384
1396
|
variables:
|
|
1385
|
-
DOCKER_HOST: tcp://
|
|
1397
|
+
DOCKER_HOST: tcp://docker:2375
|
|
1386
1398
|
DOCKER_TLS_CERTDIR: ''
|
|
1387
1399
|
DOCKER_DRIVER: overlay2
|
|
1388
1400
|
DOCKER_BUILDKIT: '1'
|
|
@@ -1434,7 +1446,10 @@ before_script:
|
|
|
1434
1446
|
interruptible: true
|
|
1435
1447
|
'🔹 www 🧾 sbom | dev ':
|
|
1436
1448
|
stage: build
|
|
1437
|
-
image:
|
|
1449
|
+
image:
|
|
1450
|
+
name: aquasec/trivy:0.38.3
|
|
1451
|
+
entrypoint:
|
|
1452
|
+
- ''
|
|
1438
1453
|
variables: {}
|
|
1439
1454
|
script:
|
|
1440
1455
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -1598,7 +1613,7 @@ before_script:
|
|
|
1598
1613
|
- --tls=false
|
|
1599
1614
|
- --registry-mirror=https://mirror.gcr.io
|
|
1600
1615
|
variables:
|
|
1601
|
-
DOCKER_HOST: tcp://
|
|
1616
|
+
DOCKER_HOST: tcp://docker:2375
|
|
1602
1617
|
DOCKER_TLS_CERTDIR: ''
|
|
1603
1618
|
DOCKER_DRIVER: overlay2
|
|
1604
1619
|
DOCKER_BUILDKIT: '1'
|
|
@@ -1650,7 +1665,10 @@ before_script:
|
|
|
1650
1665
|
interruptible: true
|
|
1651
1666
|
'🔹 www 🧾 sbom | review ':
|
|
1652
1667
|
stage: build
|
|
1653
|
-
image:
|
|
1668
|
+
image:
|
|
1669
|
+
name: aquasec/trivy:0.38.3
|
|
1670
|
+
entrypoint:
|
|
1671
|
+
- ''
|
|
1654
1672
|
variables: {}
|
|
1655
1673
|
script:
|
|
1656
1674
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -1820,7 +1838,7 @@ before_script:
|
|
|
1820
1838
|
- --tls=false
|
|
1821
1839
|
- --registry-mirror=https://mirror.gcr.io
|
|
1822
1840
|
variables:
|
|
1823
|
-
DOCKER_HOST: tcp://
|
|
1841
|
+
DOCKER_HOST: tcp://docker:2375
|
|
1824
1842
|
DOCKER_TLS_CERTDIR: ''
|
|
1825
1843
|
DOCKER_DRIVER: overlay2
|
|
1826
1844
|
DOCKER_BUILDKIT: '1'
|
|
@@ -1872,7 +1890,10 @@ before_script:
|
|
|
1872
1890
|
interruptible: true
|
|
1873
1891
|
'🔹 www 🧾 sbom | stage ':
|
|
1874
1892
|
stage: build
|
|
1875
|
-
image:
|
|
1893
|
+
image:
|
|
1894
|
+
name: aquasec/trivy:0.38.3
|
|
1895
|
+
entrypoint:
|
|
1896
|
+
- ''
|
|
1876
1897
|
variables: {}
|
|
1877
1898
|
script:
|
|
1878
1899
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -2029,7 +2050,7 @@ before_script:
|
|
|
2029
2050
|
- --tls=false
|
|
2030
2051
|
- --registry-mirror=https://mirror.gcr.io
|
|
2031
2052
|
variables:
|
|
2032
|
-
DOCKER_HOST: tcp://
|
|
2053
|
+
DOCKER_HOST: tcp://docker:2375
|
|
2033
2054
|
DOCKER_TLS_CERTDIR: ''
|
|
2034
2055
|
DOCKER_DRIVER: overlay2
|
|
2035
2056
|
DOCKER_BUILDKIT: '1'
|
|
@@ -2081,7 +2102,10 @@ before_script:
|
|
|
2081
2102
|
interruptible: true
|
|
2082
2103
|
'🔹 www 🧾 sbom | prod ':
|
|
2083
2104
|
stage: build
|
|
2084
|
-
image:
|
|
2105
|
+
image:
|
|
2106
|
+
name: aquasec/trivy:0.38.3
|
|
2107
|
+
entrypoint:
|
|
2108
|
+
- ''
|
|
2085
2109
|
variables: {}
|
|
2086
2110
|
script:
|
|
2087
2111
|
- collapseable_section_start "injectvars" "Injecting variables"
|
package/package.json
CHANGED
package/src/build/docker.ts
CHANGED
|
@@ -67,7 +67,7 @@ export const requiresDockerBuild = (context: ComponentContext): boolean => {
|
|
|
67
67
|
|
|
68
68
|
// those need to be runner variables
|
|
69
69
|
const getDockerBuildRunnerVariables = () => ({
|
|
70
|
-
DOCKER_HOST: "tcp://
|
|
70
|
+
DOCKER_HOST: "tcp://docker:2375",
|
|
71
71
|
DOCKER_TLS_CERTDIR: "",
|
|
72
72
|
DOCKER_DRIVER: "overlay2",
|
|
73
73
|
DOCKER_BUILDKIT: "1", // see https://docs.docker.com/develop/develop-images/build_enhancements/
|
package/src/build/sbom.ts
CHANGED
|
@@ -11,7 +11,10 @@ export const createSbomBuildJob = (
|
|
|
11
11
|
): CatladderJob => {
|
|
12
12
|
const buildConfig = context.build.config;
|
|
13
13
|
|
|
14
|
-
const defaultImage =
|
|
14
|
+
const defaultImage = {
|
|
15
|
+
name: "aquasec/trivy:0.38.3",
|
|
16
|
+
entrypoint: [""],
|
|
17
|
+
};
|
|
15
18
|
const defaultScript = [
|
|
16
19
|
`trivy fs --quiet --format cyclonedx --output "${SBOM_FILE}" ${
|
|
17
20
|
context.packageManagerInfo.componentIsInWorkspace
|