Skip to content

Commit

Permalink
Merge pull request #563 from hmcts/nathan-clark-patch-1
Browse files Browse the repository at this point in the history
CCD-3710 Update applicationinsights.json/fix build
  • Loading branch information
lang-ben authored Sep 28, 2023
2 parents 6981620 + 34efe6f commit 870a86b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 10 deletions.
16 changes: 11 additions & 5 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>hmcts/.github//renovate/global"],
"labels": ["Renovate-dependencies"],
"extends": [
"local>hmcts/.github:renovate-config"
],
"labels": [
"Renovate-dependencies"
],
"major": {
"dependencyDashboardApproval": true
},
"packageRules": [
{
"matchUpdateTypes": [
"minor", "patch"
"minor",
"patch"
],
"groupName": "All patch-minor dependencies",
"groupSlug": "All-minor-patch",
"addLabels": ["Renovate All-minor-patch"],
"addLabels": [
"Renovate All-minor-patch"
],
"automerge": false
}
]
}

5 changes: 0 additions & 5 deletions Jenkinsfile_CNP
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,6 @@ withPipeline(type, product, component) {
}
onPR {
enableSlackNotifications('#ccd-pr-builds')

def githubApi = new GithubAPI(this)
if (!githubApi.getLabelsbyPattern(env.BRANCH_NAME, "keep-helm")) {
enableCleanupOfHelmReleaseAlways()
}
}

// Check if the build should be wired to a preview instance of definition store
Expand Down
17 changes: 17 additions & 0 deletions lib/applicationinsights.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,22 @@
"connectionString": "${file:/mnt/secrets/ccd/app-insights-connection-string}",
"role": {
"name": "ccd-user-profile-api"
},
"preview": {
"sampling": {
"overrides": [
{
"telemetryType": "request",
"attributes": [
{
"key": "http.url",
"value": "https?://[^/]+/health.*",
"matchType": "regexp"
}
],
"percentage": 1
}
]
}
}
}

0 comments on commit 870a86b

Please sign in to comment.