Niyam Siwach created CASSANDRA-21275:
----------------------------------------
Summary: Fix wrong run_script variable used in
.build/docker/_docker_run.sh container names
Key: CASSANDRA-21275
URL: https://issues.apache.org/jira/browse/CASSANDRA-21275
Project: Apache Cassandra
Issue Type: Bug
Components: CI
Reporter: Niyam Siwach
Assignee: Niyam Siwach
.build/docker/_docker_run.sh generates the Docker container name using
${un_script_name}, but the script actually defines run_script_name. As a
result, the generated container name drops the script component and does not
reflect the invoked build script correctly.
This patch fixes the variable reference and also makes run_script_name
derivation more robust by quoting run_script and stripping any leading path
before removing the .sh suffix and underscores. That keeps container names
stable and readable for scripts invoked with path components, such as
docker/_build-debian.sh.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]