@catladder/pipeline 1.89.4 → 1.91.0
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/bundles/catladder-gitlab/index.js +3 -3
- package/dist/constants.js +1 -1
- package/dist/context/getEnvironmentVariables.d.ts +5 -1
- package/dist/context/getEnvironmentVariables.js +7 -2
- package/dist/deploy/cloudRun/index.js +14 -5
- package/dist/deploy/cloudSql/utils.d.ts +3 -0
- package/dist/deploy/cloudSql/utils.js +9 -0
- package/dist/deploy/custom/deployJob.js +6 -3
- package/dist/deploy/index.d.ts +2 -1
- package/dist/deploy/kubernetes/additionalSecretKeys.d.ts +3 -1
- package/dist/deploy/kubernetes/additionalSecretKeys.js +5 -1
- package/dist/deploy/kubernetes/cloudSql/index.d.ts +10 -10
- package/dist/deploy/kubernetes/cloudSql/index.js +36 -15
- package/dist/deploy/kubernetes/kubeValues.d.ts +1 -6
- package/dist/deploy/kubernetes/kubeValues.js +1 -1
- package/dist/deploy/kubernetes/processSecretsAsFiles.d.ts +1 -6
- package/dist/deploy/types/kubernetes.d.ts +54 -6
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/config.d.ts +3 -3
- package/dist/types/context.d.ts +2 -1
- package/examples/__snapshots__/cloud-run-memory-limit.ts.snap +24 -12
- package/examples/__snapshots__/cloud-run-no-cpu-throttling.ts.snap +24 -12
- package/examples/__snapshots__/cloud-run-non-public.ts.snap +24 -12
- package/examples/__snapshots__/cloud-run-with-sql-reuse-db.ts.snap +48 -24
- package/examples/__snapshots__/cloud-run-with-sql.ts.snap +48 -24
- package/examples/__snapshots__/custom-build-job.ts.snap +24 -12
- package/examples/__snapshots__/custom-deploy.ts.snap +1384 -0
- package/examples/__snapshots__/kubernetes-with-cloud-sql-legacy.ts.snap +48 -12
- package/examples/__snapshots__/kubernetes-with-cloud-sql.ts.snap +2252 -0
- package/examples/__snapshots__/rails-k8s-with-worker.ts.snap +48 -12
- package/examples/custom-deploy.ts +25 -0
- package/examples/kubernetes-with-cloud-sql.ts +35 -0
- package/package.json +1 -1
- package/src/context/getEnvironmentVariables.ts +9 -4
- package/src/deploy/cloudRun/deployJob.ts +1 -1
- package/src/deploy/cloudRun/index.ts +16 -10
- package/src/deploy/cloudSql/utils.ts +23 -0
- package/src/deploy/custom/deployJob.ts +9 -1
- package/src/deploy/index.ts +4 -1
- package/src/deploy/kubernetes/additionalSecretKeys.ts +1 -1
- package/src/deploy/kubernetes/cloudSql/index.ts +58 -14
- package/src/deploy/kubernetes/kubeValues.ts +7 -2
- package/src/deploy/types/kubernetes.ts +59 -6
- package/src/types/context.ts +2 -1
|
@@ -86,8 +86,11 @@ application:
|
|
|
86
86
|
httpGet:
|
|
87
87
|
path: '__health'
|
|
88
88
|
cloudsql:
|
|
89
|
-
proxyCredentials: '$CL_dev_api_cloudsqlProxyCredentials'
|
|
90
89
|
enabled: true
|
|
90
|
+
dbUser: 'postgres'
|
|
91
|
+
instanceConnectionName: 'skynet-164509:europe-west6:pan-test-app-dev'
|
|
92
|
+
proxyCredentials: '$CL_dev_api_cloudsqlProxyCredentials'
|
|
93
|
+
fullDbName: 'api'
|
|
91
94
|
",
|
|
92
95
|
"POSTGRESQL_PASSWORD": "$CL_dev_api_POSTGRESQL_PASSWORD",
|
|
93
96
|
"RELEASE_NAME": "pan-test-app-dev-api",
|
|
@@ -387,8 +390,11 @@ application:
|
|
|
387
390
|
httpGet:
|
|
388
391
|
path: '__health'
|
|
389
392
|
cloudsql:
|
|
390
|
-
proxyCredentials: '$CL_dev_api_cloudsqlProxyCredentials'
|
|
391
393
|
enabled: true
|
|
394
|
+
dbUser: 'postgres'
|
|
395
|
+
instanceConnectionName: 'skynet-164509:europe-west6:pan-test-app-dev'
|
|
396
|
+
proxyCredentials: '$CL_dev_api_cloudsqlProxyCredentials'
|
|
397
|
+
fullDbName: 'api'
|
|
392
398
|
",
|
|
393
399
|
"POSTGRESQL_PASSWORD": "$CL_dev_api_POSTGRESQL_PASSWORD",
|
|
394
400
|
"RELEASE_NAME": "pan-test-app-dev-api",
|
|
@@ -483,8 +489,11 @@ application:
|
|
|
483
489
|
httpGet:
|
|
484
490
|
path: '__health'
|
|
485
491
|
cloudsql:
|
|
486
|
-
proxyCredentials: '$CL_dev_api_cloudsqlProxyCredentials'
|
|
487
492
|
enabled: true
|
|
493
|
+
dbUser: 'postgres'
|
|
494
|
+
instanceConnectionName: 'skynet-164509:europe-west6:pan-test-app-dev'
|
|
495
|
+
proxyCredentials: '$CL_dev_api_cloudsqlProxyCredentials'
|
|
496
|
+
fullDbName: 'api'
|
|
488
497
|
",
|
|
489
498
|
"POSTGRESQL_PASSWORD": "$CL_dev_api_POSTGRESQL_PASSWORD",
|
|
490
499
|
"RELEASE_NAME": "pan-test-app-dev-api",
|
|
@@ -715,8 +724,11 @@ application:
|
|
|
715
724
|
httpGet:
|
|
716
725
|
path: '__health'
|
|
717
726
|
cloudsql:
|
|
718
|
-
proxyCredentials: '$CL_review_api_cloudsqlProxyCredentials'
|
|
719
727
|
enabled: true
|
|
728
|
+
dbUser: 'postgres'
|
|
729
|
+
instanceConnectionName: 'skynet-164509:europe-west6:pan-test-app-review'
|
|
730
|
+
proxyCredentials: '$CL_review_api_cloudsqlProxyCredentials'
|
|
731
|
+
fullDbName: 'mr1234-api'
|
|
720
732
|
",
|
|
721
733
|
"POSTGRESQL_PASSWORD": "$CL_review_api_POSTGRESQL_PASSWORD",
|
|
722
734
|
"RELEASE_NAME": "pan-test-app-review-mr1234-api",
|
|
@@ -1016,8 +1028,11 @@ application:
|
|
|
1016
1028
|
httpGet:
|
|
1017
1029
|
path: '__health'
|
|
1018
1030
|
cloudsql:
|
|
1019
|
-
proxyCredentials: '$CL_review_api_cloudsqlProxyCredentials'
|
|
1020
1031
|
enabled: true
|
|
1032
|
+
dbUser: 'postgres'
|
|
1033
|
+
instanceConnectionName: 'skynet-164509:europe-west6:pan-test-app-review'
|
|
1034
|
+
proxyCredentials: '$CL_review_api_cloudsqlProxyCredentials'
|
|
1035
|
+
fullDbName: 'mr1234-api'
|
|
1021
1036
|
",
|
|
1022
1037
|
"POSTGRESQL_PASSWORD": "$CL_review_api_POSTGRESQL_PASSWORD",
|
|
1023
1038
|
"RELEASE_NAME": "pan-test-app-review-mr1234-api",
|
|
@@ -1112,8 +1127,11 @@ application:
|
|
|
1112
1127
|
httpGet:
|
|
1113
1128
|
path: '__health'
|
|
1114
1129
|
cloudsql:
|
|
1115
|
-
proxyCredentials: '$CL_review_api_cloudsqlProxyCredentials'
|
|
1116
1130
|
enabled: true
|
|
1131
|
+
dbUser: 'postgres'
|
|
1132
|
+
instanceConnectionName: 'skynet-164509:europe-west6:pan-test-app-review'
|
|
1133
|
+
proxyCredentials: '$CL_review_api_cloudsqlProxyCredentials'
|
|
1134
|
+
fullDbName: 'mr1234-api'
|
|
1117
1135
|
",
|
|
1118
1136
|
"POSTGRESQL_PASSWORD": "$CL_review_api_POSTGRESQL_PASSWORD",
|
|
1119
1137
|
"RELEASE_NAME": "pan-test-app-review-mr1234-api",
|
|
@@ -1344,8 +1362,11 @@ application:
|
|
|
1344
1362
|
httpGet:
|
|
1345
1363
|
path: '__health'
|
|
1346
1364
|
cloudsql:
|
|
1347
|
-
proxyCredentials: '$CL_prod_api_cloudsqlProxyCredentials'
|
|
1348
1365
|
enabled: true
|
|
1366
|
+
dbUser: 'postgres'
|
|
1367
|
+
instanceConnectionName: 'skynet-164509:europe-west6:pan-test-app-prod'
|
|
1368
|
+
proxyCredentials: '$CL_prod_api_cloudsqlProxyCredentials'
|
|
1369
|
+
fullDbName: 'api'
|
|
1349
1370
|
",
|
|
1350
1371
|
"POSTGRESQL_PASSWORD": "$CL_prod_api_POSTGRESQL_PASSWORD",
|
|
1351
1372
|
"RELEASE_NAME": "pan-test-app-prod-api",
|
|
@@ -1435,8 +1456,11 @@ application:
|
|
|
1435
1456
|
httpGet:
|
|
1436
1457
|
path: '__health'
|
|
1437
1458
|
cloudsql:
|
|
1438
|
-
proxyCredentials: '$CL_stage_api_cloudsqlProxyCredentials'
|
|
1439
1459
|
enabled: true
|
|
1460
|
+
dbUser: 'postgres'
|
|
1461
|
+
instanceConnectionName: 'skynet-164509:europe-west6:pan-test-app-stage'
|
|
1462
|
+
proxyCredentials: '$CL_stage_api_cloudsqlProxyCredentials'
|
|
1463
|
+
fullDbName: 'api'
|
|
1440
1464
|
",
|
|
1441
1465
|
"POSTGRESQL_PASSWORD": "$CL_stage_api_POSTGRESQL_PASSWORD",
|
|
1442
1466
|
"RELEASE_NAME": "pan-test-app-stage-api",
|
|
@@ -1821,8 +1845,11 @@ application:
|
|
|
1821
1845
|
httpGet:
|
|
1822
1846
|
path: '__health'
|
|
1823
1847
|
cloudsql:
|
|
1824
|
-
proxyCredentials: '$CL_prod_api_cloudsqlProxyCredentials'
|
|
1825
1848
|
enabled: true
|
|
1849
|
+
dbUser: 'postgres'
|
|
1850
|
+
instanceConnectionName: 'skynet-164509:europe-west6:pan-test-app-prod'
|
|
1851
|
+
proxyCredentials: '$CL_prod_api_cloudsqlProxyCredentials'
|
|
1852
|
+
fullDbName: 'api'
|
|
1826
1853
|
",
|
|
1827
1854
|
"POSTGRESQL_PASSWORD": "$CL_prod_api_POSTGRESQL_PASSWORD",
|
|
1828
1855
|
"RELEASE_NAME": "pan-test-app-prod-api",
|
|
@@ -1929,8 +1956,11 @@ application:
|
|
|
1929
1956
|
httpGet:
|
|
1930
1957
|
path: '__health'
|
|
1931
1958
|
cloudsql:
|
|
1932
|
-
proxyCredentials: '$CL_stage_api_cloudsqlProxyCredentials'
|
|
1933
1959
|
enabled: true
|
|
1960
|
+
dbUser: 'postgres'
|
|
1961
|
+
instanceConnectionName: 'skynet-164509:europe-west6:pan-test-app-stage'
|
|
1962
|
+
proxyCredentials: '$CL_stage_api_cloudsqlProxyCredentials'
|
|
1963
|
+
fullDbName: 'api'
|
|
1934
1964
|
",
|
|
1935
1965
|
"POSTGRESQL_PASSWORD": "$CL_stage_api_POSTGRESQL_PASSWORD",
|
|
1936
1966
|
"RELEASE_NAME": "pan-test-app-stage-api",
|
|
@@ -2025,8 +2055,11 @@ application:
|
|
|
2025
2055
|
httpGet:
|
|
2026
2056
|
path: '__health'
|
|
2027
2057
|
cloudsql:
|
|
2028
|
-
proxyCredentials: '$CL_prod_api_cloudsqlProxyCredentials'
|
|
2029
2058
|
enabled: true
|
|
2059
|
+
dbUser: 'postgres'
|
|
2060
|
+
instanceConnectionName: 'skynet-164509:europe-west6:pan-test-app-prod'
|
|
2061
|
+
proxyCredentials: '$CL_prod_api_cloudsqlProxyCredentials'
|
|
2062
|
+
fullDbName: 'api'
|
|
2030
2063
|
",
|
|
2031
2064
|
"POSTGRESQL_PASSWORD": "$CL_prod_api_POSTGRESQL_PASSWORD",
|
|
2032
2065
|
"RELEASE_NAME": "pan-test-app-prod-api",
|
|
@@ -2121,8 +2154,11 @@ application:
|
|
|
2121
2154
|
httpGet:
|
|
2122
2155
|
path: '__health'
|
|
2123
2156
|
cloudsql:
|
|
2124
|
-
proxyCredentials: '$CL_stage_api_cloudsqlProxyCredentials'
|
|
2125
2157
|
enabled: true
|
|
2158
|
+
dbUser: 'postgres'
|
|
2159
|
+
instanceConnectionName: 'skynet-164509:europe-west6:pan-test-app-stage'
|
|
2160
|
+
proxyCredentials: '$CL_stage_api_cloudsqlProxyCredentials'
|
|
2161
|
+
fullDbName: 'api'
|
|
2126
2162
|
",
|
|
2127
2163
|
"POSTGRESQL_PASSWORD": "$CL_stage_api_POSTGRESQL_PASSWORD",
|
|
2128
2164
|
"RELEASE_NAME": "pan-test-app-stage-api",
|