qa: Make gitlabBaseURL configurable through env
This commit is contained in:
parent
81958ef4b9
commit
c8f70c48fa
1 changed files with 4 additions and 0 deletions
|
@ -38,6 +38,10 @@ func init() {
|
|||
oidcRedirectURL = v
|
||||
}
|
||||
|
||||
if v, ok := os.LookupEnv("FIC_GITLAB_BASEURL"); ok {
|
||||
gitlabBaseURL = v
|
||||
}
|
||||
|
||||
flag.StringVar(&oidcRedirectURL, "oidc-redirect", oidcRedirectURL, "Base URL for the redirect after connection")
|
||||
flag.StringVar(&gitlabBaseURL, "gitlab-baseurl", gitlabBaseURL, "Base URL of the Gitlab instance")
|
||||
flag.StringVar(&gitlabClientID, "gitlab-clientid", os.Getenv("FIC_GITLAB_CLIENT_ID"), "ClientID for GitLab's OIDC")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue