Skip to content

Commit

Permalink
[chore][CI/CD] Fix build-examples (#32156)
Browse files Browse the repository at this point in the history
**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
GitHub runners are being upgraded to docker v2. This requires `docker
compose` to be used instead of `docker-compose`. I'm not aware of any
other requirements for updating `build-examples` at this time.

**Link to tracking Issue:** <Issue number if applicable>
Resolves
#32138

**Testing:** <Describe what testing was performed and which tests were
added.>
Working locally, github runners won't run on updated code until merged
into main AFAIK, unfortunately.

Co-authored-by: Antoine Toulme <antoine@lunar-ocean.com>
  • Loading branch information
crobert-1 and atoulme committed Apr 4, 2024
1 parent ba972bb commit d2440a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,9 @@ otel-from-lib:

.PHONY: build-examples
build-examples:
docker-compose -f examples/demo/docker-compose.yaml build
cd examples/secure-tracing/certs && $(MAKE) clean && $(MAKE) all && docker-compose -f ../docker-compose.yaml build
docker-compose -f exporter/splunkhecexporter/example/docker-compose.yml build
docker compose -f examples/demo/docker-compose.yaml build
cd examples/secure-tracing/certs && $(MAKE) clean && $(MAKE) all && docker compose -f ../docker-compose.yaml build
docker compose -f exporter/splunkhecexporter/example/docker-compose.yml build

.PHONY: deb-rpm-package
%-package: ARCH ?= amd64
Expand Down

0 comments on commit d2440a2

Please sign in to comment.