Skip to content

Commit e750a2e

Browse files
authored
enable Semaphore builds on all branches (confluentinc#1457)
* enable Semaphore builds on all branches * only build wheels on tagged versions * disable Semaphore pipeline management
1 parent 6b79b0c commit e750a2e

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

.semaphore/project.yml

+14-5
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,17 @@ spec:
1717
pipeline_files:
1818
- path: .semaphore/semaphore.yml
1919
level: pipeline
20-
whitelist:
21-
branches:
22-
- master
23-
- main
24-
- "/^v\\d+\\.\\d+\\.x$/"
20+
custom_permissions: true
21+
debug_permissions:
22+
- empty
23+
- default_branch
24+
- non_default_branch
25+
- pull_request
26+
- forked_pull_request
27+
- tag
28+
attach_permissions:
29+
- default_branch
30+
- non_default_branch
31+
- pull_request
32+
- forked_pull_request
33+
- tag

.semaphore/semaphore.yml

+4
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ global_job_config:
3131

3232
blocks:
3333
- name: "Wheels: OSX x64"
34+
run:
35+
when: "tag =~ '.*'"
3436
dependencies: []
3537
task:
3638
agent:
@@ -48,6 +50,8 @@ blocks:
4850
- tar -czf wheelhouse-macOS-${ARCH}.tgz wheelhouse
4951
- artifact push workflow wheelhouse-macOS-${ARCH}.tgz
5052
- name: "Wheels: OSX arm64"
53+
run:
54+
when: "tag =~ '.*'"
5155
dependencies: []
5256
task:
5357
agent:

service.yml

+2
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ github:
88
repo_name: confluentinc/confluent-kafka-python
99
semaphore:
1010
enable: true
11+
pipeline_enable: false
12+
branches: []

0 commit comments

Comments
 (0)