@catladder/pipeline 0.0.0-refactor-untangle-gitlab-api-requests-from-vorpal-57cf3cf2 → 0.0.0-reference-database-url-1befbbee
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/artifacts/createBuildJobArtifact.js +1 -1
- package/dist/build/base/index.d.ts +2 -3
- package/dist/build/cache/getAllCacheConfigsFromConfig.js +2 -2
- package/dist/build/custom/buildJob.d.ts +2 -2
- package/dist/build/custom/index.d.ts +2 -2
- package/dist/build/custom/testJob.d.ts +2 -2
- package/dist/build/docker.d.ts +4 -4
- package/dist/build/docker.js +1 -1
- package/dist/build/index.d.ts +2 -2
- package/dist/build/index.js +2 -3
- package/dist/build/node/buildJob.d.ts +5 -3
- package/dist/build/node/index.d.ts +4 -4
- package/dist/build/node/meteor.d.ts +2 -2
- package/dist/build/node/yarn.d.ts +1 -1
- package/dist/build/node/yarn.js +1 -1
- package/dist/build/rails/build.d.ts +2 -2
- package/dist/build/rails/build.js +1 -1
- package/dist/build/rails/index.d.ts +2 -2
- package/dist/build/rails/test.js +13 -2
- package/dist/build/sbom.d.ts +2 -2
- package/dist/build/sbom.js +4 -1
- package/dist/build/types.d.ts +8 -0
- package/dist/constants.js +1 -1
- package/dist/context/createComponentContext.js +11 -4
- package/dist/context/getLabels.js +1 -1
- package/dist/deploy/cloudRun/createJobs/cloudRunJobs.js +2 -2
- package/dist/deploy/cloudRun/createJobs/cloudRunServices.js +34 -12
- package/dist/deploy/cloudRun/createJobs/execute/onDeploy.d.ts +2 -3
- package/dist/deploy/cloudRun/createJobs/execute/onDeploy.js +4 -9
- package/dist/deploy/cloudRun/createJobs/healthCheck.d.ts +5 -0
- package/dist/deploy/cloudRun/createJobs/healthCheck.js +82 -0
- package/dist/deploy/cloudRun/index.js +7 -5
- package/dist/deploy/cloudRun/utils/database.d.ts +21 -2
- package/dist/deploy/cloudRun/utils/database.js +27 -6
- package/dist/deploy/cloudRun/utils/getJobOrServiceArgs.d.ts +2 -0
- package/dist/deploy/cloudRun/utils/getJobOrServiceArgs.js +12 -0
- package/dist/deploy/kubernetes/kubeValues.d.ts +2 -2
- package/dist/deploy/kubernetes/kubeValues.js +1 -1
- package/dist/deploy/sbom.js +1 -1
- package/dist/deploy/types/googleCloudRun.d.ts +100 -0
- package/dist/deploy/types/googleCloudRun.js +25 -0
- package/dist/pipeline/createJobsForComponent.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/config.d.ts +1 -1
- package/dist/types/context.d.ts +6 -1
- package/examples/__snapshots__/cloud-run-health-check-defaults.test.ts.snap +1394 -0
- package/examples/__snapshots__/cloud-run-health-check-only-startup.test.ts.snap +1394 -0
- package/examples/__snapshots__/cloud-run-health-check.test.ts.snap +1394 -0
- package/examples/__snapshots__/cloud-run-http2.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-llama.test.ts.snap +624 -0
- package/examples/__snapshots__/cloud-run-memory-limit.test.ts.snap +20 -8
- package/examples/__snapshots__/cloud-run-meteor-with-worker.test.ts.snap +24 -12
- 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 +1394 -0
- 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-multiple-dbs.test.ts.snap +4515 -0
- 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 +30 -17
- package/examples/__snapshots__/rails-k8s-with-worker.test.ts.snap +38 -29
- 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/examples/cloud-run-health-check-defaults.test.ts +11 -0
- package/examples/cloud-run-health-check-defaults.ts +28 -0
- package/examples/cloud-run-health-check-only-startup.test.ts +11 -0
- package/examples/cloud-run-health-check-only-startup.ts +38 -0
- package/examples/cloud-run-health-check.test.ts +11 -0
- package/examples/cloud-run-health-check.ts +45 -0
- package/examples/cloud-run-http2.ts +2 -2
- package/examples/cloud-run-llama.test.ts +11 -0
- package/examples/cloud-run-llama.ts +40 -0
- package/examples/cloud-run-memory-limit.ts +2 -2
- package/examples/cloud-run-meteor-with-worker.ts +7 -3
- package/examples/cloud-run-nextjs.ts +2 -2
- package/examples/cloud-run-no-cpu-throttling.ts +2 -2
- package/examples/cloud-run-no-service.ts +2 -2
- package/examples/cloud-run-non-public.ts +2 -2
- package/examples/cloud-run-post-stop-job.ts +2 -2
- package/examples/cloud-run-service-custom-vpc-connector.ts +2 -2
- package/examples/cloud-run-service-custom-vpc.ts +2 -2
- package/examples/cloud-run-service-gen2.ts +2 -2
- package/examples/cloud-run-service-increase-timout.ts +2 -2
- package/examples/cloud-run-service-with-volumes.ts +2 -2
- package/examples/cloud-run-storybook.ts +2 -2
- package/examples/cloud-run-with-gpu.test.ts +11 -0
- package/examples/cloud-run-with-gpu.ts +30 -0
- package/examples/cloud-run-with-ngnix.ts +2 -2
- package/examples/cloud-run-with-sql-legacy-jobs.ts +2 -2
- package/examples/cloud-run-with-sql-multiple-dbs.test.ts +11 -0
- package/examples/cloud-run-with-sql-multiple-dbs.ts +87 -0
- package/examples/cloud-run-with-sql-reuse-db.ts +2 -2
- package/examples/cloud-run-with-sql.ts +2 -2
- package/examples/cloud-run-with-worker.ts +2 -2
- package/examples/custom-build-job-with-tests.ts +2 -2
- package/examples/custom-build-job.ts +2 -2
- package/examples/custom-deploy.ts +2 -2
- package/examples/custom-envs.ts +2 -2
- package/examples/custom-sbom-java.ts +2 -2
- package/examples/custom-verify-job.ts +2 -2
- package/examples/git-submodule.ts +2 -2
- package/examples/kubernetes-application-customization.ts +2 -2
- package/examples/kubernetes-with-cloud-sql.ts +2 -2
- package/examples/kubernetes-with-jobs.ts +2 -2
- package/examples/kubernetes-with-mongodb.ts +2 -2
- package/examples/local-dot-env.ts +2 -2
- package/examples/meteor-kubernetes.ts +2 -2
- package/examples/multiline-var.ts +2 -2
- package/examples/native-app.ts +2 -2
- package/examples/node-build-with-custom-image.ts +2 -2
- package/examples/node-build-with-docker-additions.ts +2 -2
- package/examples/override-secrets.ts +2 -2
- package/examples/rails-k8s-with-worker.ts +2 -2
- package/examples/referencing-other-vars.ts +2 -2
- package/examples/wait-for-other-deploy.ts +1 -1
- package/examples/workspace-api-www-turbo-cache.ts +2 -2
- package/examples/workspace-api-www.ts +2 -2
- package/package.json +1 -1
- package/src/build/artifacts/createBuildJobArtifact.ts +3 -1
- package/src/build/base/index.ts +5 -2
- package/src/build/cache/getAllCacheConfigsFromConfig.ts +7 -6
- package/src/build/custom/buildJob.ts +2 -2
- package/src/build/custom/index.ts +4 -2
- package/src/build/custom/testJob.ts +2 -2
- package/src/build/docker.ts +9 -5
- package/src/build/index.ts +7 -5
- package/src/build/node/buildJob.ts +5 -2
- package/src/build/node/index.ts +9 -4
- package/src/build/node/meteor.ts +5 -2
- package/src/build/node/yarn.ts +4 -2
- package/src/build/rails/build.ts +3 -8
- package/src/build/rails/index.ts +4 -2
- package/src/build/rails/test.ts +19 -0
- package/src/build/sbom.ts +8 -3
- package/src/build/types.ts +8 -0
- package/src/context/createComponentContext.ts +22 -9
- package/src/context/getLabels.ts +4 -1
- package/src/deploy/cloudRun/createJobs/cloudRunJobs.ts +2 -2
- package/src/deploy/cloudRun/createJobs/cloudRunServices.ts +30 -3
- package/src/deploy/cloudRun/createJobs/execute/onDeploy.ts +3 -13
- package/src/deploy/cloudRun/createJobs/healthCheck.ts +64 -0
- package/src/deploy/cloudRun/index.ts +14 -5
- package/src/deploy/cloudRun/utils/database.ts +93 -8
- package/src/deploy/cloudRun/utils/getJobOrServiceArgs.ts +18 -0
- package/src/deploy/kubernetes/kubeValues.ts +13 -4
- package/src/deploy/sbom.ts +4 -3
- package/src/deploy/types/googleCloudRun.ts +135 -0
- package/src/pipeline/createJobsForComponent.ts +10 -2
- package/src/types/config.ts +1 -1
- package/src/types/context.ts +10 -1
|
@@ -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.58.2
|
|
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.58.2
|
|
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.58.2
|
|
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.58.2
|
|
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.58.2
|
|
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.58.2
|
|
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.58.2
|
|
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.58.2
|
|
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.58.2
|
|
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.58.2
|
|
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.58.2
|
|
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.58.2
|
|
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.58.2
|
|
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.58.2
|
|
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.58.2
|
|
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.58.2
|
|
2107
|
+
entrypoint:
|
|
2108
|
+
- ''
|
|
2085
2109
|
variables: {}
|
|
2086
2110
|
script:
|
|
2087
2111
|
- collapseable_section_start "injectvars" "Injecting variables"
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { createYamlLocalPipeline } from "./__utils__/helpers";
|
|
2
|
+
import config from "./cloud-run-health-check-defaults";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
it("matches snapshot for cloud-run-health-check-defaults local pipeline YAML", async () => {
|
|
10
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
11
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { Config } from "../src";
|
|
2
|
+
|
|
3
|
+
const config = {
|
|
4
|
+
appName: "test-app",
|
|
5
|
+
customerName: "pan",
|
|
6
|
+
components: {
|
|
7
|
+
www: {
|
|
8
|
+
dir: "www",
|
|
9
|
+
build: {
|
|
10
|
+
type: "node",
|
|
11
|
+
},
|
|
12
|
+
deploy: {
|
|
13
|
+
type: "google-cloudrun",
|
|
14
|
+
projectId: "google-project-id",
|
|
15
|
+
region: "europe-west6",
|
|
16
|
+
service: {
|
|
17
|
+
healthCheck: true,
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
} satisfies Config;
|
|
23
|
+
|
|
24
|
+
export default config;
|
|
25
|
+
|
|
26
|
+
export const information = {
|
|
27
|
+
title: "Cloud Run: Health Check",
|
|
28
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { createYamlLocalPipeline } from "./__utils__/helpers";
|
|
2
|
+
import config from "./cloud-run-health-check-only-startup";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
it("matches snapshot for cloud-run-health-check-only-startup local pipeline YAML", async () => {
|
|
10
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
11
|
+
});
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { Config } from "../src";
|
|
2
|
+
|
|
3
|
+
const config = {
|
|
4
|
+
appName: "test-app",
|
|
5
|
+
customerName: "pan",
|
|
6
|
+
components: {
|
|
7
|
+
www: {
|
|
8
|
+
dir: "www",
|
|
9
|
+
build: {
|
|
10
|
+
type: "node",
|
|
11
|
+
},
|
|
12
|
+
deploy: {
|
|
13
|
+
type: "google-cloudrun",
|
|
14
|
+
projectId: "google-project-id",
|
|
15
|
+
region: "europe-west6",
|
|
16
|
+
service: {
|
|
17
|
+
healthCheck: {
|
|
18
|
+
livenessProbe: false,
|
|
19
|
+
startupProbe: {
|
|
20
|
+
type: "http1",
|
|
21
|
+
failureThreshold: 43,
|
|
22
|
+
initialDelaySeconds: 4,
|
|
23
|
+
path: "/something2",
|
|
24
|
+
periodSeconds: 5,
|
|
25
|
+
timeoutSeconds: 6,
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
} satisfies Config;
|
|
33
|
+
|
|
34
|
+
export default config;
|
|
35
|
+
|
|
36
|
+
export const information = {
|
|
37
|
+
title: "Cloud Run: Health Check",
|
|
38
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { createYamlLocalPipeline } from "./__utils__/helpers";
|
|
2
|
+
import config from "./cloud-run-health-check";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
it("matches snapshot for cloud-run-health-check local pipeline YAML", async () => {
|
|
10
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
11
|
+
});
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { Config } from "../src";
|
|
2
|
+
|
|
3
|
+
const config = {
|
|
4
|
+
appName: "test-app",
|
|
5
|
+
customerName: "pan",
|
|
6
|
+
components: {
|
|
7
|
+
www: {
|
|
8
|
+
dir: "www",
|
|
9
|
+
build: {
|
|
10
|
+
type: "node",
|
|
11
|
+
},
|
|
12
|
+
deploy: {
|
|
13
|
+
type: "google-cloudrun",
|
|
14
|
+
projectId: "google-project-id",
|
|
15
|
+
region: "europe-west6",
|
|
16
|
+
service: {
|
|
17
|
+
healthCheck: {
|
|
18
|
+
livenessProbe: {
|
|
19
|
+
type: "http1",
|
|
20
|
+
failureThreshold: 42,
|
|
21
|
+
initialDelaySeconds: 1,
|
|
22
|
+
path: "/something",
|
|
23
|
+
periodSeconds: 2,
|
|
24
|
+
timeoutSeconds: 3,
|
|
25
|
+
},
|
|
26
|
+
startupProbe: {
|
|
27
|
+
type: "http1",
|
|
28
|
+
failureThreshold: 43,
|
|
29
|
+
initialDelaySeconds: 4,
|
|
30
|
+
path: "/something2",
|
|
31
|
+
periodSeconds: 5,
|
|
32
|
+
timeoutSeconds: 6,
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
} satisfies Config;
|
|
40
|
+
|
|
41
|
+
export default config;
|
|
42
|
+
|
|
43
|
+
export const information = {
|
|
44
|
+
title: "Cloud Run: Health Check",
|
|
45
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
2
|
|
|
3
|
-
const config
|
|
3
|
+
const config = {
|
|
4
4
|
appName: "test-app",
|
|
5
5
|
customerName: "pan",
|
|
6
6
|
components: {
|
|
@@ -20,7 +20,7 @@ const config: Config = {
|
|
|
20
20
|
},
|
|
21
21
|
},
|
|
22
22
|
},
|
|
23
|
-
};
|
|
23
|
+
} satisfies Config;
|
|
24
24
|
|
|
25
25
|
export default config;
|
|
26
26
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { createYamlLocalPipeline } from "./__utils__/helpers";
|
|
2
|
+
import config from "./cloud-run-llama";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This test is auto-generated.
|
|
6
|
+
* Modifications will be overwritten on every `yarn test` run!
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
it("matches snapshot for cloud-run-llama local pipeline YAML", async () => {
|
|
10
|
+
expect(await createYamlLocalPipeline(config)).toMatchSnapshot();
|
|
11
|
+
});
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { Config } from "../src";
|
|
2
|
+
|
|
3
|
+
const config = {
|
|
4
|
+
appName: "my-ai-app",
|
|
5
|
+
customerName: "pan",
|
|
6
|
+
components: {
|
|
7
|
+
llm: {
|
|
8
|
+
dir: "llm",
|
|
9
|
+
build: false,
|
|
10
|
+
vars: {
|
|
11
|
+
secret: ["HF_TOKEN"],
|
|
12
|
+
},
|
|
13
|
+
deploy: {
|
|
14
|
+
type: "google-cloudrun",
|
|
15
|
+
projectId: "google-project-id",
|
|
16
|
+
region: "europe-west4", // verify in which regions GPUs are available, europe-west6 is not supported as of time of writing
|
|
17
|
+
service: {
|
|
18
|
+
image:
|
|
19
|
+
"us-docker.pkg.dev/deeplearning-platform-release/gcr.io/huggingface-text-generation-inference-cu124.2-3.ubuntu2204.py311",
|
|
20
|
+
args: [
|
|
21
|
+
"--model-id=meta-llama/Llama-3.2-1B-Instruct",
|
|
22
|
+
"--max-concurrent-requests=1",
|
|
23
|
+
],
|
|
24
|
+
cpu: 8,
|
|
25
|
+
|
|
26
|
+
noCpuThrottling: true, // must be set to true for GPUs
|
|
27
|
+
gpu: 1,
|
|
28
|
+
gpuType: "nvidia-l4",
|
|
29
|
+
memory: "32Gi",
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
} satisfies Config;
|
|
35
|
+
|
|
36
|
+
export default config;
|
|
37
|
+
|
|
38
|
+
export const information = {
|
|
39
|
+
title: "Cloud Run: llama example",
|
|
40
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
2
|
|
|
3
|
-
const config
|
|
3
|
+
const config = {
|
|
4
4
|
appName: "test-app",
|
|
5
5
|
customerName: "pan",
|
|
6
6
|
components: {
|
|
@@ -24,7 +24,7 @@ const config: Config = {
|
|
|
24
24
|
},
|
|
25
25
|
},
|
|
26
26
|
},
|
|
27
|
-
};
|
|
27
|
+
} satisfies Config;
|
|
28
28
|
|
|
29
29
|
export default config;
|
|
30
30
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
2
|
|
|
3
|
-
const config
|
|
3
|
+
const config = {
|
|
4
4
|
appName: "test-app",
|
|
5
5
|
customerName: "pan",
|
|
6
6
|
components: {
|
|
@@ -22,13 +22,17 @@ const config: Config = {
|
|
|
22
22
|
noCpuThrottling: true,
|
|
23
23
|
maxInstances: 1,
|
|
24
24
|
minInstances: 1,
|
|
25
|
-
command: [
|
|
25
|
+
command: [
|
|
26
|
+
"/bin/sh",
|
|
27
|
+
"-c",
|
|
28
|
+
"BACKGROUND_JOBS_ENABLED=1 node main.js",
|
|
29
|
+
],
|
|
26
30
|
},
|
|
27
31
|
},
|
|
28
32
|
},
|
|
29
33
|
},
|
|
30
34
|
},
|
|
31
|
-
};
|
|
35
|
+
} satisfies Config;
|
|
32
36
|
|
|
33
37
|
export default config;
|
|
34
38
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
2
|
|
|
3
|
-
const config
|
|
3
|
+
const config = {
|
|
4
4
|
appName: "test-app",
|
|
5
5
|
customerName: "pan",
|
|
6
6
|
components: {
|
|
@@ -19,7 +19,7 @@ const config: Config = {
|
|
|
19
19
|
},
|
|
20
20
|
},
|
|
21
21
|
},
|
|
22
|
-
};
|
|
22
|
+
} satisfies Config;
|
|
23
23
|
|
|
24
24
|
export default config;
|
|
25
25
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
2
|
|
|
3
|
-
const config
|
|
3
|
+
const config = {
|
|
4
4
|
appName: "test-app",
|
|
5
5
|
customerName: "pan",
|
|
6
6
|
components: {
|
|
@@ -26,7 +26,7 @@ const config: Config = {
|
|
|
26
26
|
},
|
|
27
27
|
},
|
|
28
28
|
},
|
|
29
|
-
};
|
|
29
|
+
} satisfies Config;
|
|
30
30
|
|
|
31
31
|
export default config;
|
|
32
32
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
2
|
|
|
3
|
-
const config
|
|
3
|
+
const config = {
|
|
4
4
|
appName: "test-app",
|
|
5
5
|
customerName: "pan",
|
|
6
6
|
components: {
|
|
@@ -30,7 +30,7 @@ const config: Config = {
|
|
|
30
30
|
},
|
|
31
31
|
},
|
|
32
32
|
},
|
|
33
|
-
};
|
|
33
|
+
} satisfies Config;
|
|
34
34
|
|
|
35
35
|
export default config;
|
|
36
36
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
2
|
|
|
3
|
-
const config
|
|
3
|
+
const config = {
|
|
4
4
|
appName: "test-app",
|
|
5
5
|
customerName: "pan",
|
|
6
6
|
components: {
|
|
@@ -19,7 +19,7 @@ const config: Config = {
|
|
|
19
19
|
},
|
|
20
20
|
},
|
|
21
21
|
},
|
|
22
|
-
};
|
|
22
|
+
} satisfies Config;
|
|
23
23
|
|
|
24
24
|
export default config;
|
|
25
25
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Config } from "../src";
|
|
2
2
|
|
|
3
|
-
const config
|
|
3
|
+
const config = {
|
|
4
4
|
appName: "test-app",
|
|
5
5
|
customerName: "pan",
|
|
6
6
|
components: {
|
|
@@ -40,7 +40,7 @@ const config: Config = {
|
|
|
40
40
|
},
|
|
41
41
|
},
|
|
42
42
|
},
|
|
43
|
-
};
|
|
43
|
+
} satisfies Config;
|
|
44
44
|
|
|
45
45
|
export default config;
|
|
46
46
|
|