s2i run exits with exit-code 0 if no way to run the app was found
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
Research direction
Start with the s2i/run script and compare its fall-through behavior with the linked s2i-python-container src/s2i/bin/run implementation. Verify the path taken when no webserver can be started, then ensure that path exits with code 1 rather than 0.
Written by the indexing model from the issue text.
Description
s2i/run script currently exits with code 0 when no way to run the container was found. s2i-python-container's approach should IMO instead be followed where the script exits 1 if it falls through and no webserver is able to be started for one reason or another: https://github.com/sclorg/s2i-python-container/blob/cc6d266cb1e9641c1f547da1d0c6094352b4e47c/src/s2i/bin/run#L161
- Dominant language
- Shell
- Stars
- 54
- Forks
- 156
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sclorg/s2i-ruby-container
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
sclorg/s2i-ruby-container#654 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 32/100
sclorg/s2i-ruby-container#530 · 6 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
sclorg/s2i-ruby-container#519 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
sclorg/s2i-ruby-container#160 · 10 comments ·
All issues in sclorg/s2i-ruby-container
Similar issues
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·
-
area: compat bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
zenhub-dev
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OpenLiberty/ci.docker#747 ·