GitLab CI 설정 파일을 업데이트하고 SonarQube 체크 단계를 추가했습니다. VSCode 설정 파일에 YAML 스키마를 추가했습니다.

This commit is contained in:
jung-geun
2024-03-08 16:52:51 +09:00
parent b769a39246
commit f70421ba44
3 changed files with 7 additions and 2 deletions

View File

@@ -1,2 +1,5 @@
stages:
- sonarqube-check
include: include:
- local: .gitlab/ci/*.gitlab-ci.yml - local: .gitlab/ci/*.gitlab-ci.yml

View File

@@ -1,5 +1,4 @@
.sonarqube-check: sonarqube-check:
stage: sonarqube-check
image: image:
name: sonarsource/sonar-scanner-cli:5.0 name: sonarsource/sonar-scanner-cli:5.0
entrypoint: [""] entrypoint: [""]

View File

@@ -6,5 +6,8 @@
"sonarlint.connectedMode.project": { "sonarlint.connectedMode.project": {
"connectionId": "https-sonar-pieroot-xyz", "connectionId": "https-sonar-pieroot-xyz",
"projectKey": "pieroot_pso_6a2f36a9-2688-4900-a4a5-5be85f36f75a" "projectKey": "pieroot_pso_6a2f36a9-2688-4900-a4a5-5be85f36f75a"
},
"yaml.schemas": {
"https://gitlab.com/gitlab-org/gitlab/-/raw/master/app/assets/javascripts/editor/schema/ci.json": "file:///home/pieroot/jupyter/PSO/.gitlab/ci/sonarqube-check.gitlab-ci.yml"
} }
} }