gitlab4j-api icon indicating copy to clipboard operation
gitlab4j-api copied to clipboard

enable test containers for new tests

Open jabby opened this issue 3 years ago • 2 comments

It's actually a work in progress.

See #925 for more informations

jabby avatar Mar 29 '23 15:03 jabby

I made some additional changes to the branch pr_935 in my fork, but I don't have something working yet.

jmini avatar Sep 27 '23 08:09 jmini

I was able to start the gitlab docker image from a jbang script RunGitlab.java including the creation of the user token with API scope for the root user.

This looks very promising 🎉


I also modified the GitLabContainer in branch pr_935 with an additional method initRootUserToken() called just after the container is started.

Now I need to use it correctly in the UserApiIntegrationTest

It starts to look good.

jmini avatar Sep 27 '23 21:09 jmini