Skip to content

Commit fde89aa

Browse files
committed
perf: ⚡ use direct service communication
1 parent c6f547a commit fde89aa

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ Il permet :
1010
Les variables d'environnement suivantes doivent être définies :
1111
- `GRAFANA_URL` : l'URL racine à utiliser pour accéder aux instances déployées pour chaque projet
1212
- `DSO_OBSERVABILITY_CHART_VERSION` : la version du Chart dso-observability à utiliser dans les dépôts de dashboards et alertes projet.
13+
- `GITLAB_INTERNAL_URL` : l'URL de Gitlab où sera poussé les dépôts de dashboards et alertes projet.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@cpn-console/observability-plugin",
33
"type": "module",
4-
"version": "1.1.4",
4+
"version": "1.1.5",
55
"description": "Observability plugin for DSO console",
66
"exports": {
77
".": {

src/observability-repo-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class ObservabilityRepoManager {
7070
private gitlabProjectApi: GitlabProjectApi
7171

7272
constructor(gitlabProjectApi: GitlabProjectApi) {
73-
const gitlabUrl = removeTrailingSlash(requiredEnv('GITLAB_URL'))
73+
const gitlabUrl = removeTrailingSlash(requiredEnv('GITLAB_INTERNAL_URL'))
7474
const gitlabToken = requiredEnv('GITLAB_TOKEN')
7575
this.gitlabApi = new Gitlab({ token: gitlabToken, host: gitlabUrl })
7676
this.gitlabProjectApi = gitlabProjectApi

0 commit comments

Comments
 (0)