-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
COCKROACH_ARGS environment variable not working as expected #122441
Comments
Hello, I am Blathers. I am here to help you get the issue triaged. It looks like you have not filled out the issue in the format of any of our templates. To best assist you, we advise you to use one of these templates. I was unable to automatically find someone to ping. If we have not gotten back to your issue within a few business days, you can try the following:
🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
Tagged @cockroach-dev-inf given this PR but feel free to reassign if this is not your area of ownership! |
122551: docker: pass `COCKROACH_ARGS` without quoting r=rickystewart a=rail Previously, the `COCKROACH_ARGS` variable was passed quoted, what converted it into a single string. If the variable is set to something more than one word, the whole string is passed as a single argument. This PR removes the surrounding quotes to let field splitting convert the string into multiple arguments. Fixes: #122441 Release note: None Co-authored-by: Rail Aliiev <[email protected]>
Hey @rail, I tried to run the latest docker image as a service in a GitHub actions workflow, and still encountered this error:
Is the PR not yet deployed to the latest image or something? |
It will be available in 24.2 |
Using COCKROACH_ARGS with flags instead of just a single command results in a failure.
This is due to a fault in /cockroach/cockroach.sh.
Error:
Please describe the issue you observed, and any steps we can take to reproduce it:
To Reproduce
Example:
Expected behavior
It should just pass the flags as normal instead of matching it all as a single command, this is due to a fault in the /cockroach/cockroach.sh file.
Additional context
The fix is changing:
To:
Because of the "" it's matching the entire variable as a single command.
Jira issue: CRDB-37892
The text was updated successfully, but these errors were encountered: