I have this in my app-config yaml file:
integrations:
gitlab:
- host: gitlab # removed original url
apiBaseUrl: # removed original url
token: ${GITLAB_TOKEN}
spotify:
licenseKey: ${LICENSE_KEY}
soundcheck:
checks:
- .yaml/raw?ref=main # removed original url
addStartingConfigurations:
collectors: true
job:
workers:
scm:
max: 1000
duration: 60000
collectors:
pagerduty:
token: ${PAGER_DUTY}
server: spl.pagerduty # removed original url
datadog:
appKey: ${DATADOG_APPKEY}
apiKey: ${DATADOG_APIKEY}
baseUrl: # removed original url
sonarqube:
- name: sonarqube-us
baseUrl: # removed original url
apiKey: ${SONAR_API_KEY}
- name: sonarqube-eu
baseUrl: # removed original url
apiKey: ${SONAR_API_KEY2}
jira:
apiToken: ${JIRA_KEY}
baseUrl: # removed original url
username: ${EMAIL}
I have created some checks in gitlab at this location : .yaml/raw?ref=main when I boot my backstage using yarn dev command, it tries to fetch checks from gitlab but it is not able to get the checks because gitlab return 404 not found upon troubleshooting I found that when soundcheck make rest call to gitlab it does not include the private token. Am I missing any configuration in soundcheck due to which soundcheck is not able to read checks from gitlab repository, I am using following libs:
"@spotify/backstage-plugin-soundcheck-backend": "^0.18.2",
"@spotify/backstage-plugin-soundcheck-backend-module-datadog": "^0.5.2",
"@spotify/backstage-plugin-soundcheck-backend-module-gitlab": "^0.3.2",
"@spotify/backstage-plugin-soundcheck-backend-module-jira": "^0.3.2",
"@spotify/backstage-plugin-soundcheck-backend-module-kubernetes": "^0.3.2",
"@spotify/backstage-plugin-soundcheck-backend-module-pagerduty": "^0.4.2",
"@spotify/backstage-plugin-soundcheck-backend-module-sonarqube": "^0.5.2",
"@spotify/backstage-plugin-soundcheck-backend-module-techinsights": "^0.6.2",
I have valid spotify license key as well and gitlab integration configuration is using key with correct read permission, I tested it separately using curl command