-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathservice.yml
More file actions
161 lines (161 loc) · 6.05 KB
/
Copy pathservice.yml
File metadata and controls
161 lines (161 loc) · 6.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
name: vscode
lang: node
lang_version: "22"
git:
enable: true
hooks:
enable: true
github:
enable: true
codeowners:
enable: true
semaphore:
enable: true
status_level: block
pipeline_enable: false
triggers: ["branches", "pull_requests"]
tasks:
- name: release-version
branch: main
pipeline_file: ".semaphore/release-version.yml"
parameters:
- name: IS_PRERELEASE
required: true
options:
- "true"
- "false"
default_value: "true"
description: |
Whether the release is a pre-release (true/false)
- name: TARGET_BRANCH
required: true
default_value: "main"
description: The target branch to create the release from, must be a valid branch.
- name: RELEASE_NAME
required: true
description: |
The name of the GitHub Release (and tag) to create (e.g., 'v1.2.3'). NOTE: Do not include '-pre' suffixes for prereleases; instead, set the IS_PRERELEASE parameter to true and it will be added automatically.
- name: COMMIT_SHA
required: true
description: |
The commit SHA to create the release and tag from, must be a valid SHA/tag/branch.
- name: PREVIOUS_RELEASE_TAG
required: false
description: |
The previous release tag (e.g., 'v1.2.2') to compare against when generating release notes. If not provided, will use the latest (non-prerelease) GitHub Release.
- name: run-playwright-e2e-tests
branch: main
pipeline_file: ".semaphore/playwright-e2e.yml"
parameters:
- name: VSCODE_VERSION
required: true
description: The version of VS Code to test against (e.g., 'stable', 'insiders', or a specific version like '1.100.0').
default_value: "stable"
- name: TEST_SUITE
required: false
description: The test name or tag(s) (pipe-separated, e.g. `@ccloud|@direct`) to run. If not specified, will run all E2E tests.
default_value: "@smoke|@topic-message-viewer|@evolve-schema|@produce-message-to-topic|@project-scaffolding|@flink-statements|@direct-connection-crud|@flink-artifacts|@flink-udfs"
- name: PLATFORM
required: true
options:
- "all"
- "linux"
- "windows"
default_value: "all"
description: |
Which platform(s) to run E2E tests on. 'linux' runs only the Linux block(s);
'windows' runs only the Windows block(s); 'all' runs everything.
- name: scheduled-ccloud-auth-smoketests-prod
branch: main
pipeline_file: ".semaphore/ccloud-auth-smoketests.yml"
scheduled: true
at: "0 * * * *" # Every hour
parameters:
- name: CCLOUD_BASE_PATH
default_value: confluent.cloud
description: The Confluent Cloud environment to use for CCloud requests.
required: true
- name: scheduled-ccloud-auth-smoketests-stag
branch: main
pipeline_file: ".semaphore/ccloud-auth-smoketests.yml"
scheduled: true
at: "0 4 * * *" # Every day at 04:00 UTC
parameters:
- name: CCLOUD_BASE_PATH
default_value: stag.cpdev.cloud
description: The Confluent Cloud environment to use for CCloud requests.
required: true
- name: scheduled-prerelease-version
branch: main
# precheck to avoid re-running `release-version` when no changes have landed on `main` since
# the last run
# NOTE: no parameters are used here because they wouldn't survive the promotion boundary to
# `release-version`; use `release-version` directly instead to override default parameters
pipeline_file: ".semaphore/release-version-precheck.yml"
scheduled: true
at: "10 4 * * *" # Every day at 04:10 UTC
- name: scheduled-run-playwright-e2e-tests
branch: main
pipeline_file: ".semaphore/playwright-e2e.yml"
scheduled: true
at: "0 5 * * *" # Every day at 05:00 UTC
parameters:
- name: VSCODE_VERSION
required: true
description: The version of VS Code to test against (e.g., 'stable', 'insiders', or a specific version like '1.100.0').
default_value: "stable"
- name: TEST_SUITE
required: true
description: The test tag(s) (pipe-separated, e.g. `@smoke|@topic-message-viewer`) to run. By default, runs the smoke tests and critical user flow tests.
default_value: "@smoke|@topic-message-viewer|@evolve-schema|@produce-message-to-topic|@project-scaffolding|@flink-statements|@direct-connection-crud|@flink-artifacts|@flink-udfs"
- name: PLATFORM
required: true
options:
- "all"
- "linux"
- "windows"
default_value: "all"
description: |
Which platform(s) to run E2E tests on. 'linux' runs only the Linux block(s);
'windows' runs only the Windows block(s); 'all' runs everything.
- name: scheduled-npm-audit
branch: main
pipeline_file: .semaphore/npm-audit.yml
scheduled: true
at: '0 6 * * *' # Daily at 06:00 UTC
parameters:
- name: TARGET_BRANCH
required: false
default_value: 'main'
description: 'The branch to audit and base the PR against. Defaults to main; override for release branches like v1.2.x.'
- name: scheduled-release-e2e-smoketests
branch: main
pipeline_file: ".semaphore/release-e2e-smoketests.yml"
scheduled: true
at: "*/15 * * * *"
managed_sections:
- version
- name
- agent
- global_job_config
sonarqube:
enable: true
languages:
- javascript
- typescript
coverage_sources:
- "src"
# only affects sonar.exclusions in sonar-project.properties
coverage_exclusions:
- "src/testing.ts"
- "src/**/*.test.ts"
- "src/clients/**/*"
- "src/**/*.spec.ts"
coverage_reports:
- "coverage/lcov-functional.info"
- "coverage/lcov.info"
main_branch: main
make:
enable: false
renovatebot:
enable: false