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

fix(3062): use dumb-init instead of tini #3090

Merged
merged 3 commits into from
Apr 9, 2024

Conversation

s-yoshika
Copy link
Contributor

@s-yoshika s-yoshika commented Apr 5, 2024

Context

In the previous PR, we have fixed the Dockerfile to use tini to handle sigterm appropriately for graceful shutdown. However it seems there are some issues for signal TRAP with tini as this comment mentioned.

Objective

It switches tini to dumb-init for the init process in the container as same as launcher does.

References

issue
original comment
dumb-init official

License

I confirm that this contribution is made under a BSD license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@coveralls
Copy link

coveralls commented Apr 5, 2024

Coverage Status

coverage: 95.274%. remained the same
when pulling 9d62f80 on sonic-screwdriver-cd:dumb-init
into a39d1c2 on screwdriver-cd:master.

Copy link

@foxtrot0304 foxtrot0304 left a comment

Choose a reason for hiding this comment

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

LGTM !

@tkyi tkyi merged commit 06a1c94 into screwdriver-cd:master Apr 9, 2024
2 checks passed
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.

5 participants