Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update repo by service bot #1361

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 0 additions & 43 deletions .semaphore/project.yml

This file was deleted.

46 changes: 38 additions & 8 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,48 @@
# This file is managed by ServiceBot plugin - Semaphore. The content in this file is created using a common
# template and configurations in service.yml.
# Any modifications made to version, name, agent, and global_job_config will be overwritten by the generated
# content in nightly runs. Code changes made to the remaining sections will not be affected.
# For more information, please refer to the page:
# https://confluentinc.atlassian.net/wiki/spaces/Foundations/pages/2871296194/Add+SemaphoreCI
version: v1.0
name: 'confluent-kafka-go build pipeline'
name: build-test-release
agent:
machine:
type: s1-prod-ubuntu20-04-amd64-1

auto_cancel:
running:
when: "branch != 'master'"

execution_time_limit:
hours: 1

queue:
- when: "branch != 'master'"
processing: parallel

global_job_config:
env_vars:
- name: LIBRDKAFKA_VERSION
value: v2.6.1
prologue:
commands:
- sem-version go 1.18
- export "GOPATH=$(go env GOPATH)"
- export "SEMAPHORE_GIT_DIR=${GOPATH}/src/github.com/confluentinc/${SEMAPHORE_PROJECT_NAME}"
- export "PATH=${GOPATH}/bin:${PATH}"
- mkdir -vp "${SEMAPHORE_GIT_DIR}" "${GOPATH}/bin"
- checkout
- make show-args
- . vault-setup
- . vault-sem-get-secret ci-reporting
- . vault-sem-get-secret v1/ci/kv/service-foundations/cc-mk-include
- make init-ci
epilogue:
always:
commands:
- make epilogue-ci

blocks:
- name: "go 1.21 OSX bundled librdkafka"
dependencies: [ ]
dependencies: []
task:
agent:
machine:
Expand All @@ -39,7 +69,7 @@ blocks:
value: dynamic
commands_file: semaphore_commands.sh
- name: "go 1.21 linux bundled librdkafka"
dependencies: [ ]
dependencies: []
task:
agent:
machine:
Expand Down Expand Up @@ -84,7 +114,7 @@ blocks:
value: consumer
commands_file: semaphore_integration_commands.sh
- name: "go 1.21 linux arm64 bundled librdkafka"
dependencies: [ ]
dependencies: []
task:
agent:
machine:
Expand Down Expand Up @@ -115,7 +145,7 @@ blocks:
value: dynamic
commands_file: semaphore_commands.sh
- name: "go 1.21 Windows bundled librdkafka"
dependencies: [ ]
dependencies: []
task:
agent:
machine:
Expand Down
8 changes: 8 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
### service-bot sonarqube plugin managed file
sonar.coverage.exclusions=**/test/**/*,**/tests/**/*,**/mock/**/*,**/mocks/**/*,**/*mock*,**/*test*
sonar.cpd.exclusions=**/test/**/*,**/tests/**/*,**/mock/**/*,**/mocks/**/*,**/*mock*,**/*test*
sonar.exclusions=**/*.pb.*,**/mk-include/**/*
sonar.go.coverage.reportPaths=**/coverage.txt
sonar.language=go
sonar.projectKey=confluent-kafka-go
sonar.sources=.