@vaharoni/devops 1.1.1 → 1.1.3
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/cli/init.d.ts.map +1 -1
- package/dist/cli/init.js +196 -46
- package/dist/libs/init-generator.d.ts +41 -0
- package/dist/libs/init-generator.d.ts.map +1 -0
- package/dist/libs/init-generator.js +123 -0
- package/package.json +3 -1
- package/src/cli/init.ts +221 -48
- package/src/libs/init-generator.ts +165 -0
- package/src/target-templates/README.md +1 -0
- package/src/target-templates/cluster-resource-options/README.md +2 -0
- package/src/target-templates/{.devops → cluster-resource-options}/postgres/production/configurations/07-SGObjectStorage.yaml +1 -1
- package/src/target-templates/{.devops → cluster-resource-options}/postgres/production/configurations/08-SGScript.yaml +1 -1
- package/src/target-templates/{.devops → cluster-resource-options}/postgres/staging/configurations/07-SGObjectStorage.yaml +1 -1
- package/src/target-templates/{.devops → cluster-resource-options}/postgres/staging/configurations/08-SGScript.yaml +1 -1
- package/src/target-templates/infra-variants/README.md +2 -0
- package/src/target-templates/infra-variants/digitalocean/.devops/config/constants.yaml +18 -0
- package/src/target-templates/infra-variants/digitalocean/.github/workflows/k8s-build.yaml +73 -0
- package/src/target-templates/infra-variants/gcloud/.devops/config/constants.yaml +15 -0
- package/src/target-templates/infra-variants/gcloud/.devops/manifests/ingress.yaml.hb +22 -0
- package/src/target-templates/{.github → infra-variants/gcloud/.github}/workflows/k8s-build.yaml +2 -12
- package/src/target-templates/{.devops → infra-variants/hetzner/.devops}/config/constants.yaml +3 -3
- package/src/target-templates/{.devops → infra-variants/hetzner/.devops}/infra/hetzner/abandoned/harbor-values.yaml +2 -2
- package/src/target-templates/{.devops → infra-variants/hetzner/.devops}/infra/hetzner/abandoned/hcloud-config.yaml +1 -1
- package/src/target-templates/{.devops → infra-variants/hetzner/.devops}/infra/hetzner/harbor-cert.yaml +2 -2
- package/src/target-templates/{.devops → infra-variants/hetzner/.devops}/infra/hetzner/harbor-values.yaml +2 -2
- package/src/target-templates/{.devops → infra-variants/hetzner/.devops}/infra/hetzner/hcloud-config.yaml +1 -1
- package/src/target-templates/infra-variants/hetzner/.github/workflows/k8s-build.yaml +75 -0
- package/src/target-templates/lang-variants-common/README.md +4 -0
- package/src/target-templates/{.devops → lang-variants-common/python/.devops}/config/images.yaml +4 -4
- package/src/target-templates/{pyproject.toml → lang-variants-common/python/pyproject.toml} +1 -1
- package/src/target-templates/lang-variants-common/typescript/.devops/config/images.yaml +69 -0
- package/src/target-templates/lang-variants-common/typescript/.devops/manifests/_index.yaml +19 -0
- package/src/target-templates/lang-variants-common/typescript/.envrc +5 -0
- package/src/target-templates/{.github → lang-variants-common/typescript/.github}/actions/connect-to-infra@v1/action.yaml +2 -2
- package/src/target-templates/lang-variants-prisma/README.md +3 -0
- package/src/target-templates/config/.env.development +0 -1
- package/src/target-templates/config/.env.global +0 -4
- package/src/target-templates/config/.env.test +0 -1
- package/src/target-templates/libs/example-node-lib/bun.lock +0 -27
- /package/src/target-templates/{.devops/infra/test.yaml → cluster-resource-options/dns-test/dns-test.yaml} +0 -0
- /package/src/target-templates/{.devops → cluster-resource-options}/milvus/production/milvus-values.yaml +0 -0
- /package/src/target-templates/{.devops → cluster-resource-options}/milvus/staging/milvus-values.yaml +0 -0
- /package/src/target-templates/{.devops/infra → cluster-resource-options/monitoring-ingress}/monitoring-ingress.yaml +0 -0
- /package/src/target-templates/{.devops/postgres/DailyOperatorRestart.yaml → cluster-resource-options/postgres/daily-operator-restart.yaml} +0 -0
- /package/src/target-templates/{.devops → cluster-resource-options}/postgres/production/cluster/PodDisruptionBudget.yaml +0 -0
- /package/src/target-templates/{.devops → cluster-resource-options}/postgres/production/cluster/SGCluster.yaml +0 -0
- /package/src/target-templates/{.devops → cluster-resource-options}/postgres/production/cluster/StackGres-alerts.yaml +0 -0
- /package/src/target-templates/{.devops → cluster-resource-options}/postgres/production/configurations/06-SGDistributedLogs.yaml +0 -0
- /package/src/target-templates/{.devops/infra → cluster-resource-options/postgres}/stackgres-ui-ingress.yaml +0 -0
- /package/src/target-templates/{.devops → cluster-resource-options}/postgres/staging/cluster/SGCluster.yaml +0 -0
- /package/src/target-templates/{.devops → cluster-resource-options}/prefect/production/prefect-values.yaml +0 -0
- /package/src/target-templates/{.devops → cluster-resource-options}/prefect/staging/prefect-values.yaml +0 -0
- /package/src/target-templates/{.devops → cluster-resource-options}/redis/production/redis-values.yaml +0 -0
- /package/src/target-templates/{.devops → cluster-resource-options}/redis/staging/redis-values.yaml +0 -0
- /package/src/target-templates/{.devops → infra-variants/hetzner/.devops}/infra/hetzner/cert-manager.yaml +0 -0
- /package/src/target-templates/{.devops → infra-variants/hetzner/.devops}/infra/hetzner/ingress-nginx-annotations.yaml +0 -0
- /package/src/target-templates/{.devops → infra-variants/hetzner/.devops}/infra/hetzner/ingress-nginx-configmap.yaml +0 -0
- /package/src/target-templates/{.devops → infra-variants/hetzner/.devops}/infra/hetzner/retain-storage-class.yaml +0 -0
- /package/src/target-templates/{.devops → lang-variants-common/python/.devops}/docker-images/python-services/python-exec.sh +0 -0
- /package/src/target-templates/{.devops → lang-variants-common/python/.devops}/docker-images/python-services/python-run.sh +0 -0
- /package/src/target-templates/{.devops → lang-variants-common/python/.devops}/docker-images/python-services.Dockerfile +0 -0
- /package/src/target-templates/{.devops → lang-variants-common/python/.devops}/manifests/_index.yaml +0 -0
- /package/src/target-templates/{.devops → lang-variants-common/python/.devops}/manifests/prefect.yaml.hb +0 -0
- /package/src/target-templates/{applications → lang-variants-common/python/applications}/example-data-pipeline/pyproject.toml +0 -0
- /package/src/target-templates/{applications → lang-variants-common/python/applications}/example-data-pipeline/src/example_data_pipeline/main.py +0 -0
- /package/src/target-templates/{applications → lang-variants-common/python/applications}/example-python/pyproject.toml +0 -0
- /package/src/target-templates/{applications → lang-variants-common/python/applications}/example-python/src/example_python/__init__.py +0 -0
- /package/src/target-templates/{applications → lang-variants-common/python/applications}/example-python/src/example_python/main.py +0 -0
- /package/src/target-templates/{applications → lang-variants-common/python/applications}/example-python/src/example_python/scripts.py +0 -0
- /package/src/target-templates/{applications → lang-variants-common/python/applications}/example-python/tests/__init__.py +0 -0
- /package/src/target-templates/{devopspy → lang-variants-common/python/devopspy} +0 -0
- /package/src/target-templates/{libs → lang-variants-common/python/libs}/example-python-lib/pyproject.toml +0 -0
- /package/src/target-templates/{libs → lang-variants-common/python/libs}/example-python-lib/src/example_python_lib/__init__.py +0 -0
- /package/src/target-templates/{.devops → lang-variants-common/typescript/.devops}/docker-images/common/docker-common.sh +0 -0
- /package/src/target-templates/{.devops → lang-variants-common/typescript/.devops}/docker-images/node-services/node-exec.sh +0 -0
- /package/src/target-templates/{.devops → lang-variants-common/typescript/.devops}/docker-images/node-services/node-run.sh +0 -0
- /package/src/target-templates/{.devops → lang-variants-common/typescript/.devops}/docker-images/node-services.Dockerfile +0 -0
- /package/src/target-templates/{.devops → lang-variants-common/typescript/.devops}/env.example.yaml +0 -0
- /package/src/target-templates/{.devops → lang-variants-common/typescript/.devops}/manifests/cron-jobs.yaml.hb +0 -0
- /package/src/target-templates/{.devops → lang-variants-common/typescript/.devops}/manifests/db-migrate-job.yaml.hb +0 -0
- /package/src/target-templates/{.devops → lang-variants-common/typescript/.devops}/manifests/deployment-debug.yaml.hb +0 -0
- /package/src/target-templates/{.devops → lang-variants-common/typescript/.devops}/manifests/deployment-process.yaml.hb +0 -0
- /package/src/target-templates/{.devops → lang-variants-common/typescript/.devops}/manifests/deployment-web.yaml.hb +0 -0
- /package/src/target-templates/{.devops → lang-variants-common/typescript/.devops}/manifests/ingress.yaml.hb +0 -0
- /package/src/target-templates/{.devops → lang-variants-common/typescript/.devops}/manifests/service.yaml.hb +0 -0
- /package/src/target-templates/{.github → lang-variants-common/typescript/.github}/actions/build-image@v1/action.yaml +0 -0
- /package/src/target-templates/{.github → lang-variants-common/typescript/.github}/actions/connect-to-digital-ocean@v1/action.yaml +0 -0
- /package/src/target-templates/{.github → lang-variants-common/typescript/.github}/actions/connect-to-gke@v1/action.yaml +0 -0
- /package/src/target-templates/{.github → lang-variants-common/typescript/.github}/actions/connect-to-hetzner@v1/action.yaml +0 -0
- /package/src/target-templates/{.github → lang-variants-common/typescript/.github}/actions/db-migrate@v1/action.yaml +0 -0
- /package/src/target-templates/{.github → lang-variants-common/typescript/.github}/actions/deploy-image@v1/action.yaml +0 -0
- /package/src/target-templates/{.github → lang-variants-common/typescript/.github}/actions/setup-prereq@v1/action.yaml +0 -0
- /package/src/target-templates/{applications → lang-variants-common/typescript/applications}/example-node/index.ts +0 -0
- /package/src/target-templates/{applications → lang-variants-common/typescript/applications}/example-node/package.json +0 -0
- /package/src/target-templates/{applications → lang-variants-common/typescript/applications}/example-node/tsconfig.json +0 -0
- /package/src/target-templates/{applications → lang-variants-common/typescript/applications}/jobs/README.md +0 -0
- /package/src/target-templates/{applications → lang-variants-common/typescript/applications}/jobs/index.ts +0 -0
- /package/src/target-templates/{applications → lang-variants-common/typescript/applications}/jobs/package.json +0 -0
- /package/src/target-templates/{applications → lang-variants-common/typescript/applications}/jobs/tsconfig.json +0 -0
- /package/src/target-templates/{devops → lang-variants-common/typescript/devops} +0 -0
- /package/src/target-templates/{libs → lang-variants-common/typescript/libs}/example-node-lib/index.ts +0 -0
- /package/src/target-templates/{libs → lang-variants-common/typescript/libs}/example-node-lib/package.json +0 -0
- /package/src/target-templates/{libs → lang-variants-common/typescript/libs}/example-node-lib/tsconfig.json +0 -0
- /package/src/target-templates/{tmp → lang-variants-common/typescript/tmp}/.gitkeep +0 -0
- /package/src/target-templates/{tsconfig.json → lang-variants-common/typescript/tsconfig.json} +0 -0
- /package/src/target-templates/{db → lang-variants-prisma/python/db}/db/__init__.py +0 -0
- /package/src/target-templates/{db → lang-variants-prisma/python/db}/db/db_client_test.py +0 -0
- /package/src/target-templates/{db → lang-variants-prisma/python/db}/pyproject.toml +0 -0
- /package/src/target-templates/{db → lang-variants-prisma/typescript/db}/db-client-test.ts +0 -0
- /package/src/target-templates/{db → lang-variants-prisma/typescript/db}/db-client.ts +0 -0
- /package/src/target-templates/{db → lang-variants-prisma/typescript/db}/env.yaml +0 -0
- /package/src/target-templates/{db → lang-variants-prisma/typescript/db}/package.json +0 -0
- /package/src/target-templates/{db → lang-variants-prisma/typescript/db}/prisma/schema.prisma +0 -0
- /package/src/target-templates/{db → lang-variants-prisma/typescript/db}/prisma-setup-vitest.ts +0 -0
- /package/src/target-templates/{db → lang-variants-prisma/typescript/db}/tsconfig.json +0 -0
- /package/src/target-templates/{dml → lang-variants-prisma/typescript/dml}/package.json +0 -0
- /package/src/target-templates/{dml → lang-variants-prisma/typescript/dml}/tsconfig.json +0 -0
package/src/target-templates/{.devops → infra-variants/hetzner/.devops}/config/constants.yaml
RENAMED
@@ -1,5 +1,5 @@
|
|
1
1
|
# These will be used when generating kubernetes entities
|
2
|
-
project-name:
|
2
|
+
project-name: $PROJECT_NAME
|
3
3
|
|
4
4
|
# Supported: hetzner, digitalocean, or gcloud
|
5
5
|
infra: hetzner
|
@@ -7,9 +7,9 @@ infra: hetzner
|
|
7
7
|
# Only relevant for Digital Ocean. Determines the number of versions to keep for each docker image.
|
8
8
|
image-versions-to-keep: 5
|
9
9
|
|
10
|
-
registry-base-url:
|
10
|
+
registry-base-url: $REGISTRY_BASE_URL
|
11
11
|
# What comes before <image-name>:<tag>. Can be empty.
|
12
|
-
registry-image-path-prefix:
|
12
|
+
registry-image-path-prefix: $PROJECT_NAME
|
13
13
|
|
14
14
|
# production and staging are supported by default
|
15
15
|
extra-remote-environments: []
|
@@ -3,7 +3,7 @@ expose:
|
|
3
3
|
type: ingress
|
4
4
|
ingress:
|
5
5
|
hosts:
|
6
|
-
core: $
|
6
|
+
core: $REGISTRY_BASE_URL
|
7
7
|
className: "nginx"
|
8
8
|
annotations:
|
9
9
|
nginx.ingress.kubernetes.io/ssl-redirect: "false"
|
@@ -12,7 +12,7 @@ expose:
|
|
12
12
|
ingress.kubernetes.io/proxy-body-size: "0"
|
13
13
|
tls:
|
14
14
|
enabled: false
|
15
|
-
externalURL: https://$
|
15
|
+
externalURL: https://$REGISTRY_BASE_URL
|
16
16
|
persistence:
|
17
17
|
enabled: true
|
18
18
|
persistentVolumeClaim:
|
@@ -2,12 +2,12 @@ expose:
|
|
2
2
|
type: ingress
|
3
3
|
ingress:
|
4
4
|
hosts:
|
5
|
-
core: $
|
5
|
+
core: $REGISTRY_BASE_URL
|
6
6
|
tls:
|
7
7
|
certSource: secret
|
8
8
|
secret:
|
9
9
|
secretName: tls-secret
|
10
|
-
externalURL: https://$
|
10
|
+
externalURL: https://$REGISTRY_BASE_URL
|
11
11
|
persistence:
|
12
12
|
enabled: true
|
13
13
|
persistentVolumeClaim:
|
@@ -0,0 +1,75 @@
|
|
1
|
+
name: "Monorepo Build and Deploy"
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- staging
|
7
|
+
- production
|
8
|
+
|
9
|
+
permissions:
|
10
|
+
contents: read
|
11
|
+
packages: read
|
12
|
+
|
13
|
+
jobs:
|
14
|
+
build_images:
|
15
|
+
runs-on: ubuntu-latest
|
16
|
+
strategy:
|
17
|
+
matrix:
|
18
|
+
include:
|
19
|
+
- image_name: main-node
|
20
|
+
- image_name: main-python
|
21
|
+
cache_path: /root/.cache/uv
|
22
|
+
steps:
|
23
|
+
# Fetch the last 50 commits so that devops affected works
|
24
|
+
- name: Checkout repo and history
|
25
|
+
uses: actions/checkout@v4
|
26
|
+
with:
|
27
|
+
fetch-depth: 50
|
28
|
+
|
29
|
+
- name: Setup prerequesites
|
30
|
+
uses: ./.github/actions/setup-prereq@v1
|
31
|
+
|
32
|
+
- name: Connect to infrastructure
|
33
|
+
uses: ./.github/actions/connect-to-infra@v1
|
34
|
+
with:
|
35
|
+
hetzner_kubeconfig: ${{ secrets.HCLOUD_KUBECONFIG }}
|
36
|
+
harbor_user: ${{ secrets.HARBOR_USER }}
|
37
|
+
harbor_password: ${{ secrets.HARBOR_PASSWORD }}
|
38
|
+
|
39
|
+
- name: Build image
|
40
|
+
uses: ./.github/actions/build-image@v1
|
41
|
+
with:
|
42
|
+
image_name: ${{ matrix.image_name }}
|
43
|
+
cache_path: ${{ matrix.cache_path || '/root/.bun/install/cache' }}
|
44
|
+
|
45
|
+
db_migrate_and_deploy:
|
46
|
+
needs: [build_images]
|
47
|
+
runs-on: ubuntu-latest
|
48
|
+
steps:
|
49
|
+
# Fetch the last 50 commits so that devops affected works
|
50
|
+
- name: Checkout repo and history
|
51
|
+
uses: actions/checkout@v4
|
52
|
+
with:
|
53
|
+
fetch-depth: 50
|
54
|
+
|
55
|
+
- name: Setup prerequesites
|
56
|
+
uses: ./.github/actions/setup-prereq@v1
|
57
|
+
|
58
|
+
- name: Connect to infrastructure
|
59
|
+
uses: ./.github/actions/connect-to-infra@v1
|
60
|
+
with:
|
61
|
+
hetzner_kubeconfig: ${{ secrets.HCLOUD_KUBECONFIG }}
|
62
|
+
harbor_user: ${{ secrets.HARBOR_USER }}
|
63
|
+
harbor_password: ${{ secrets.HARBOR_PASSWORD }}
|
64
|
+
|
65
|
+
- name: Run DB Migrate
|
66
|
+
uses: ./.github/actions/db-migrate@v1
|
67
|
+
|
68
|
+
# Repeat per image (it checks if the image is affected and deploys it if it is)
|
69
|
+
- name: Deploy main node
|
70
|
+
uses: ./.github/actions/deploy-image@v1
|
71
|
+
with: { "image_name": "main-node" }
|
72
|
+
|
73
|
+
- name: Deploy main python
|
74
|
+
uses: ./.github/actions/deploy-image@v1
|
75
|
+
with: { "image_name": "main-python" }
|
@@ -0,0 +1,4 @@
|
|
1
|
+
All files under `typescript` are copied under the root project folder.
|
2
|
+
|
3
|
+
During `./devops init`, the user is asked whether python-related files should be added to the repository.
|
4
|
+
If the user answers positively, the files under the `python` folder are also copied, overriding files with the same path.
|
package/src/target-templates/{.devops → lang-variants-common/python/.devops}/config/images.yaml
RENAMED
@@ -68,8 +68,8 @@ images:
|
|
68
68
|
debug-template: debug-console
|
69
69
|
can-db-migrate: true
|
70
70
|
domains:
|
71
|
-
production:
|
72
|
-
staging:
|
71
|
+
production: $PRODUCTION_DOMAIN
|
72
|
+
staging: $STAGING_DOMAIN
|
73
73
|
applications:
|
74
74
|
- example-node
|
75
75
|
- jobs
|
@@ -80,8 +80,8 @@ images:
|
|
80
80
|
debug-template: debug-console
|
81
81
|
can-db-migrate: false
|
82
82
|
domains:
|
83
|
-
production:
|
84
|
-
staging:
|
83
|
+
production: $PRODUCTION_DOMAIN
|
84
|
+
staging: $STAGING_DOMAIN
|
85
85
|
applications:
|
86
86
|
- example-python
|
87
87
|
- example-data-pipeline
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# The file structure is as follows:
|
2
|
+
#
|
3
|
+
# Under `templates` key:
|
4
|
+
# <template-key>:
|
5
|
+
# copy-common: <boolean>
|
6
|
+
# extra-content:
|
7
|
+
# - <file-name>
|
8
|
+
# - <file-name>
|
9
|
+
#
|
10
|
+
# Where:
|
11
|
+
# <template-key> The identifier of the template.
|
12
|
+
# This is used to refer to the template in the images section.
|
13
|
+
# copy-common Whether to copy the common Docker files from .devops/docker-images/common to the image.
|
14
|
+
# extra-content Any files to include in the image that are not part of the build context. By default, all applications and their dependencies are copied, as well as the
|
15
|
+
# content of .devops/docker-images/<image-name>. If you need to include additional files, list them here. These are typically from the root of the project.
|
16
|
+
# Files and full folders are supported. Globs (wildcards) are currently not supported.
|
17
|
+
#
|
18
|
+
#
|
19
|
+
# Under `images` key:
|
20
|
+
# <image-key>:
|
21
|
+
# image-template: <image-template>
|
22
|
+
# language: <language>
|
23
|
+
# debug-template: <debug-template>
|
24
|
+
# can-db-migrate: <boolean>
|
25
|
+
# domains:
|
26
|
+
# production: <production-domain>
|
27
|
+
# staging: <staging-domain>
|
28
|
+
# image-extra-content:
|
29
|
+
# - <file-name>
|
30
|
+
# - <file-name>
|
31
|
+
# applications:
|
32
|
+
# - <application-name>
|
33
|
+
# - <application-name>
|
34
|
+
#
|
35
|
+
# Where:
|
36
|
+
# <image-name> The identifier of the image. Github action should refer to this name in a hard-coded manner when invoking devops scripts.
|
37
|
+
# This is also the basis for the name of the image in the registry.
|
38
|
+
# image-template The build process copies .devops/docker-images/<image-template>.Dockerfile and .devops/docker-images/<image-template>/ to the image.
|
39
|
+
# language The language of the image. Currently only "node" and "python" are supported.
|
40
|
+
# debug-template Each image comes with a debug pod that can be acccessed as a console. This is the name of the template to use. Only "debug-console" is currently supported.
|
41
|
+
# can-db-migrate Whether this image can be used to run DB migrations. If set to true, the image could be used to run DB migrations if any project that uses this image depends
|
42
|
+
# on the db project and if the db project changed.
|
43
|
+
# domains The domains for the image. This is used to generate the ingress rules.
|
44
|
+
# This can be left out if the image does not have ingress rules, such as a worker image.
|
45
|
+
# applications List of applications that use this image. There is no need to specify dependencies - they will be derived as long as they are declared in package.json.
|
46
|
+
#
|
47
|
+
|
48
|
+
templates:
|
49
|
+
node-services:
|
50
|
+
copy-common: true
|
51
|
+
extra-content:
|
52
|
+
- devops
|
53
|
+
- package.json
|
54
|
+
- bun.lock
|
55
|
+
- tsconfig.json
|
56
|
+
|
57
|
+
images:
|
58
|
+
main-node:
|
59
|
+
image-template: node-services
|
60
|
+
language: node
|
61
|
+
debug-template: debug-console
|
62
|
+
can-db-migrate: true
|
63
|
+
domains:
|
64
|
+
production: $PRODUCTION_DOMAIN
|
65
|
+
staging: $STAGING_DOMAIN
|
66
|
+
applications:
|
67
|
+
- example-node
|
68
|
+
- jobs
|
69
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# db-migrate is a required entry that is hard-coded in the devops-cli
|
2
|
+
# The debug template used per image is dynamic and can be configured in images.yaml
|
3
|
+
# The deployment template used per application is dynamic and can be configured in its package.json
|
4
|
+
|
5
|
+
db-migrate:
|
6
|
+
- db-migrate-job.yaml.hb
|
7
|
+
debug-console:
|
8
|
+
- deployment-debug.yaml.hb
|
9
|
+
cron-jobs:
|
10
|
+
- cron-jobs.yaml.hb
|
11
|
+
backend-process:
|
12
|
+
- deployment-process.yaml.hb
|
13
|
+
internal-service:
|
14
|
+
- deployment-web.yaml.hb
|
15
|
+
- service.yaml.hb
|
16
|
+
external-service:
|
17
|
+
- deployment-web.yaml.hb
|
18
|
+
- service.yaml.hb
|
19
|
+
- ingress.yaml.hb
|
@@ -25,7 +25,7 @@ inputs:
|
|
25
25
|
gcloud_cluster_name:
|
26
26
|
description: "Google Cloud GKE cluster name"
|
27
27
|
required: false
|
28
|
-
|
28
|
+
gcloud_service_account_key:
|
29
29
|
description: "Google Cloud service account key in JSON format"
|
30
30
|
required: false
|
31
31
|
outputs:
|
@@ -64,4 +64,4 @@ runs:
|
|
64
64
|
project_id: ${{ inputs.gcloud_project_id }}
|
65
65
|
zone: ${{ inputs.gcloud_zone }}
|
66
66
|
cluster_name: ${{ inputs.gcloud_cluster_name }}
|
67
|
-
service_account_key: ${{ inputs.
|
67
|
+
service_account_key: ${{ inputs.gcloud_service_account_key }}
|
@@ -1 +0,0 @@
|
|
1
|
-
# Add here env variables that are for local development environment
|
@@ -1 +0,0 @@
|
|
1
|
-
# Add here env variables that are for local test environment
|
@@ -1,27 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"lockfileVersion": 1,
|
3
|
-
"workspaces": {
|
4
|
-
"": {
|
5
|
-
"name": "example-node-lib",
|
6
|
-
"devDependencies": {
|
7
|
-
"@types/bun": "latest",
|
8
|
-
},
|
9
|
-
"peerDependencies": {
|
10
|
-
"typescript": "^5",
|
11
|
-
},
|
12
|
-
},
|
13
|
-
},
|
14
|
-
"packages": {
|
15
|
-
"@types/bun": ["@types/bun@1.2.5", "", { "dependencies": { "bun-types": "1.2.5" } }, "sha512-w2OZTzrZTVtbnJew1pdFmgV99H0/L+Pvw+z1P67HaR18MHOzYnTYOi6qzErhK8HyT+DB782ADVPPE92Xu2/Opg=="],
|
16
|
-
|
17
|
-
"@types/node": ["@types/node@22.13.11", "", { "dependencies": { "undici-types": "~6.20.0" } }, "sha512-iEUCUJoU0i3VnrCmgoWCXttklWcvoCIx4jzcP22fioIVSdTmjgoEvmAO/QPw6TcS9k5FrNgn4w7q5lGOd1CT5g=="],
|
18
|
-
|
19
|
-
"@types/ws": ["@types/ws@8.5.14", "", { "dependencies": { "@types/node": "*" } }, "sha512-bd/YFLW+URhBzMXurx7lWByOu+xzU9+kb3RboOteXYDfW+tr+JZa99OyNmPINEGB/ahzKrEuc8rcv4gnpJmxTw=="],
|
20
|
-
|
21
|
-
"bun-types": ["bun-types@1.2.5", "", { "dependencies": { "@types/node": "*", "@types/ws": "~8.5.10" } }, "sha512-3oO6LVGGRRKI4kHINx5PIdIgnLRb7l/SprhzqXapmoYkFl5m4j6EvALvbDVuuBFaamB46Ap6HCUxIXNLCGy+tg=="],
|
22
|
-
|
23
|
-
"typescript": ["typescript@5.8.2", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ=="],
|
24
|
-
|
25
|
-
"undici-types": ["undici-types@6.20.0", "", {}, "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg=="],
|
26
|
-
}
|
27
|
-
}
|
File without changes
|
File without changes
|
/package/src/target-templates/{.devops → cluster-resource-options}/milvus/staging/milvus-values.yaml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/src/target-templates/{.devops → cluster-resource-options}/redis/staging/redis-values.yaml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/src/target-templates/{.devops → lang-variants-common/python/.devops}/manifests/_index.yaml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/src/target-templates/{.devops → lang-variants-common/typescript/.devops}/env.example.yaml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/src/target-templates/{tsconfig.json → lang-variants-common/typescript/tsconfig.json}
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/src/target-templates/{db → lang-variants-prisma/typescript/db}/prisma/schema.prisma
RENAMED
File without changes
|
/package/src/target-templates/{db → lang-variants-prisma/typescript/db}/prisma-setup-vitest.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|