Skip to content

Commit

Permalink
update ci-cd
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratap2018 committed Aug 14, 2024
1 parent e8fd5c1 commit f70bfd0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 143 deletions.
12 changes: 9 additions & 3 deletions .deploy/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ spec:

resources:
limits:
memory: "1Gi"
cpu: "500m"
memory: "2Gi"
cpu: "1000m"
ports:
- containerPort: __PORT__
env:
Expand Down Expand Up @@ -57,8 +57,14 @@ spec:
value: __MNEMONIC__
- name: JWT_SECRET
value: __JWT_SECRET__
- name: GLOBAL_TXN_CONTROLLER_QUEUE
value: __GLOBAL_TXN_CONTROLLER_QUEUE__
- name: RABBIT_MQ_URI
value: __RABBIT_MQ_URI__
- name: VAULT_PREFIX
value: __VAULT_PREFIX__
- name: WHITELISTED_CORS
value: "['https://entity.hypersign.id','https://api.entity.hypersign.id','https://wallet-prajna.hypersign.id']"
value: "['https://entity.hypersign.id','https://api.entity.hypersign.id','https://api.entity-test.hypersign.id','https://wallet-prajna.hypersign.id']"
volumeMounts:
- name: mongo
mountPath: "/data"
Expand Down
139 changes: 0 additions & 139 deletions .deploy/deployment2.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/CI-CD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ jobs:
- name: "Replace secrets"
run: find .deploy/deployment2.yaml -type f -exec sed -i ''s/__GOOGLE_PROJECT_ID__/${{ secrets.GOOGLE_PROJECT_ID }}/g'' {} \;
- name: "Deploy to GKE"
run: kubectl apply -f .deploy/deployment2.yaml
run: kubectl apply -f .deploy/deployment.yaml

0 comments on commit f70bfd0

Please sign in to comment.