Skip to content

Commit d42e065

Browse files
chore: update repo semaphore config
1 parent d226ab6 commit d42e065

1 file changed

Lines changed: 19 additions & 6 deletions

File tree

.semaphore/semaphore.yml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# $schema: https://raw.githubusercontent.com/semaphoreio/semaphore/98bb4752c79049d36324e8c76451cd704c7924f3/plumber/spec/priv/v1.0.yml
2+
# yaml-language-server: $schema=https://raw.githubusercontent.com/semaphoreio/semaphore/98bb4752c79049d36324e8c76451cd704c7924f3/plumber/spec/priv/v1.0.yml
13
# This file is managed by ServiceBot plugin - Semaphore. The content in this file is created using a common
24
# template and configurations in service.yml.
35
# Any modifications made to ths file will be overwritten by the generated content in nightly runs.
@@ -7,7 +9,7 @@ version: v1.0
79
name: build-test-release
810
agent:
911
machine:
10-
type: s1-prod-ubuntu20-04-amd64-1
12+
type: s1-prod-ubuntu24-04-amd64-1
1113

1214
fail_fast:
1315
cancel:
@@ -32,12 +34,12 @@ blocks:
3234
dependencies: []
3335
run:
3436
# don't run the tests on non-functional changes...
35-
when: "change_in('/', {exclude: ['/.deployed-versions/', '.github/']})"
37+
when: "change_in('/', {exclude: ['/.deployed-versions/', '/.github/', '/service.yml', '/README.md'], default_branch: 'master'})"
3638
task:
3739
jobs:
3840
- name: Test
3941
commands:
40-
- . sem-pint
42+
- ci-sem-pint
4143
- mvn -Pjenkins -U -Dmaven.wagon.http.retryHandler.count=10 --batch-mode --no-transfer-progress clean verify install dependency:analyze validate
4244
- cve-scan
4345
- . cache-maven store
@@ -56,14 +58,26 @@ blocks:
5658
jobs:
5759
- name: Release
5860
commands:
59-
- mvn -Pjenkins -U -Dmaven.wagon.http.retryHandler.count=10 --batch-mode -DaltDeploymentRepository=confluent-codeartifact-internal::default::https://confluent-519856050701.d.codeartifact.us-west-2.amazonaws.com/maven/maven-snapshots/
61+
- mvn -Pjenkins -U -Dmaven.wagon.http.retryHandler.count=10 --batch-mode
62+
-DaltDeploymentRepository=confluent-codeartifact-internal::default::https://confluent-519856050701.d.codeartifact.us-west-2.amazonaws.com/maven/maven-snapshots/
6063
-DrepositoryId=confluent-codeartifact-internal deploy -DskipTests
64+
# Claude Code based code review in PRs.
65+
- name: R2 Code Review
66+
dependencies: []
67+
run:
68+
when: "pull_request =~ '.+' and change_in('/', {exclude: ['/.deployed-versions/']})"
69+
task:
70+
jobs:
71+
- name: R2 Code Review
72+
commands:
73+
# || true: code review failures are unrelated to the codebase and should not block CI. Please report issues to Slack channel #r2.
74+
- r2 code-review --verbose --timeout=900s || true
6175

6276
after_pipeline:
6377
task:
6478
agent:
6579
machine:
66-
type: s1-prod-ubuntu20-04-arm64-0
80+
type: s1-prod-ubuntu24-04-arm64-00
6781
jobs:
6882
- name: Metrics
6983
commands:
@@ -74,6 +88,5 @@ after_pipeline:
7488
- name: SonarQube
7589
commands:
7690
- checkout
77-
- sem-version java 11
7891
- artifact pull workflow target
7992
- emit-sonarqube-data --run_only_sonar_scan

0 commit comments

Comments
 (0)