-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixing w3c-tracecontext test startup (#668)
* fixing w3c-tracecontext test startup make w3c-trace-context was suffering from some bitrot, so this change gets it building and running again. The tests themselves still fail due to further code-related bitrot. * silence new phpstan error
- Loading branch information
Showing
3 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
version: '3.7' | ||
services: | ||
php: | ||
user: root | ||
build: | ||
context: . | ||
dockerfile: docker/Dockerfile | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
#!/usr/bin/env bash | ||
set -x | ||
|
||
git config --global user.email "[email protected]" | ||
|
||
# Install Symfony | ||
curl -sS https://get.symfony.com/cli/installer | bash | ||
|
@@ -21,16 +24,18 @@ composer require open-telemetry/opentelemetry "*" | |
composer config repositories.local \ | ||
'{"type": "path", "url": "/usr/src/open-telemetry/", "options": {"symLink": true }}' \ | ||
--file composer.json | ||
composer config minimum-stability dev --file composer.json | ||
composer require php-http/mock-client "*" | ||
composer require nyholm/psr7 "*" | ||
rm composer.lock | ||
composer clearcache | ||
composer install | ||
|
||
# Start the server to start listening in the background | ||
symfony server:start -d --port=8001 | ||
symfony server:start -d --port=8001 --no-tls | ||
|
||
# Setup the TraceContext Test Service | ||
apt-get install -y python3-pip | ||
pip3 install aiohttp | ||
apk add --no-cache py3-pip py3-aiohttp | ||
|
||
cd .. | ||
rm -rf trace-context | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters