Archives mensuelles : juillet 2022

gitlab API

Retrieve the list of all projects which I am member and with 100 results by page : curl -H « PRIVATE-TOKEN: MY_GITLAB_TOKEN » « http://foo-gitlab.com/api/v4/projects?per_page=100&simple=true&membership=true » Download a file from a repository: curl -v -o README.md -H ‘PRIVATE-TOKEN: MY_GITLAB_TOKEN’ « http://foo-gitlab.com/api/v4/projects/1234/repository/files/foo%2Fbar%2FREADME.md/raw?ref=master » where : – 1234 … Continuer la lecture

Publié dans Non classé | Laisser un commentaire

JGit and Gitlab API

Define a composite service that propose high-level services : served by gitlab api or JGit according to the case We set the git property sslVerify to false to bypass ssl checks of the gitlab server.Here how the gitlabToken and gitlab.server.url … Continuer la lecture

Publié dans Non classé | Laisser un commentaire

Gitlab Runners

What are Gitlab Runners Gitlab runners execute pipeline jobs. These runners are configured and registered inside a gitlab runner application. That application can be installed directly on the OS or a docker container. The runners configuration is stored into /etc/gitlab-runner/config.toml … Continuer la lecture

Publié dans Non classé | Laisser un commentaire

Gitlab – Container Registry

Container Registry : features – gitlab projects have their own space to store Docker images. – graphical view and management of the registry in gitlab (« container registry » button in group/project settings) – a registry bound to Gitlab projects : restrictions … Continuer la lecture

Publié dans Non classé | Laisser un commentaire

docker setup

Post install on Linux User Docker as a non-root user The Docker daemon binds to a Unix socket instead of a TCP port. By default that Unix socket is owned by the user root and other users can only access … Continuer la lecture

Publié dans Non classé | Laisser un commentaire