Closed sh-cau closed 9 months ago
Ok, I finally got it working. So there were two issues:
I wish there would have been a few examples in the docs. But they seem to be centered around using Git Hub. So please consider extending the docs to a few use cases and workflows, maybe, to do your amazing tool justice.
I'm closing this issue as it's been sorted out. Feel free to reopen if needed.
I want to have a scheduled release, say, each week using a Gitlab pipeline. Unfortunately, there's no real example on how to do this. I want
nyx
to take care of that by setting up my.gitlab_ci.yml
as follows:I had to include the
git config
bits because otherwisenyx
complained that anauthor
must be configured in order to push back to gitlab.Unfortunately, I get the error
in the Gitlab pipeline with a gitlab runner. I've set up the
.nyx.yaml
as described in #289, i.e., it should authenticate with a tokenGITLAB_TOKEN
that I define in Gitlab and that is passed as an environment variable. It seems thatnyx
ignores that part in the.nyx.yaml
file? It is also possible that I am missing something here? I think the error message (or the debug messages) could be more enlightening, e.g., it would be nice to confirm that a TOKEN is used and not really a user-password combination.