Categorygithub.com/kikkirej/gitlab-analyzer
modulepackage
0.0.0-20211115150954-fd0a947a32a0
Repository: https://github.com/kikkirej/gitlab-analyzer.git
Documentation: pkg.go.dev

# README

= Gitlab-Analyzer

This tool connects to the GitLab-API, gets all projects and handles them with a filter.

== Settings |=== | Environment Variable | Description | Example | GITLAB_BASE_URL | Gitlab-Base-URL | https://gitlab.domain.com | GITLAB_PERSONAL_TOKEN | Personal Access Token | / | GITLAB_PROJECT_ROOT | Namespace-Prefix | /orgunit | WORKING_DIR | Working Directory | "C:\temp" oder "/tmp/" | BRANCHES_TO_ANALYZE | Comma separated values of strings in branchname | / | SKIP_MAVEN_DEPENDENCY_SCAN | skips Maven Dependency-Scan | true/false |=== === Database |=== | Environment | Description | Default Value | POSTGRES_HOST | host for connection | localhost | POSTGRES_PORT | port for connection | 5432 | POSTGRES_USER | user for authentication | postgres | POSTGRES_PASSWORD | password for authentication | - | POSTGRES_DBNAME | name of database | postgres | POSTGRES_SSLMODE | sslmode enabled | false |=== == Start === Postgres (optional) [source, yaml]

include::docker-compose.yml[]

== Application [source,bash]

docker run --rm -it --name gitlabAnalyzer -e GITLAB_BASE_URL=https://gitlab/ -e GITLAB_PERSONAL_TOKEN=12345 -e GITLAB_PROJECT_ROOT=example/ -e POSTGRES_HOST=localhost -e POSTGRES_PASSWORD=gitlab ghcr.io/kikkirej/gitlab-analyzer:main

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author