Problem to solve
Glab-cli use with Gitlab GitLab Enterprise Edition v16.11.7-ee:
In my company we are using a self-host giltab v16.11.7-ee, I was using release cli tools to create project releases without problems. But once the release-cli is deprecated and the suggestion of gitlab is to use glab-ci tools. I start to implement this tool.
Happens that this tool is not to be compatible with the API version of GitLab v16.11.7-ee.
When the command is run the creation of release fails with the not found project.
The glab cli are using the api endpoint with the project path to create the release p.e: https:
//myserver.com/api/v4/projects/mygroup7myproject/release but this endpoint returns a 404 error. I tried with curl and the same error was given.
But the endpoint https://myserver.com/api/v4/projects/<project_id>/release works fine.
So may questions are:
- Is it a required API version for glab cli? Is this in the documentation?
- Do you have this problem also? Any solution?
Versions
Please select whether options apply, and add the version information.
- Self-managed
- GitLab.com SaaS
Versions
- GitLab Enterprise Edition v16.11.7-ee