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 #98

Merged
merged 14 commits into from
Jan 30, 2025
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
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ jobs:
- {folder: inventory-service-mock, name: inventory}
- {folder: inventory-service-mock-go, name: inventory-go}
- {folder: order, name: orders}
- {folder: order-go, name: orders-go}
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion bestseller-toys-go/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use official Golang image as builder
FROM golang:1.23 AS builder
FROM golang:1.22 AS builder

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion bestseller-toys-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module bestseller-toys

go 1.23.4
go 1.22

require (
github.com/google/uuid v1.6.0
Expand Down
Binary file removed bestseller-toys-go/products.db
Binary file not shown.
2 changes: 1 addition & 1 deletion charts/steadybit-shopping-demo/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: steadybit-shopping-demo
description: Steadybit shopping-demo application Helm chart for Kubernetes.
version: 1.1.9
version: 1.1.13
appVersion: latest
type: application
home: https://www.steadybit.com/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ spec:
httpGet:
path: /actuator/health/liveness
port: 8081
initialDelaySeconds: 60
initialDelaySeconds: 10
timeoutSeconds: 3
periodSeconds: 10
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: 8081
initialDelaySeconds: 60
initialDelaySeconds: 10
timeoutSeconds: 5
periodSeconds: 10
{{- with .Values.bestsellerToys.nodeSelector }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ spec:
httpGet:
path: /actuator/health/liveness
port: 8084
initialDelaySeconds: 30
initialDelaySeconds: 10
timeoutSeconds: 3
periodSeconds: 10
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: 8084
initialDelaySeconds: 30
initialDelaySeconds: 10
timeoutSeconds: 5
periodSeconds: 10
affinity:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ spec:
ports:
- containerPort: 61616
protocol: TCP
- containerPort: 61613
protocol: TCP
env:
- name: DD_SERVICE
valueFrom:
Expand Down Expand Up @@ -164,8 +166,13 @@ metadata:
spec:
ports:
- port: 61616
name: openwire
protocol: TCP
targetPort: 61616
- port: 61613
name: stomp
protocol: TCP
targetPort: 61613
selector:
run: activemq
type: ClusterIP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ spec:
httpGet:
path: /actuator/health/liveness
port: 8086
initialDelaySeconds: 30
initialDelaySeconds: 10
timeoutSeconds: 3
periodSeconds: 10
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: 8086
initialDelaySeconds: 30
initialDelaySeconds: 10
timeoutSeconds: 5
periodSeconds: 10
imagePullPolicy: Always
Expand All @@ -70,6 +70,8 @@ spec:
- containerPort: 8086
protocol: TCP
env:
- name: ACTIVEMQ_BROKER_HOST
value: {{.Values.orders.activeMQ.host}}
- name: SPRING_PROFILES_ACTIVE
value: "kubernetes"
- name: DD_SERVICE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ manifest should match snapshot:
httpGet:
path: /actuator/health/liveness
port: 8081
initialDelaySeconds: 60
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
name: toys-bestseller
Expand All @@ -71,7 +71,7 @@ manifest should match snapshot:
httpGet:
path: /actuator/health/readiness
port: 8081
initialDelaySeconds: 60
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
resources:
Expand Down Expand Up @@ -175,7 +175,7 @@ manifest should match snapshot replica count:
httpGet:
path: /actuator/health/liveness
port: 8081
initialDelaySeconds: 60
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
name: toys-bestseller
Expand All @@ -186,7 +186,7 @@ manifest should match snapshot replica count:
httpGet:
path: /actuator/health/readiness
port: 8081
initialDelaySeconds: 60
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ manifest should match snapshot:
httpGet:
path: /actuator/health/liveness
port: 8084
initialDelaySeconds: 30
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
name: inventory
Expand All @@ -69,7 +69,7 @@ manifest should match snapshot:
httpGet:
path: /actuator/health/readiness
port: 8084
initialDelaySeconds: 30
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
resources:
Expand Down Expand Up @@ -171,7 +171,7 @@ manifest should match snapshot replica count:
httpGet:
path: /actuator/health/liveness
port: 8084
initialDelaySeconds: 30
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
name: inventory
Expand All @@ -182,7 +182,7 @@ manifest should match snapshot replica count:
httpGet:
path: /actuator/health/readiness
port: 8084
initialDelaySeconds: 30
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ manifest should match snapshot:
ports:
- containerPort: 61616
protocol: TCP
- containerPort: 61613
protocol: TCP
readinessProbe:
initialDelaySeconds: 15
periodSeconds: 10
Expand Down Expand Up @@ -163,9 +165,14 @@ manifest should match snapshot:
namespace: NAMESPACE
spec:
ports:
- port: 61616
- name: openwire
port: 61616
protocol: TCP
targetPort: 61616
- name: stomp
port: 61613
protocol: TCP
targetPort: 61613
selector:
run: activemq
type: ClusterIP
Expand Down Expand Up @@ -247,6 +254,8 @@ manifest should match snapshot replica count:
ports:
- containerPort: 61616
protocol: TCP
- containerPort: 61613
protocol: TCP
readinessProbe:
initialDelaySeconds: 15
periodSeconds: 10
Expand Down Expand Up @@ -345,9 +354,14 @@ manifest should match snapshot replica count:
namespace: NAMESPACE
spec:
ports:
- port: 61616
- name: openwire
port: 61616
protocol: TCP
targetPort: 61616
- name: stomp
port: 61613
protocol: TCP
targetPort: 61613
selector:
run: activemq
type: ClusterIP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ manifest should match snapshot:
spec:
containers:
- env:
- name: ACTIVEMQ_BROKER_HOST
value: localhost:61613
- name: SPRING_PROFILES_ACTIVE
value: kubernetes
- name: DD_SERVICE
Expand All @@ -48,7 +50,7 @@ manifest should match snapshot:
httpGet:
path: /actuator/health/liveness
port: 8086
initialDelaySeconds: 30
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
name: orders
Expand All @@ -59,7 +61,7 @@ manifest should match snapshot:
httpGet:
path: /actuator/health/readiness
port: 8086
initialDelaySeconds: 30
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
resources:
Expand Down Expand Up @@ -124,6 +126,8 @@ manifest should match snapshot replica count:
spec:
containers:
- env:
- name: ACTIVEMQ_BROKER_HOST
value: localhost:61613
- name: SPRING_PROFILES_ACTIVE
value: kubernetes
- name: DD_SERVICE
Expand All @@ -140,7 +144,7 @@ manifest should match snapshot replica count:
httpGet:
path: /actuator/health/liveness
port: 8086
initialDelaySeconds: 30
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
name: orders
Expand All @@ -151,7 +155,7 @@ manifest should match snapshot replica count:
httpGet:
path: /actuator/health/readiness
port: 8086
initialDelaySeconds: 30
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
resources:
Expand Down Expand Up @@ -226,6 +230,8 @@ manifest should match snapshot with horizontalPodAutoscaler and podDisruptionBud
topologyKey: topology.kubernetes.io/zone
containers:
- env:
- name: ACTIVEMQ_BROKER_HOST
value: localhost:61613
- name: SPRING_PROFILES_ACTIVE
value: kubernetes
- name: DD_SERVICE
Expand All @@ -242,7 +248,7 @@ manifest should match snapshot with horizontalPodAutoscaler and podDisruptionBud
httpGet:
path: /actuator/health/liveness
port: 8086
initialDelaySeconds: 30
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
name: orders
Expand All @@ -253,7 +259,7 @@ manifest should match snapshot with horizontalPodAutoscaler and podDisruptionBud
httpGet:
path: /actuator/health/readiness
port: 8086
initialDelaySeconds: 30
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
resources:
Expand Down
3 changes: 3 additions & 0 deletions charts/steadybit-shopping-demo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -213,3 +213,6 @@ orders:
podDisruptionBudget: false
# nodeSelector -- Node labels for pod assignment
nodeSelector: {}
activeMQ:
# ActiveMQ Host
host: "localhost:61613"
15 changes: 8 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,40 @@ version: '3.3'

services:
gateway:
image: steadybit/gateway:1.0.0-SNAPSHOT
image: steadybit/gateway:develop
ports:
- "8080:8080"
environment:
SPRING_PROFILES_ACTIVE: docker

fashion:
image: steadybit/bestseller-fashion:1.0.0-SNAPSHOT
image: steadybit/bestseller-fashion:develop
ports:
- "8082:8082"
environment:
"rest.endpoint.inventory": "http://inventory:8084/inventory"

toys:
image: steadybit/bestseller-toys:1.0.0-SNAPSHOT
image: steadybit/bestseller-toys-go:develop
ports:
- "8081:8081"
environment:
"rest.endpoint.inventory": "http://inventory:8084/inventory"

hot-deals:
image: steadybit/hot-deals:1.0.0-SNAPSHOT
image: steadybit/hot-deals:develop
ports:
- "8083:8083"
environment:
"rest.endpoint.inventory": "http://inventory:8084/inventory"

inventory:
image: steadybit/inventory:1.0.0-SNAPSHOT
image: steadybit/inventory-go:develop
ports:
- "8084:8084"

checkout:
image: steadybit/checkout:1.0.0-SNAPSHOT
image: steadybit/checkout:develop
ports:
- "8085:8085"
environment:
Expand All @@ -44,7 +44,7 @@ services:
- activemq

orders:
image: steadybit/orders:1.0.0-SNAPSHOT
image: steadybit/orders-go:develop
environment:
"spring.activemq.broker-url": "tcp://activemq:61616"
depends_on:
Expand All @@ -55,6 +55,7 @@ services:
container_name: 'activemq'
ports:
- "61616:61616"
- "61613:61613"
- "8161:8161"
volumes:
- ${PWD}/activemq.xml:/opt/activemq/conf/activemq.xml
2 changes: 1 addition & 1 deletion inventory-service-mock-go/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use official Golang image as builder
FROM golang:1.23 AS builder
FROM golang:1.22 AS builder

WORKDIR /app

Expand Down
Loading
Loading