Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SLVSCODE-951 Enable monitoring of extension with Sentry #663

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
ARTIFACTORY_DEPLOY_REPO: sonarsource-public-qa
NPM_CONFIG_registry: https://repox.jfrog.io/artifactory/api/npm/npm
NPM_CONFIG_//repox.jfrog.io/artifactory/api/npm/:_authToken: VAULT[development/artifactory/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-private-reader access_token]
SENTRY_UPLOAD_TOKEN: VAULT[development/kv/data/sentry/sq-ide-upload data.token]

ARTIFACTORY_PRIVATE_READER_USERNAME: $ARTIFACTORY_PRIVATE_USERNAME
ARTIFACTORY_PRIVATE_READER_PASSWORD: $ARTIFACTORY_PRIVATE_PASSWORD
Expand Down Expand Up @@ -92,7 +93,7 @@
slack_notification_script: |
source slack-failure-notification

universal_vsix_task:

Check warning on line 96 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L96

task "universal_vsix" depends on task "build", but their only_if conditions are different

Check warning on line 96 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L96

task "universal_vsix" depends on task "build", but their only_if conditions are different
depends_on: build
<<: *SKIP_MASTER_BRANCH_AND_ALLVSIX_BRANCH
eks_container:
Expand Down Expand Up @@ -122,7 +123,7 @@
slack_notification_script: |
source slack-failure-notification

test_windows_task:

Check warning on line 126 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L126

task "test_windows" depends on task "build", but their only_if conditions are different

Check warning on line 126 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L126

task "test_windows" depends on task "build", but their only_if conditions are different
# name: Run tests on Windows
depends_on:
- build
Expand All @@ -146,7 +147,7 @@
slack_notification_script: |
source slack-failure-notification

test_linux_task:

Check warning on line 150 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L150

task "test_linux" depends on task "build", but their only_if conditions are different

Check warning on line 150 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L150

task "test_linux" depends on task "build", but their only_if conditions are different
# name: Run tests, Sonarqube analysis on Linux
depends_on:
- build
Expand Down Expand Up @@ -200,7 +201,7 @@
slack_notification_script: |
source slack-failure-notification

qa_task:

Check warning on line 204 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L204

task "qa" depends on task "all_vsix", but their only_if conditions are different

Check warning on line 204 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L204

task "qa" depends on task "all_vsix", but their only_if conditions are different

Check warning on line 204 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L204

task "qa" depends on task "all_vsix", but their only_if conditions are different

Check warning on line 204 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L204

task "qa" depends on task "universal_vsix", but their only_if conditions are different

Check warning on line 204 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L204

task "qa" depends on task "universal_vsix", but their only_if conditions are different

Check warning on line 204 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L204

task "qa" depends on task "universal_vsix", but their only_if conditions are different

Check warning on line 204 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L204

task "qa" depends on task "all_vsix", but their only_if conditions are different

Check warning on line 204 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L204

task "qa" depends on task "all_vsix", but their only_if conditions are different

Check warning on line 204 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L204

task "qa" depends on task "all_vsix", but their only_if conditions are different

Check warning on line 204 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L204

task "qa" depends on task "universal_vsix", but their only_if conditions are different

Check warning on line 204 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L204

task "qa" depends on task "universal_vsix", but their only_if conditions are different

Check warning on line 204 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L204

task "qa" depends on task "universal_vsix", but their only_if conditions are different
# name: Run ITs
depends_on:
- universal_vsix
Expand Down Expand Up @@ -256,7 +257,7 @@
slack_notification_script: |
source slack-failure-notification

promote_task:

Check warning on line 260 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L260

task "promote" depends on task "test_windows", but their only_if conditions are different

Check warning on line 260 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L260

task "promote" depends on task "test_linux", but their only_if conditions are different

Check warning on line 260 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L260

task "promote" depends on task "qa", but their only_if conditions are different

Check warning on line 260 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L260

task "promote" depends on task "qa", but their only_if conditions are different

Check warning on line 260 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L260

task "promote" depends on task "qa", but their only_if conditions are different

Check warning on line 260 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L260

task "promote" depends on task "test_windows", but their only_if conditions are different

Check warning on line 260 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L260

task "promote" depends on task "test_linux", but their only_if conditions are different

Check warning on line 260 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L260

task "promote" depends on task "qa", but their only_if conditions are different

Check warning on line 260 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L260

task "promote" depends on task "qa", but their only_if conditions are different

Check warning on line 260 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L260

task "promote" depends on task "qa", but their only_if conditions are different
env:
ARTIFACTORY_PROMOTE_ACCESS_TOKEN: VAULT[development/artifactory/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-promoter access_token]
GITHUB_TOKEN: VAULT[development/github/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-promotion token]
Expand Down
2 changes: 1 addition & 1 deletion build-sonarlint/deployUtils.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { getPackageJSON } from './fsUtils.mjs';
import { join, extname, basename } from 'path';
import dateformat from 'dateformat';
import { computeDependencyHashes, fileHashsum } from './hashes.mjs';
import jarDependencies from '../scripts/dependencies.json' assert { type: "json" } ;
import jarDependencies from '../scripts/dependencies.json' with { type: "json" } ;
import { createReadStream } from 'fs';
import fetch, { Headers } from 'node-fetch';
import { globbySync } from 'globby';
Expand Down
2 changes: 1 addition & 1 deletion its/userdir/User/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// Enable auto import of Git repositories
"git.openRepositoryInParentFolders": "always",
// Disable SonarLint product telemetry in ITs
"sonarlint.ls.vmargs": " -Dsonarlint.telemetry.disabled=true ",
"sonarlint.ls.vmargs": " -Dsonarlint.telemetry.disabled=true -Dsonarlint.monitoring.disabled=true ",
"sonarlint.output.showAnalyzerLogs": true,
"sonarlint.output.showVerboseLogs": true
}
Loading
Loading