Skip to content

Commit

Permalink
GCP deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
abidknashtech committed Nov 30, 2023
1 parent 0a73a90 commit ca39912
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion deployment/gcpresources/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ resource "google_storage_bucket" "function_bucket" {
data "archive_file" "source" {
type = "zip"
output_path = "/tmp/function-source.zip"
source_dir = "[ CLOUD-FUNCTION ABSOLUTE PATH ]"
source_dir = "/home/knoldus/IdeaProjects/car-demo/cloud-function/gcpcarfunction"
// ex. "/home/knoldus/IdeaProjects/car-demo/cloud-function/gcpcarfunction"
}

Expand Down
4 changes: 2 additions & 2 deletions inventory-service/gcp-deploy-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ metadata:
name: inventory-configmap
data:
# Configuration values can be set as key-value properties
MYSQL_HOST: 35.237.157.220
AXON_HOST: 34.74.53.130:8124
MYSQL_HOST: 35.196.247.48
AXON_HOST: 34.23.97.151:8124
SERVICE_NAME: InventoryService
GCP_PROJECT_ID: datamesh-2
PRODUCT_SUBSCRIPTION: inventory_subscription
4 changes: 2 additions & 2 deletions order-service/gcp-deploy-services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@ metadata:
name: orderservice-configmap
data:
# Configuration values can be set as key-value properties
MYSQL_HOST: 35.237.157.220
AXON_HOST: 34.74.53.130:8124
MYSQL_HOST: 35.196.247.48
AXON_HOST: 34.23.97.151:8124
SERVICE_NAME: OrderService
4 changes: 2 additions & 2 deletions payment-service/gcp-deploy-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,6 @@ metadata:
name: payment-configmap
data:
# Configuration values can be set as key-value properties
MYSQL_HOST: 35.237.157.220
AXON_HOST: 34.74.53.130:8124
MYSQL_HOST: 35.196.247.48
AXON_HOST: 34.23.97.151:8124
SERVICE_NAME: PaymentService
6 changes: 5 additions & 1 deletion projects-changes-deploy.txt
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@

admin-service
inventory-service
order-service
payment-service
shipment-service
4 changes: 2 additions & 2 deletions shipment-service/gcp-deploy-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ metadata:
name: shipment-configmap
data:
# Configuration values can be set as key-value properties
MYSQL_HOST: 35.237.157.220
AXON_HOST: 34.74.53.130:8124
MYSQL_HOST: 35.196.247.48
AXON_HOST: 34.23.97.151:8124
GCP_PROJECT_ID: datamesh-2
PUB_SUB_TOPIC_ID: shipment-notification
SERVICE_NAME: ShipmentService

0 comments on commit ca39912

Please sign in to comment.