@duckduckgo/autoconsent 9.7.2 → 10.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,16 +7,20 @@ on:
7
7
  - closed
8
8
  - reopened
9
9
  - synchronize
10
+ - review_requested
10
11
 
11
12
  jobs:
12
13
  sync:
13
14
  runs-on: ubuntu-latest
15
+ environment: development
14
16
  concurrency: 'asana-${{ github.repository }}'
15
17
  steps:
16
18
  - uses: actions/checkout@v3
17
- - uses: sammacbeth/action-asana-sync@v3
19
+ - uses: sammacbeth/action-asana-sync@v4
18
20
  with:
19
21
  ASANA_ACCESS_TOKEN: ${{ secrets.ASANA_ACCESS_TOKEN }}
20
22
  ASANA_WORKSPACE_ID: ${{ secrets.ASANA_WORKSPACE_ID }}
21
23
  ASANA_PROJECT_ID: '1203409672862476'
22
24
  move_to_section_id: '1203409672862480'
25
+ USER_MAP: ${{ vars.USER_MAP }}
26
+ NO_AUTOCLOSE_PROJECTS: '1203409672862476'
package/CHANGELOG.md CHANGED
@@ -1,3 +1,56 @@
1
+ # v10.1.0 (Tue Mar 05 2024)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - Sirdata fix [#379](https://github.com/duckduckgo/autoconsent/pull/379) ([@sammacbeth](https://github.com/sammacbeth) [@muodov](https://github.com/muodov))
6
+
7
+ #### 🐛 Bug Fix
8
+
9
+ - Fix a US popup on nature.com [#384](https://github.com/duckduckgo/autoconsent/pull/384) ([@muodov](https://github.com/muodov))
10
+ - Monthly Coverage data update [#383](https://github.com/duckduckgo/autoconsent/pull/383) (dax@duckduckgo.com [@sammacbeth](https://github.com/sammacbeth))
11
+
12
+ #### Authors: 3
13
+
14
+ - Dax the Deployer (dax@duckduckgo.com)
15
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
16
+ - Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
17
+
18
+ ---
19
+
20
+ # v10.0.0 (Fri Mar 01 2024)
21
+
22
+ #### 💥 Breaking Change
23
+
24
+ - Bump the dev-dependencies group with 4 updates [#377](https://github.com/duckduckgo/autoconsent/pull/377) ([@dependabot[bot]](https://github.com/dependabot[bot]))
25
+
26
+ #### 🚀 Enhancement
27
+
28
+ - Support reject button in clinch [#375](https://github.com/duckduckgo/autoconsent/pull/375) ([@muodov](https://github.com/muodov))
29
+
30
+ #### 🐛 Bug Fix
31
+
32
+ - Update action-asana-sync [#378](https://github.com/duckduckgo/autoconsent/pull/378) ([@sammacbeth](https://github.com/sammacbeth))
33
+ - Setup github status reporting for Jenkins multibranch job [#373](https://github.com/duckduckgo/autoconsent/pull/373) ([@sammacbeth](https://github.com/sammacbeth))
34
+ - Monthly Coverage data update [#372](https://github.com/duckduckgo/autoconsent/pull/372) (dax@duckduckgo.com [@sammacbeth](https://github.com/sammacbeth))
35
+
36
+ #### ⚠️ Pushed to `main`
37
+
38
+ - Update asana.yml ([@sammacbeth](https://github.com/sammacbeth))
39
+
40
+ #### 🔩 Dependency Updates
41
+
42
+ - Bump the dev-dependencies group with 7 updates [#382](https://github.com/duckduckgo/autoconsent/pull/382) ([@dependabot[bot]](https://github.com/dependabot[bot]))
43
+ - Bump the dev-dependencies group with 5 updates [#374](https://github.com/duckduckgo/autoconsent/pull/374) ([@dependabot[bot]](https://github.com/dependabot[bot]))
44
+
45
+ #### Authors: 4
46
+
47
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
48
+ - Dax the Deployer (dax@duckduckgo.com)
49
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
50
+ - Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
51
+
52
+ ---
53
+
1
54
  # v9.7.2 (Fri Feb 02 2024)
2
55
 
3
56
  #### 🐛 Bug Fix
package/Jenkinsfile CHANGED
@@ -7,7 +7,8 @@ def runPlaywrightTests(resultDir, browser, grep) {
7
7
  """
8
8
  }
9
9
  } finally {
10
- junit 'results.xml'
10
+ def summary = junit skipMarkingBuildUnstable: true, skipPublishingChecks: true, testResults: 'results.xml'
11
+ return summary
11
12
  }
12
13
  }
13
14
 
@@ -34,6 +35,12 @@ pipeline {
34
35
  }
35
36
  stages {
36
37
  stage('Checkout') {
38
+ when {
39
+ expression {
40
+ // skip the BRANCH variable if this is running in a multibranch job
41
+ return env.BRANCH_NAME == null
42
+ }
43
+ }
37
44
  steps {
38
45
  checkout([$class: 'GitSCM', branches: [[name: "${params.BRANCH}"]],
39
46
  extensions: [[$class: 'LocalBranch']],
@@ -48,23 +55,41 @@ pipeline {
48
55
  npx playwright install
49
56
  '''
50
57
  script {
51
- currentBuild.description = "${params.BRANCH} - ${params.BROWSER}"
58
+ if (env.BRANCH_NAME == null) {
59
+ currentBuild.description = "${params.BRANCH} - ${params.BROWSER}"
60
+ } else {
61
+ currentBuild.description = "${env.GIT_COMMIT}"
62
+ }
52
63
  }
53
64
  }
54
65
  }
55
66
 
56
67
  stage('Test') {
57
68
  steps {
58
- withEnv(["NSITES=${params.NSITES}}"]) {
59
- withEnvFile("${params.TEST_RESULT_ROOT}/de.env") {
60
- runPlaywrightTests(params.TEST_RESULT_ROOT, params.BROWSER, params.GREP)
61
- }
62
- withEnvFile("${params.TEST_RESULT_ROOT}/us.env") {
63
- runPlaywrightTests(params.TEST_RESULT_ROOT, params.BROWSER, params.GREP)
64
- }
65
- withEnvFile("${params.TEST_RESULT_ROOT}/gb.env") {
66
- runPlaywrightTests(params.TEST_RESULT_ROOT, params.BROWSER, params.GREP)
69
+ script {
70
+ def testsFailed = 0
71
+ def testsTotal = 0
72
+ withEnv(["NSITES=${params.NSITES}}"]) {
73
+ def testEnvs = [
74
+ "${params.TEST_RESULT_ROOT}/de.env",
75
+ "${params.TEST_RESULT_ROOT}/us.env",
76
+ "${params.TEST_RESULT_ROOT}/gb.env"
77
+ ]
78
+ for (testEnv in testEnvs) {
79
+ withEnvFile(testEnv) {
80
+ def summary = runPlaywrightTests(params.TEST_RESULT_ROOT, params.BROWSER, params.GREP)
81
+ testsFailed += summary.failCount
82
+ testsTotal += summary.totalCount
83
+ }
84
+ }
67
85
  }
86
+ githubNotify(
87
+ account: 'duckduckgo',
88
+ repo: 'autoconsent',
89
+ context: 'Tests / Coverage sample',
90
+ sha: "${env.GIT_COMMIT}",
91
+ description: "${testsFailed}/${testsTotal} failed",
92
+ status: testsFailed > 50 ? 'FAILURE' : 'SUCCESS')
68
93
  }
69
94
  }
70
95
  }