Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v1.0.8 #8

Merged
merged 2 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion iac/tf-anthos-gke/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ region = "us-central1"
zone = "us-central1-b"
cluster_name = "anthos-sample-cluster1"
sync_repo = "https://github.com/GoogleCloudPlatform/bank-of-anthos"
sync_branch = "release/v1.0.7"
sync_branch = "release/v1.0.8"
sync_rev = ""
policy_dir = "/kubernetes-manifests"
2 changes: 1 addition & 1 deletion kubernetes-manifests/accounts-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
name: accounts-db-config
- configMapRef:
name: demo-data-config
image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.0.7@sha256:be77cccdb9d14dfabd104f6a40312c9b409ecc128f596da05b930f269a76c8be
image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.0.8@sha256:be77cccdb9d14dfabd104f6a40312c9b409ecc128f596da05b930f269a76c8be
name: accounts-db
ports:
- containerPort: 5432
Expand Down
6 changes: 3 additions & 3 deletions kubernetes-manifests/balance-reader.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ spec:
name: ledger-db-config
- configMapRef:
name: demo-data-config
image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.0.7@sha256:7789394ae42ddb186da9a0f9edf59fdf391b2767bb979836d4d61b0f9673705b
image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.0.8@sha256:7789394ae42ddb186da9a0f9edf59fdf391b2767bb979836d4d61b0f9673705b
name: postgres
ports:
- containerPort: 5432
Expand Down Expand Up @@ -204,7 +204,7 @@ spec:
containers:
- env:
- name: VERSION
value: v1.0.7
value: v1.0.8
- name: PORT
value: "8080"
- name: ENABLE_TRACING
Expand All @@ -228,7 +228,7 @@ spec:
name: environment-config
- configMapRef:
name: ledger-db-config
image: ghcr.io/splunk/bank-of-splunk/balancereader:v1.0.7@sha256:928b892a9bbe3db70e68542a7e8b72796a35870c07f4e87b287c29576ddbba30
image: ghcr.io/splunk/bank-of-splunk/balancereader:v1.0.8@sha256:928b892a9bbe3db70e68542a7e8b72796a35870c07f4e87b287c29576ddbba30
livenessProbe:
httpGet:
path: /healthy
Expand Down
6 changes: 3 additions & 3 deletions kubernetes-manifests/contacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ spec:
name: accounts-db-config
- configMapRef:
name: demo-data-config
image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.0.7@sha256:be77cccdb9d14dfabd104f6a40312c9b409ecc128f596da05b930f269a76c8be
image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.0.8@sha256:be77cccdb9d14dfabd104f6a40312c9b409ecc128f596da05b930f269a76c8be
name: accounts-db
ports:
- containerPort: 5432
Expand Down Expand Up @@ -203,7 +203,7 @@ spec:
containers:
- env:
- name: VERSION
value: v1.0.7
value: v1.0.8
- name: PORT
value: "8080"
- name: ENABLE_TRACING
Expand All @@ -223,7 +223,7 @@ spec:
name: environment-config
- configMapRef:
name: accounts-db-config
image: ghcr.io/splunk/bank-of-splunk/contacts:v1.0.7@sha256:b1b56dda0fe5b245cdf2074d5cd5fdc336c51ec2ae05d82f166e6895237b9051
image: ghcr.io/splunk/bank-of-splunk/contacts:v1.0.8@sha256:b1b56dda0fe5b245cdf2074d5cd5fdc336c51ec2ae05d82f166e6895237b9051
name: contacts
readinessProbe:
httpGet:
Expand Down
4 changes: 2 additions & 2 deletions kubernetes-manifests/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
containers:
- env:
- name: VERSION
value: v1.0.7
value: v1.0.8
- name: PORT
value: "8080"
- name: ENABLE_TRACING
Expand Down Expand Up @@ -141,7 +141,7 @@ spec:
name: environment-config
- configMapRef:
name: service-api-config
image: ghcr.io/splunk/bank-of-splunk/frontend:v1.0.7@sha256:51729864802ce752800597073d54cf0ffdaeca86807eb03a4596a5b39e0ddb9b
image: ghcr.io/splunk/bank-of-splunk/frontend:v1.0.8@sha256:6ceb3db845b3176f447914db4a518787ed5c7f10cc70c6e299c0d757f6e935af
livenessProbe:
httpGet:
path: /ready
Expand Down
2 changes: 1 addition & 1 deletion kubernetes-manifests/ledger-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ spec:
name: ledger-db-config
- configMapRef:
name: demo-data-config
image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.0.7@sha256:7789394ae42ddb186da9a0f9edf59fdf391b2767bb979836d4d61b0f9673705b
image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.0.8@sha256:7789394ae42ddb186da9a0f9edf59fdf391b2767bb979836d4d61b0f9673705b
name: postgres
ports:
- containerPort: 5432
Expand Down
6 changes: 3 additions & 3 deletions kubernetes-manifests/ledger-writer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ spec:
name: ledger-db-config
- configMapRef:
name: demo-data-config
image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.0.7@sha256:7789394ae42ddb186da9a0f9edf59fdf391b2767bb979836d4d61b0f9673705b
image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.0.8@sha256:7789394ae42ddb186da9a0f9edf59fdf391b2767bb979836d4d61b0f9673705b
name: postgres
ports:
- containerPort: 5432
Expand Down Expand Up @@ -204,7 +204,7 @@ spec:
containers:
- env:
- name: VERSION
value: v1.0.7
value: v1.0.8
- name: PORT
value: "8080"
- name: ENABLE_TRACING
Expand All @@ -226,7 +226,7 @@ spec:
name: service-api-config
- configMapRef:
name: ledger-db-config
image: ghcr.io/splunk/bank-of-splunk/ledgerwriter:v1.0.7@sha256:a257d61f349d13e26d1f2e556d5ff83792d388f97f7402854ce426eceac18e4c
image: ghcr.io/splunk/bank-of-splunk/ledgerwriter:v1.0.8@sha256:a257d61f349d13e26d1f2e556d5ff83792d388f97f7402854ce426eceac18e4c
name: ledgerwriter
readinessProbe:
httpGet:
Expand Down
2 changes: 1 addition & 1 deletion kubernetes-manifests/loadgenerator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
value: "5"
- name: LOG_LEVEL
value: error
image: ghcr.io/splunk/bank-of-splunk/loadgenerator:v1.0.7@sha256:c95d9e97b46ca44bafc305586b0634fcb5c195fe3e9c349f46c3e7b5129961c4
image: ghcr.io/splunk/bank-of-splunk/loadgenerator:v1.0.8@sha256:c95d9e97b46ca44bafc305586b0634fcb5c195fe3e9c349f46c3e7b5129961c4
name: loadgenerator
resources:
limits:
Expand Down
6 changes: 3 additions & 3 deletions kubernetes-manifests/transaction-history.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ spec:
name: ledger-db-config
- configMapRef:
name: demo-data-config
image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.0.7@sha256:7789394ae42ddb186da9a0f9edf59fdf391b2767bb979836d4d61b0f9673705b
image: ghcr.io/splunk/bank-of-splunk/ledger-db:v1.0.8@sha256:7789394ae42ddb186da9a0f9edf59fdf391b2767bb979836d4d61b0f9673705b
name: postgres
ports:
- containerPort: 5432
Expand Down Expand Up @@ -204,7 +204,7 @@ spec:
containers:
- env:
- name: VERSION
value: v1.0.7
value: v1.0.8
- name: PORT
value: "8080"
- name: ENABLE_TRACING
Expand Down Expand Up @@ -232,7 +232,7 @@ spec:
name: environment-config
- configMapRef:
name: ledger-db-config
image: ghcr.io/splunk/bank-of-splunk/transactionhistory:v1.0.7@sha256:d0fbbb9fe6f3589c0372301ad159975af5cb309891f135444cca49092e66aaa6
image: ghcr.io/splunk/bank-of-splunk/transactionhistory:v1.0.8@sha256:d0fbbb9fe6f3589c0372301ad159975af5cb309891f135444cca49092e66aaa6
livenessProbe:
httpGet:
path: /healthy
Expand Down
6 changes: 3 additions & 3 deletions kubernetes-manifests/userservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ spec:
name: accounts-db-config
- configMapRef:
name: demo-data-config
image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.0.7@sha256:be77cccdb9d14dfabd104f6a40312c9b409ecc128f596da05b930f269a76c8be
image: ghcr.io/splunk/bank-of-splunk/accounts-db:v1.0.8@sha256:be77cccdb9d14dfabd104f6a40312c9b409ecc128f596da05b930f269a76c8be
name: accounts-db
ports:
- containerPort: 5432
Expand Down Expand Up @@ -203,7 +203,7 @@ spec:
containers:
- env:
- name: VERSION
value: v1.0.7
value: v1.0.8
- name: PORT
value: "8080"
- name: ENABLE_TRACING
Expand All @@ -227,7 +227,7 @@ spec:
name: environment-config
- configMapRef:
name: accounts-db-config
image: ghcr.io/splunk/bank-of-splunk/userservice:v1.0.7@sha256:f860735a4cb21a535fc0c048ee1815ca04d7288675d88d2e0c238fdb5f5625c0
image: ghcr.io/splunk/bank-of-splunk/userservice:v1.0.8@sha256:f860735a4cb21a535fc0c048ee1815ca04d7288675d88d2e0c238fdb5f5625c0
name: userservice
ports:
- containerPort: 8080
Expand Down
3 changes: 2 additions & 1 deletion src/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,5 @@ COPY . .
RUN splunk-py-trace-bootstrap

# Start server using gunicorn
CMD ["splunk-py-trace", "gunicorn", "-b", ":$PORT", "--threads", "4", "--log-config", "logging.conf", "--log-level", "$LOG_LEVEL", "frontend:create_app()"]

CMD splunk-py-trace gunicorn -b :$PORT --threads 4 --log-config logging.conf --log-level=$LOG_LEVEL "frontend:create_app()"