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

[chore] dev tooling: add restart-service #1302

Merged
merged 6 commits into from
Dec 18, 2023
Merged

[chore] dev tooling: add restart-service #1302

merged 6 commits into from
Dec 18, 2023

Conversation

puckpuck
Copy link
Contributor

Changes

For developer tooling. I have a script I keep in my local environment, to build, then stop, remove, and create and start that service within an existing local docker deployment of the demo. When done this way you can be guaranteed that the latest code is running. Very handy to quickly see how your changes take place without having to restart the entire demo, or run a bunch of docker compose ... commands.

To use this with the checkout service you would run:

./restart-service.sh checkoutservice

or

make restart service=checkoutservice

Signed-off-by: Pierre Tessier <pierre@pierretessier.com>
Signed-off-by: Pierre Tessier <pierre@pierretessier.com>
Signed-off-by: Pierre Tessier <pierre@pierretessier.com>
@puckpuck puckpuck requested a review from a team December 15, 2023 03:32
Signed-off-by: Pierre Tessier <pierre@pierretessier.com>
Signed-off-by: Pierre Tessier <pierre@pierretessier.com>
Copy link
Member

@julianocosta89 julianocosta89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one!

@austinlparker austinlparker merged commit 228f19e into open-telemetry:main Dec 18, 2023
27 checks passed
@puckpuck puckpuck deleted the chore.dev-tooling branch December 19, 2023 02:43
jmichalak9 pushed a commit to jmichalak9/opentelemetry-demo that referenced this pull request Mar 22, 2024
* add restart-service

Signed-off-by: Pierre Tessier <pierre@pierretessier.com>

* comments are good

Signed-off-by: Pierre Tessier <pierre@pierretessier.com>

* support service and SERVICE

Signed-off-by: Pierre Tessier <pierre@pierretessier.com>

* add license

Signed-off-by: Pierre Tessier <pierre@pierretessier.com>

* add license

Signed-off-by: Pierre Tessier <pierre@pierretessier.com>

---------

Signed-off-by: Pierre Tessier <pierre@pierretessier.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants