Open jgsuess opened 1 year ago
Maybe this is a feature request to have a second container with just bash as entry point and variables sourced so
macaron analyze -rp https://github.com/micronaut-projects/micronaut-core -b 4.0.x -d 82d115b4901d10226552ac67b0a10978cd5bc603
can be called.
Can you please provide more context on your usecase? If I understand correctly, you are not using the run_macaron.sh
script, which is recommended. user.sh
is an internal script and is not meant to be used by end users.
I am trying to execute Macaron in Gitlab CI. In this scenario, the container is started in K8S by the CI runner. The usual situation is that you are dropped into a shell environment and then execute build commands.
This does not work here, as the entrypoint does not start a shell.
It means that to use it in this CI environment, you have to disable the entry point first and the call it via bash.
Note that this approach to dispatch is used for most CI systems. There is no outer
, so run_macaron.sh
is not an option.
Compare L21
Seems this is due to a broken expansion of
${MACARON_PARAMS[*]}
.It is this issue
And this from the doco:
The following works in Gitlab ci, but is not pretty. Note that you will need to set the
GITHUB_TOKEN
in the environment variables of the run.