Skip to content

Commit 94f49a0

Browse files
author
service-bot-app[bot]
committed
chore: update repo semaphore config
1 parent a91172d commit 94f49a0

File tree

1 file changed

+39
-9
lines changed

1 file changed

+39
-9
lines changed

.semaphore/semaphore.yml

+39-9
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,48 @@
1+
# This file is managed by ServiceBot plugin - Semaphore. The content in this file is created using a common
2+
# template and configurations in service.yml.
3+
# Any modifications made to version, name, agent, and global_job_config will be overwritten by the generated
4+
# content in nightly runs. Code changes made to the remaining sections will not be affected.
5+
# For more information, please refer to the page:
6+
# https://confluentinc.atlassian.net/wiki/spaces/Foundations/pages/2871296194/Add+SemaphoreCI
17
version: v1.0
2-
name: 'confluent-kafka-go build pipeline'
8+
name: build-test-release
39
agent:
410
machine:
5-
type: s1-prod-ubuntu20-04-amd64-1
11+
type: s1-prod-ubuntu24-04-amd64-1
12+
13+
auto_cancel:
14+
running:
15+
when: "branch != 'master'"
16+
17+
execution_time_limit:
18+
hours: 1
19+
20+
queue:
21+
- when: "branch != 'master'"
22+
processing: parallel
23+
624
global_job_config:
7-
env_vars:
8-
- name: LIBRDKAFKA_VERSION
9-
value: v2.8.0
1025
prologue:
1126
commands:
27+
- sem-version go 1.21
28+
- export "GOPATH=$(go env GOPATH)"
29+
- export "SEMAPHORE_GIT_DIR=${GOPATH}/src/github.com/confluentinc/${SEMAPHORE_PROJECT_NAME}"
30+
- export "PATH=${GOPATH}/bin:${PATH}"
31+
- mkdir -vp "${SEMAPHORE_GIT_DIR}" "${GOPATH}/bin"
1232
- checkout
33+
- make show-args
34+
- . vault-setup
35+
- . vault-sem-get-secret ci-reporting
36+
- . vault-sem-get-secret v1/ci/kv/service-foundations/cc-mk-include
37+
- make init-ci
38+
epilogue:
39+
always:
40+
commands:
41+
- make epilogue-ci
42+
1343
blocks:
1444
- name: "go 1.21 OSX bundled librdkafka"
15-
dependencies: [ ]
45+
dependencies: []
1646
task:
1747
agent:
1848
machine:
@@ -40,7 +70,7 @@ blocks:
4070
value: dynamic
4171
commands_file: semaphore_commands.sh
4272
- name: "go 1.21 linux bundled librdkafka"
43-
dependencies: [ ]
73+
dependencies: []
4474
task:
4575
agent:
4676
machine:
@@ -86,7 +116,7 @@ blocks:
86116
value: consumer
87117
commands_file: semaphore_integration_commands.sh
88118
- name: "go 1.21 linux arm64 bundled librdkafka"
89-
dependencies: [ ]
119+
dependencies: []
90120
task:
91121
agent:
92122
machine:
@@ -118,7 +148,7 @@ blocks:
118148
value: dynamic
119149
commands_file: semaphore_commands.sh
120150
- name: "go 1.21 Windows bundled librdkafka"
121-
dependencies: [ ]
151+
dependencies: []
122152
task:
123153
agent:
124154
machine:

0 commit comments

Comments
 (0)