devstream
devstream copied to clipboard
gitlabci-generic plugin issue
Hi,
Anyone using the gitlabci-generic plugin, when I tried it, got the following issue, I use our own setup gitlab repo instead of gitlab.com, how to set to use our own repo instead of below trying to post https://gitlab.com/api...?
.....
2022-08-19 10:28:08 !! [ERROR] Errors Map: key(gitlabci-generic/default-Create) -> value(POST https://gitlab.com/api/v4/projects/calvin/demodvs/repository/commits: 401 {message: 401 Unauthorized})
2022-08-19 10:28:08 !! [ERROR] Apply failed => some error(s) occurred during plugins apply process.
@IronCore864 @imxw Could you please help to resolve this issue?
- Do you set base_url in config, this can be your self hosted gitlab address.
- Do you set GITLAB_TOKEN?
I set the base_url in the config file, which point to our self hosted gitlab url; and export GITLAB_TOKEN as well before running the "dtm apply ....", same issue as above.
Can you give your base_url setting and run with --debug, I have tested gitlab And it can work