To automate all the things that need to be done after setting up a new GitLab server (which we do often for testing purposes), it would be really good if I could get an access token for the root user from the cli.
I’m fine with using the rails console for it (I have root access to the server, so I could Reset the root password which it is documented how to do, when I can do that, there is no reason I should not be able to do anything else), but it’s hard to find any sort of documentation on what you can actually do in the rails console.
Any help? (I have seen
and the referenced script, but it seems wrong to through the web interface, and that would require me to do some work to give the mentioned test instances a valid SSL certificate.)