Skip to content

Commit 1a1966b

Browse files
committed
Merge branch 'main' into startup
2 parents 2477af0 + c9224a9 commit 1a1966b

File tree

33 files changed

+475
-328
lines changed

33 files changed

+475
-328
lines changed

.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22

33
# Images
4-
IMAGE_VERSION=1.7.1
4+
IMAGE_VERSION=1.7.2
55
IMAGE_NAME=ghcr.io/open-telemetry/demo
66
TRACETEST_IMAGE_VERSION=v0.14.5
77

.github/workflows/build-images.yml

+4
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ jobs:
5555
tag_suffix: emailservice
5656
context: ./src/emailservice
5757
setup-qemu: true
58+
- file: ./src/ffspostgres/Dockerfile
59+
tag_suffix: ffspostgres
60+
context: ./
61+
setup-qemu: true
5862
# NOTE:
5963
# https://github.com/open-telemetry/opentelemetry-demo/issues/956
6064
# Until dedicated ARM runners are available for GHA we cannot upgrade

CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,30 @@ release.
77

88
## Unreleased
99

10+
* [grafana] update grafana to 10.2.3
11+
([#1332](https://github.com/open-telemetry/opentelemetry-demo/pull/1332))
12+
* [frontendproxy] Enable envoy environment resource detector
13+
([#1291](https://github.com/open-telemetry/opentelemetry-demo/pull/1291))
14+
* [currencyservice] - add package name prefix to `rpc.service` attribute
15+
([#1333](https://github.com/open-telemetry/opentelemetry-demo/pull/1333))
16+
* [currency] fix metric exporter options
17+
([#1335](https://github.com/open-telemetry/opentelemetry-demo/pull/1335))
18+
* [ffspostgres] define and use demo specific postgres image
19+
([#1338](https://github.com/open-telemetry/opentelemetry-demo/pull/1338))
20+
* [accountingservice] update wiki link
21+
([#1346](https://github.com/open-telemetry/opentelemetry-demo/pull/1346))
22+
* [checkoutservice] update wiki link
23+
([#1346](https://github.com/open-telemetry/opentelemetry-demo/pull/1346))
24+
* [productcatalogservice] update wiki link
25+
([#1346](https://github.com/open-telemetry/opentelemetry-demo/pull/1346))
26+
27+
## 1.7.2
28+
29+
* [cartservice] update .NET package to 1.7.0 release
30+
([#1326](https://github.com/open-telemetry/opentelemetry-demo/pull/1326))
31+
* [loadgenerator and recommendationservice] Update python base image
32+
([#1329](https://github.com/open-telemetry/opentelemetry-demo/pull/1329))
33+
1034
## 1.7.1
1135

1236
* [grafana] revert to 10.2.0

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ GitHub pull requests (PRs).
113113

114114
To create a new PR, fork the project in GitHub and clone the upstream repo:
115115

116-
> **Note**
116+
> [!NOTE]
117117
> Please fork to a personal GitHub account rather than a corporate/enterprise
118118
> one so maintainers can push commits to your branch.
119119
> **Pull requests from protected forks will not be accepted.**

docker-compose.minimal.yml

+1
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ services:
256256
- OTEL_COLLECTOR_HOST
257257
- OTEL_COLLECTOR_PORT_GRPC
258258
- OTEL_COLLECTOR_PORT_HTTP
259+
- OTEL_RESOURCE_ATTRIBUTES
259260
- ENVOY_PORT
260261
depends_on:
261262
frontend:

docker-compose.yml

+13-9
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,11 @@ services:
228228
- OTEL_EXPORTER_OTLP_ENDPOINT
229229
- OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=grpc
230230
- OTEL_SERVICE_NAME=featureflagservice
231-
- DATABASE_URL=ecto://ffs:ffs@ffs_postgres:5432/ffs
231+
- DATABASE_URL=ecto://ffs:ffs@ffspostgres:5432/ffs
232232
healthcheck:
233233
test: ["CMD", "curl", "-H", "baggage: synthetic_request=true", "-f", "http://localhost:${FEATURE_FLAG_SERVICE_PORT}"]
234234
depends_on:
235-
ffs_postgres:
235+
ffspostgres:
236236
condition: service_healthy
237237
logging: *logging
238238

@@ -345,6 +345,7 @@ services:
345345
- OTEL_COLLECTOR_HOST
346346
- OTEL_COLLECTOR_PORT_GRPC
347347
- OTEL_COLLECTOR_PORT_HTTP
348+
- OTEL_RESOURCE_ATTRIBUTES
348349
- ENVOY_PORT
349350
depends_on:
350351
frontend:
@@ -539,10 +540,14 @@ services:
539540
# Dependent Services
540541
# ******************
541542
# Postgres used by Feature Flag service
542-
ffs_postgres:
543-
image: postgres:16.1
544-
container_name: postgres
545-
user: postgres
543+
ffspostgres:
544+
image: ${IMAGE_NAME}:${IMAGE_VERSION}-ffspostgres
545+
container_name: ffs-postgres
546+
build:
547+
context: ./
548+
dockerfile: ./src/ffspostgres/Dockerfile
549+
cache_from:
550+
- ${IMAGE_NAME}:${IMAGE_VERSION}-ffspostgres
546551
deploy:
547552
resources:
548553
limits:
@@ -553,8 +558,7 @@ services:
553558
- POSTGRES_DB=ffs
554559
- POSTGRES_PASSWORD=ffs
555560
volumes:
556-
- ./src/ffs_postgres/10-ffs_schema.sql:/docker-entrypoint-initdb.d/10-ffs_schema.sql
557-
- ./src/ffs_postgres/20-ffs_data.sql:/docker-entrypoint-initdb.d/20-ffs_data.sql
561+
- ./src/ffspostgres/update-scripts/99-ffs_update.sql:/docker-entrypoint-initdb.d/99-ffs_update.sql
558562
healthcheck:
559563
test: ["CMD-SHELL", "pg_isready -d ffs -U ffs"]
560564
interval: 10s
@@ -633,7 +637,7 @@ services:
633637

634638
# Grafana
635639
grafana:
636-
image: grafana/grafana:10.2.0
640+
image: grafana/grafana:10.2.3
637641
container_name: grafana
638642
deploy:
639643
resources:

internal/tools/tools.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
package tools
77

88
// This file follows the recommendation at
9-
// https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
9+
// https://go.dev/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
1010
// on how to pin tooling dependencies to a go.mod file.
1111
// This ensures that all systems use the same version of tools in addition to regular dependencies.
1212

0 commit comments

Comments
 (0)