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

Upstream update 2024 June #149

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
208 commits
Select commit Hold shift + click to select a range
f8413fd
chore: add env var for pinning trace-based test tool version (#1239)
adnanrahic Nov 14, 2023
c9efc8a
Shippingservice: update release image to match builder (#1243)
styblope Nov 19, 2023
962234a
chore(deps): update checkoutservice (#1245)
renovate[bot] Nov 27, 2023
bf5a0a8
chore(deps): update featureflagservice (#1224)
renovate[bot] Nov 27, 2023
4f5c2cf
chore(deps): update accountingservice (#1244)
renovate[bot] Nov 27, 2023
bde0ff3
chore(deps): update confluentinc/cp-kafka docker tag to v7.5.2 (#1246)
renovate[bot] Nov 27, 2023
e57b00c
chore(deps): update kubeshop/tracetest docker tag to v0.14.6 (#1247)
renovate[bot] Nov 28, 2023
840bfc3
Update loadgen dependencies (#1274)
mviitane Nov 28, 2023
665d75e
chore(deps): update loadgenerator (#1248)
renovate[bot] Nov 28, 2023
0ad8d79
chore(deps): update dependency monolog/monolog to v3.5.0 (#1250)
renovate[bot] Nov 28, 2023
1e960fd
chore(deps): update dependency opentelemetry-exporter-otlp-proto-grpc…
renovate[bot] Nov 28, 2023
a66080b
chore(deps): update frontend (#1252)
renovate[bot] Nov 28, 2023
f1dbe22
chore(deps): update paymentservice (#1253)
renovate[bot] Nov 28, 2023
620cbda
chore(deps): update productcatalogservice (#1254)
renovate[bot] Nov 28, 2023
fc4170c
chore(deps): update config-no-service (#1256)
renovate[bot] Nov 28, 2023
d2e0db5
chore(deps): update loadgenerator (#1258)
renovate[bot] Nov 28, 2023
fd448b5
Added web browser traffic in loadgenerator (#1266)
jordibisbal8 Nov 28, 2023
6d7b978
chore(deps): update node docker tag to v21 (#1259)
renovate[bot] Nov 28, 2023
c9750dc
run tracetesting on successful build (#1278)
austinlparker Nov 28, 2023
7ae2cd2
switch to pull_request_target (#1279)
austinlparker Nov 28, 2023
c0f4899
add docker and update token (#1280)
austinlparker Nov 28, 2023
eb1708f
build before test and add badge (#1281)
austinlparker Nov 28, 2023
df66cb7
Bump action docker/setup-qemu-action@v3 (from v2) (#1277)
Kielek Nov 28, 2023
5f8a8e9
chore(deps): update plugin com.github.johnrengelman.shadow to v8 (#1260)
renovate[bot] Nov 28, 2023
1ce768f
currencyservice: update opentelemetry-cpp to 1.12.0 (#1275)
styblope Nov 29, 2023
1bb3324
currencyservice: bring back multistage build (#1276)
styblope Nov 29, 2023
bef6a64
chore(deps): update cartservice (#1249)
renovate[bot] Nov 29, 2023
18942fb
cartservice: Add .NET process metrics (#1265)
matt-hensley Nov 29, 2023
8124353
Replace deplecated function in otelgrpc for go (#1284)
yuki0920 Dec 1, 2023
0244786
[accountingservice] add attributes to kafka spans (#1286)
puckpuck Dec 4, 2023
3547beb
fix: pass proper env var to tracetesting Dockerfile (#1283)
jorgeepc Dec 6, 2023
2a01c06
Bump actions/setup-python from 4 to 5 (#1288)
dependabot[bot] Dec 6, 2023
4224643
chore(deps): update shippingservice (#1287)
TommyCpp Dec 7, 2023
59e33e5
chore(deps): update shippingservice (#1255)
renovate[bot] Dec 7, 2023
b61a935
[cartservice] Update to .NET8 (#1272)
Kielek Dec 9, 2023
daadf5e
fix collector scrape and dashboard (#1293)
austinlparker Dec 10, 2023
207fa7e
update cpp and pin to 3.18 (#1296)
austinlparker Dec 13, 2023
c8c192a
update js deps (#1298)
austinlparker Dec 14, 2023
430b4c9
[featureflag]: use float to check for flag probability (#1237)
puckpuck Dec 14, 2023
8e44c3a
[chore] - update dependent services to latest stable (#1301)
puckpuck Dec 16, 2023
889d455
remove playwright (#1300)
puckpuck Dec 16, 2023
228f19e
[chore] dev tooling: add restart-service (#1302)
puckpuck Dec 18, 2023
d8ecad7
prep for 1.7 release (#1299)
austinlparker Dec 19, 2023
43e7a76
Simplify cartservice Dockerfile (#1308)
alanwest Dec 22, 2023
23ced56
revert grafana to 10.2.0 (#1311)
puckpuck Dec 22, 2023
e45faec
[cart] - disable reload config (#1312)
puckpuck Dec 22, 2023
ca44eaf
[chore] - update kubernetes manifests to 1.7 release (#1305)
puckpuck Dec 27, 2023
326ffe4
Update dependencies and semconv (#1316)
julianocosta89 Jan 2, 2024
b55b147
[cart] - fix cartServiceFailure flag (#1313)
puckpuck Jan 2, 2024
4870aa9
Fix typo in running the AdService command (#1317)
laithshadeed Jan 2, 2024
3895edc
prep for 1.7.1 (#1320)
austinlparker Jan 4, 2024
f25b46f
[ffs] - Allow setting initial feature flag values (#1319)
puckpuck Jan 8, 2024
6a142a7
Update affiliation (#1323)
julianocosta89 Jan 8, 2024
47d9f5d
[cartservice] Bump OTel .NET SDK to 1.7.0 together with other depende…
Kielek Jan 16, 2024
494808a
Re-generate protobuf to fix deprecated go modules (#1321)
tranngoclam Jan 16, 2024
bfc18c7
[loadgenerator and recommendationservice] Update python base image (#…
julianocosta89 Jan 16, 2024
9e624d7
update version numbers (#1331)
austinlparker Jan 16, 2024
ea3fbfd
[grafana] - update grafana to 10.2.3 (#1332)
puckpuck Jan 16, 2024
c5484eb
[currency] - fix rpc.service attribute (#1333)
puckpuck Jan 19, 2024
c1365ed
use GitHub markdown syntax (#1342)
puckpuck Jan 19, 2024
69a28d6
[frontendproxy] enable envoy environment resource detector (#1291)
rlankfo Jan 19, 2024
0051599
[currency] - fix metricreader export and temporality (#1335)
puckpuck Jan 19, 2024
0d9cf78
update to latest helm release (#1341)
puckpuck Jan 20, 2024
9ed7785
[postgres] Define and use image for postgres (#1338)
puckpuck Jan 22, 2024
c9224a9
Update wiki url (#1346)
pankdev Jan 25, 2024
120381a
Fix crashlooping for two services with insufficient privileges on ope…
LouisParkin Jan 29, 2024
022ba90
Add browser traffic in loadgenerator and export traces in frontend (#…
jordibisbal8 Jan 30, 2024
ee7907f
Major version update (version 2.0.0) for OTel Java instrumentation (#…
mviitane Feb 1, 2024
cbea332
Align env variables for OTLP ports (#1353)
mviitane Feb 1, 2024
26b1710
Update dependent services - Collector, Grafana, Jaeger, Prometheus, e…
mviitane Feb 1, 2024
e15affc
[opensearch] - Use opensearch exporter & remove dataprepper (#1356)
puckpuck Feb 2, 2024
b0c1d27
[chore] update Go SDKs, & fix metrics filters and transforms (#1357)
puckpuck Feb 2, 2024
d2eae5f
build(go): upgrade golang:1.21.6 (#1360)
tranngoclam Feb 2, 2024
14bc74a
[chore] update SDKs and remove metric transforms (#1358)
puckpuck Feb 5, 2024
23094bf
always run cleanup job (#1366)
austinlparker Feb 5, 2024
d1575de
[loadgenerator] fix browser traffic enabled flag (#1359)
puckpuck Feb 7, 2024
3a9e507
Bump gradle/wrapper-validation-action from 1.1.0 to 2.0.1 (#1370)
dependabot[bot] Feb 7, 2024
059dfb9
chore(go): update go 1.22 (#1367)
tranngoclam Feb 7, 2024
b8cc894
Bump gradle/wrapper-validation-action from 2.0.1 to 2.1.0 (#1373)
dependabot[bot] Feb 8, 2024
ab6c1a7
[productcatalog] - allow products to be extended (#1363)
puckpuck Feb 9, 2024
1c6b68b
Bump gradle/wrapper-validation-action from 2.1.0 to 2.1.1 (#1376)
dependabot[bot] Feb 13, 2024
1b2214e
build(deps): upgrade go.opentelemetry.io/otel and go.opentelemetry.io…
tranngoclam Feb 14, 2024
2d16971
[chore] fix trace tests (#1377)
puckpuck Feb 14, 2024
e37e626
[cartservice] Bump .NET to 8.0.2 (#1380)
Kielek Feb 14, 2024
371b36f
Add Google Cloud fork to demos list (#1381)
damemi Feb 15, 2024
816ee5a
[currencyservice] Add OTLP logs (#1378)
julianocosta89 Feb 16, 2024
9d77fdf
prep for release (#1379)
austinlparker Feb 16, 2024
e8e3553
refactor(checkoutservice): reuse grpc service client (#1387)
tranngoclam Feb 19, 2024
6eab783
chore: use semantic convention v1.24.0 (#1385)
tranngoclam Feb 19, 2024
59e0528
bump dependencies (#1390)
julianocosta89 Feb 19, 2024
64eb66e
Update trace test sem conv (#1394)
julianocosta89 Feb 20, 2024
6f38f5f
update to 1.8.0 release (#1395)
puckpuck Feb 21, 2024
f9053b7
[chore] make: fix restart, add redeploy targets (#1397)
puckpuck Feb 21, 2024
0d7e94b
[chore] - memory for collector and jaeger (#1396)
puckpuck Feb 21, 2024
1b9b117
[chore]: nightly build and publish (#1398)
puckpuck Feb 21, 2024
6bd2ede
use nightly releases (#1399)
puckpuck Feb 22, 2024
ef31bfd
[chore]: remove integration tests (#1406)
puckpuck Feb 22, 2024
cf7bac7
chore(checkoutservice): add producer interceptor for tracing (#1400)
tranngoclam Feb 24, 2024
e07f5b2
fix(accountingservice): fix graceful shutdown and log issues (#1401)
tranngoclam Feb 26, 2024
3f6958a
only run nightly for main repo (#1407)
puckpuck Feb 26, 2024
ca56690
fix(productcatalogservice): fix graceful shutdown issues (#1402)
tranngoclam Feb 26, 2024
940dfca
Test: Run integration tests on PR approval (#1414)
austinlparker Feb 26, 2024
b1e26c3
[CartService] - Add Host Detector (#1415)
julianocosta89 Feb 27, 2024
0a1ad08
docs(readme): add Dash0 to the list of forks (#1416)
basti1302 Feb 27, 2024
71f0e96
[frontend] update sharp to latest to avoid docker build issue on M1 (…
basti1302 Feb 27, 2024
06f020c
[frontend] fix typo in ShippingGateway (#1418)
basti1302 Mar 1, 2024
b7c7891
fix kafka producer spans (#1428)
puckpuck Mar 2, 2024
71e428b
chore: upgrade go.opentelemetry.io otel and contrib dependencies (#1408)
tranngoclam Mar 2, 2024
c8b8e08
refactor(checkoutservice): use exception.message key from semantic co…
tranngoclam Mar 6, 2024
ce4ad93
Remove Feature Flag Service in favor of OpenFeature + flagd (#1388)
austinlparker Mar 7, 2024
0ac4db7
refactor(checkoutservice): remove unused replace directive (#1431)
tranngoclam Mar 7, 2024
c076a66
[chore]: make stop target for all profiles (#1427)
puckpuck Mar 7, 2024
e82863b
Cache playwright browsers outside root home to allow container to run…
fvlankvelt Mar 7, 2024
0c80094
build protobuf in dockerfile for all services (#1386)
fsolleza Mar 7, 2024
c6f4471
[chore] add Liatrio to list of vendor demos (#1442)
adrielp Mar 9, 2024
78a5078
Update Telemetry Components (#1440)
julianocosta89 Mar 11, 2024
6775060
refactor(accountingservice): refactor accountingservice dockerfile (#…
tranngoclam Mar 12, 2024
87e051d
[Frontend-proxy] Add restart policy to compose files (#1448)
klucsik Mar 13, 2024
5a5eb25
Reset quantity in frontend when product changes (#1447)
austinlparker Mar 13, 2024
def3a4c
Emit load generator logs via OTLP (#1446)
austinlparker Mar 13, 2024
b25c807
refactor(checkoutservice): refactor checkoutservice dockerfile (#1450)
tranngoclam Mar 14, 2024
95f8f29
refactor(productcatalogservice): refactor productcatalogservice docke…
tranngoclam Mar 14, 2024
8605f61
remove axoflow link (#1457)
austinlparker Mar 14, 2024
4862828
[chore] jsonlint (#1454)
julianocosta89 Mar 14, 2024
8de7041
[paymentservice] [checkoutservice] introduce new featureflags (#1449)
EislM0203 Mar 14, 2024
45feab5
Adjust FeatureFlags (#1458)
julianocosta89 Mar 14, 2024
dfa2858
[cartservice] update .NET to .NET 8.0.3 (#1460)
Kielek Mar 15, 2024
5a0f85f
remove reference of featureflag endpoint (#1461)
julianocosta89 Mar 15, 2024
b50be5d
[chore] Add depends_on flagd to all services using it (#1464)
julianocosta89 Mar 15, 2024
c50245e
restrict workflows to otel repo (#1466)
puckpuck Mar 19, 2024
1f538a1
build(deps): upgrade google.golang.org/protobuf v1.33.0 (#1452)
tranngoclam Mar 19, 2024
4b093f7
fix failed_spans typo in grafana dashboards (#1465)
edhjer Mar 19, 2024
f4eee80
remove deprecated start_child_span option (#1469)
puckpuck Mar 21, 2024
298c930
[frontend] - disable fs instrumentation library (#1473)
puckpuck Mar 21, 2024
7560436
[currency] - fix metric name (#1470)
puckpuck Mar 21, 2024
b8ac885
Bump gradle/wrapper-validation-action from 2.1.1 to 2.1.2 (#1474)
dependabot[bot] Mar 22, 2024
73bdd52
[chore] Remove featureflagservice ide-gen-proto.sh (#1476)
puckpuck Mar 24, 2024
5c6b801
[adservice] add adServiceManualGC featureflag (#1463)
EislM0203 Mar 25, 2024
a1baff7
[chore] add labels to pr (#1475)
puckpuck Mar 25, 2024
36d0215
Bump actions/github-script from 3 to 7 (#1483)
dependabot[bot] Mar 25, 2024
9ffee33
Adservice returns error status code when feature flag is enabled (#1484)
jack-berg Mar 26, 2024
e18bb82
Update maintainers list (#1488)
julianocosta89 Mar 27, 2024
8ba9a1d
[shippingservice] fix context propagation (#1433)
julianocosta89 Apr 2, 2024
4185d2d
prep for 1.9 release (#1493)
austinlparker Apr 2, 2024
59cdb0a
chore(deps): upgrade otel collector, grafana, jaeger and prometheus (…
tranngoclam Apr 3, 2024
06023dd
Imageprovider (#1462)
klucsik Apr 4, 2024
5cef0e7
chore(kafka): use apache/kafka official image (#1480)
tranngoclam Apr 6, 2024
888f18c
chore(docker compose): add container name as tag attribute to contain…
harrykimpel Apr 6, 2024
6d29975
[frauddetection] Use span links as Kafka consumer (#1501)
puckpuck Apr 6, 2024
c333b41
update script (#1503)
austinlparker Apr 6, 2024
e7a240f
update permissions (#1504)
austinlparker Apr 6, 2024
282b7f1
Update label-pr.yml
austinlparker Apr 6, 2024
1e992ba
Update label-pr.yml
austinlparker Apr 6, 2024
2596ca0
[frontend] reunite trace from loadgenerator (#1506)
puckpuck Apr 7, 2024
bbb99a1
[loadgenerator] added loadgeneratorFloodHomepage flagd (#1486)
bornav Apr 8, 2024
d885110
[repo] add traceBasedTests image (#1507)
puckpuck Apr 8, 2024
1d3a324
Update frontend test to remove fraud detection span check (#1516)
julianocosta89 Apr 10, 2024
18edfd5
chore(deps): upgrade otel sdk, contrib to latest version (#1512)
tranngoclam Apr 10, 2024
6f89f56
[cartservice] Update OTel .NET SDK to 1.8.0 (#1514)
Kielek Apr 10, 2024
a29c2a7
adservice add highcpu load ff (#1510)
EislM0203 Apr 11, 2024
d1535f9
[quoteservice] manual metrics, logs export (#1519)
brettmc Apr 11, 2024
103738b
[loadgenerator] start locust with host "0.0.0.0" (#1437) (#1509)
MoZhonghua Apr 12, 2024
17f1bd4
[flagd] export flagd traces to otel collector (#1522)
klucsik Apr 12, 2024
fb75872
[frontend + adservice] Pass Session ID through baggage (#1502)
austinlparker Apr 14, 2024
742594f
Add link to feature flags docs (#1523)
curusarn Apr 14, 2024
67d92e4
Update Datadog link in README (#1527)
julianocosta89 Apr 15, 2024
e5c45b9
Bump gradle/wrapper-validation-action from 2.1.2 to 3.3.0 (#1524)
dependabot[bot] Apr 15, 2024
95a3b5c
Append slash to copy destination in adService Dockerfile (#1530)
danielgblanco Apr 15, 2024
4d84a64
[frontend] Pass down image optimization requests to imageprovider in …
klucsik Apr 15, 2024
307f379
chore(deps): upgrade opentelemetry-java-instrumentation to 2.3.0 (#1532)
tranngoclam Apr 16, 2024
8b1e260
Bump gradle/wrapper-validation-action from 3.3.0 to 3.3.1 (#1539)
dependabot[bot] Apr 22, 2024
77fb27c
chore(deps): upgrade opentelemetry-java-instrumentation for kafka to …
tranngoclam Apr 22, 2024
a7aeade
feat(otelcol): add redisreceiver (#1537)
tranngoclam Apr 23, 2024
05982b2
fix(productcatalogservice): handle err returned from openfeature.SetP…
tranngoclam Apr 23, 2024
e0500b2
[kafka][checkoutservice][frauddetectionservice] add kafkaQueueProblem…
EislM0203 Apr 30, 2024
faa5104
Bump gradle/wrapper-validation-action from 3.3.1 to 3.3.2 (#1548)
dependabot[bot] Apr 30, 2024
61d6a5f
improve baggage propagation (#1545)
beeme1mr Apr 30, 2024
475eaa5
[chore] specify default value for tracetest image version (#1551)
puckpuck May 1, 2024
9027cfc
update kubernetes manifest to 1.9.0 (#1555)
puckpuck May 1, 2024
2e6cb5a
[flagd] - upgrade to latest version and memory limits (#1554)
puckpuck May 1, 2024
81536c8
add imageprovider (#1552)
puckpuck May 3, 2024
a65c46f
chore(deps): upgrade otel collector contrib, grafana and prometheus (…
tranngoclam May 3, 2024
ab59acc
remove deprecated version property (#1557)
puckpuck May 5, 2024
5c59ca1
chore(deps): upgrade go dependencies to latest versions (#1561)
tranngoclam May 6, 2024
b3c53f5
feat: configure feature flag tracing for Python services (#1553)
federicobond May 6, 2024
9708127
Revert "remove axoflow link (#1457)" (#1563)
julianocosta89 May 7, 2024
9ea9eda
fix(loadgenerator): use add_hooks openfeature method (#1565)
rogercoll May 7, 2024
1d5126b
chore(deps): upgrade otel collector contrib and opensearch (#1566)
rogercoll May 7, 2024
3c665d3
docs: update sig meeting schedule (#1567)
rogercoll May 8, 2024
f909932
[frontend] Slowloading of images (#1515)
klucsik May 13, 2024
a82287d
[Frontend] Global img provider (#1571)
klucsik May 15, 2024
e91611b
Fix kafka permission in dockerfile (#1574)
zzh8829 Jun 1, 2024
b5983f2
Resolve proto directory dynamically for dotnet cartservice (#1579)
Mpdreamz Jun 1, 2024
925ddee
[cartservice] bump Otel .NET SDK to 1.8.1 (#1580)
rogercoll Jun 1, 2024
3ee280d
add flagd service to minimal docker compose (#1585)
rogercoll Jun 1, 2024
3afe19e
[kafka] increase kafka memory limits (#1592)
puckpuck Jun 3, 2024
b9c5d37
[imageprovider] reduce image size (#1589)
puckpuck Jun 3, 2024
379cf62
chore(ci): reusable container image generation (#1581)
rogercoll Jun 3, 2024
b2f6fbf
chore: introduce .env.override for docker-compose (#1584)
rogercoll Jun 3, 2024
2ca2be6
[chore] release prep: update dependencies for all services (#1591)
puckpuck Jun 5, 2024
d75c9d8
chore: Add service version to OTEL_RESOURCE_ATTRIBUTES (#1594)
julianocosta89 Jun 5, 2024
cc29172
[checkout] fix kafka restart (#1590)
puckpuck Jun 6, 2024
7e4f1f6
Update demo image version (#1597)
julianocosta89 Jun 7, 2024
9dc4a67
updated buildx config (#1596)
puckpuck Jun 7, 2024
6202972
Bump docker/build-push-action from 5.0.0 to 5.4.0 (#1598)
dependabot[bot] Jun 10, 2024
a61ab14
chore: configure renovate to bump image deps (#1599)
rogercoll Jun 13, 2024
6fd371c
fix: start-minimal make target (#1604)
rogercoll Jun 14, 2024
8b48179
Merge remote-tracking branch 'upstream/main' into upstream-update-202…
YANG-DB Jun 24, 2024
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
29 changes: 26 additions & 3 deletions .env
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@

# Images
IMAGE_VERSION=1.6.0

# Demo App version
IMAGE_VERSION=1.10.0
IMAGE_NAME=ghcr.io/open-telemetry/demo
DEMO_VERSION=latest

# Dependent images
COLLECTOR_CONTRIB_IMAGE=otel/opentelemetry-collector-contrib:0.102.1
FLAGD_IMAGE=ghcr.io/open-feature/flagd:v0.10.2
GRAFANA_IMAGE=grafana/grafana:10.4.3
JAEGERTRACING_IMAGE=jaegertracing/all-in-one:1.57
# must also update version field in ./src/grafana/provisioning/datasources/opensearch.yaml
OPENSEARCH_IMAGE=opensearchproject/opensearch:2.14.0
POSTGRES_IMAGE=postgres:16.3
PROMETHEUS_IMAGE=quay.io/prometheus/prometheus:v2.52.0
REDIS_IMAGE=redis:7.2-alpine
# must also update the version arg in ./test/tracetesting/Dockerfile
TRACETEST_IMAGE=kubeshop/tracetest:v1.3.0

# Demo Platform
ENV_PLATFORM=local
Expand All @@ -14,7 +29,7 @@ OTEL_EXPORTER_OTLP_ENDPOINT=http://${OTEL_COLLECTOR_HOST}:${OTEL_COLLECTOR_PORT_
PUBLIC_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://localhost:8080/otlp-http/v1/traces

# OpenTelemetry Resource Definitions
OTEL_RESOURCE_ATTRIBUTES="service.namespace=opentelemetry-demo"
OTEL_RESOURCE_ATTRIBUTES=service.namespace=opentelemetry-demo,service.version=${IMAGE_VERSION}

# Metrics Temporality
OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=cumulative
Expand Down Expand Up @@ -62,6 +77,10 @@ FRONTEND_HOST=frontend
ENVOY_PORT=8080
FRONTEND_PROXY_ADDR=frontend-proxy:${ENVOY_PORT}

# Image Provider
IMAGE_PROVIDER_HOST=imageprovider
IMAGE_PROVIDER_PORT=8081

# Load Generator
LOCUST_WEB_PORT=8089
LOCUST_USERS=10
Expand Down Expand Up @@ -93,6 +112,10 @@ SHIPPING_SERVICE_ADDR=shippingservice:${SHIPPING_SERVICE_PORT}
# ******************
# Dependent Services
# ******************
# flagd
FLAGD_HOST=flagd
FLAGD_PORT=8013

# Kafka
KAFKA_SERVICE_PORT=9092
KAFKA_SERVICE_ADDR=kafka:${KAFKA_SERVICE_PORT}
Expand Down
2 changes: 2 additions & 0 deletions .env.override
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# DO NOT PUSH CHANGES OF THIS FILE TO opentelemetry/opentelemetry-demo
# PLACE YOUR .env ENVIRONMENT VARIABLES OVERRIDES IN THIS FILE
1 change: 1 addition & 0 deletions .github/workflows/assign-reviewers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:

jobs:
assign-reviewers:
if: github.repository == 'open-telemetry/opentelemetry-demo'
runs-on: ubuntu-latest
steps:
- uses: dyladan/component-owners@main
Expand Down
149 changes: 4 additions & 145 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
@@ -1,155 +1,14 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0
name: Test image generation

on:
push:
paths:
- 'src/**'
- 'test/**'
workflow_call:
inputs:
push:
description: Should the images be pushed
default: false
required: false
type: boolean
version:
description: The version used when tagging the image
default: 'dev'
required: false
type: string

jobs:
build_and_push_images:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

env:
RELEASE_VERSION: "${{ github.event.release.tag_name }}"
DOCKERHUB_REPO: "otel/demo"
GHCR_REPO: "ghcr.io/open-telemetry/demo"

strategy:
fail-fast: false
matrix:
file_tag:
- file: ./src/adservice/Dockerfile
tag_suffix: adservice
context: ./
- file: ./src/cartservice/src/Dockerfile
tag_suffix: cartservice
context: ./
- file: ./src/checkoutservice/Dockerfile
tag_suffix: checkoutservice
context: ./
- file: ./src/currencyservice/Dockerfile
tag_suffix: currencyservice
context: ./src/currencyservice
- file: ./src/emailservice/Dockerfile
tag_suffix: emailservice
context: ./src/emailservice
# NOTE:
# https://github.com/open-telemetry/opentelemetry-demo/issues/956
# Until dedicated ARM runners are available for GHA we cannot upgrade
# OTP/Elixir versions. Please do not change the OTP/Elixir versions.
- file: ./src/featureflagservice/Dockerfile
tag_suffix: featureflagservice
context: ./
- file: ./src/frontend/Dockerfile
tag_suffix: frontend
context: ./
- file: ./src/frontendproxy/Dockerfile
tag_suffix: frontendproxy
context: ./
- file: ./src/loadgenerator/Dockerfile
tag_suffix: loadgenerator
context: ./
- file: ./src/paymentservice/Dockerfile
tag_suffix: paymentservice
context: ./
- file: ./src/productcatalogservice/Dockerfile
tag_suffix: productcatalogservice
context: ./
- file: ./src/quoteservice/Dockerfile
tag_suffix: quoteservice
context: ./
- file: ./src/shippingservice/Dockerfile
tag_suffix: shippingservice
context: ./
- file: ./src/recommendationservice/Dockerfile
tag_suffix: recommendationservice
context: ./
- file: ./src/kafka/Dockerfile
tag_suffix: kafka
context: ./
- file: ./src/accountingservice/Dockerfile
tag_suffix: accountingservice
context: ./
- file: ./src/frauddetectionservice/Dockerfile
tag_suffix: frauddetectionservice
context: ./
- file: ./src/frontend/Dockerfile.cypress
tag_suffix: frontend-tests
context: ./
- file: ./test/Dockerfile
tag_suffix: integrationTests
context: ./

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Check for changes and set push options
id: check_changes
run: |
DOCKERFILE_DIR=$(dirname ${{ matrix.file_tag.file }})
FILES_CHANGED=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }} -- $DOCKERFILE_DIR)
FORCE_PUSH=${{ inputs.push }}
if [ "$FORCE_PUSH" = true ]; then
echo "Force push is enabled, proceeding with build."
echo "skip=false" >> "$GITHUB_OUTPUT"
elif [ -z "$FILES_CHANGED" ]; then
echo "No changes in ${{ matrix.file_tag.context }}, skipping build."
echo "skip=true" >> "$GITHUB_OUTPUT"
else
echo "Changes detected in ${{ matrix.file_tag.context }}, proceeding with build."
echo "skip=false" >> "$GITHUB_OUTPUT"
fi
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
if: ${{ inputs.push }}
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
if: ${{ inputs.push }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
image: tonistiigi/binfmt:master
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
config-inline: |
[worker.oci]
max-parallelism = 2
- name: Matrix Build and push demo images
if: steps.check_changes.outputs.skip == 'false'
uses: docker/build-push-action@v3.3.1
with:
context: ${{ matrix.file_tag.context }}
file: ${{ matrix.file_tag.file }}
platforms: linux/amd64,linux/arm64
push: ${{ inputs.push }}
tags: |
${{ env.DOCKERHUB_REPO }}:${{ inputs.version }}-${{matrix.file_tag.tag_suffix }}
${{ env.GHCR_REPO }}:${{ inputs.version }}-${{ matrix.file_tag.tag_suffix }}
cache-from: type=gha
cache-to: type=gha
build_images:
if: github.repository == 'open-telemetry/opentelemetry-demo'
uses: ./.github/workflows/component_build_images.yml
16 changes: 8 additions & 8 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
build_images:
uses: ./.github/workflows/build-images.yml
uses: ./.github/workflows/component_build-images.yml
with:
push: false
version: 'dev'
Expand All @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: install dependencies
run: npm install
Expand All @@ -32,9 +32,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'

Expand All @@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: run misspell
run: make misspell
Expand All @@ -57,7 +57,7 @@ jobs:
name: markdownlinkcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Run link check
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
Expand All @@ -69,7 +69,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: run sanitycheck.py
run: python3 ./internal/tools/sanitycheck.py
Expand All @@ -78,7 +78,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: install tools
run: make install-tools
- name: run checklicense
Expand Down
Loading
Loading