Skip to content

Commit

Permalink
enable Semaphore builds on all branches (#1457)
Browse files Browse the repository at this point in the history
* enable Semaphore builds on all branches

* only build wheels on tagged versions

* disable Semaphore pipeline management
  • Loading branch information
cchristous authored Oct 28, 2022
1 parent 6b79b0c commit e750a2e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .semaphore/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,17 @@ spec:
pipeline_files:
- path: .semaphore/semaphore.yml
level: pipeline
whitelist:
branches:
- master
- main
- "/^v\\d+\\.\\d+\\.x$/"
custom_permissions: true
debug_permissions:
- empty
- default_branch
- non_default_branch
- pull_request
- forked_pull_request
- tag
attach_permissions:
- default_branch
- non_default_branch
- pull_request
- forked_pull_request
- tag
4 changes: 4 additions & 0 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ global_job_config:

blocks:
- name: "Wheels: OSX x64"
run:
when: "tag =~ '.*'"
dependencies: []
task:
agent:
Expand All @@ -48,6 +50,8 @@ blocks:
- tar -czf wheelhouse-macOS-${ARCH}.tgz wheelhouse
- artifact push workflow wheelhouse-macOS-${ARCH}.tgz
- name: "Wheels: OSX arm64"
run:
when: "tag =~ '.*'"
dependencies: []
task:
agent:
Expand Down
2 changes: 2 additions & 0 deletions service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ github:
repo_name: confluentinc/confluent-kafka-python
semaphore:
enable: true
pipeline_enable: false
branches: []

0 comments on commit e750a2e

Please sign in to comment.