|
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 |
7 | 1 | version: v1.0 |
8 | | -name: build-test-release |
| 2 | +name: 'confluent-kafka-go build pipeline' |
9 | 3 | agent: |
10 | 4 | machine: |
11 | 5 | type: s1-prod-ubuntu20-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 | | - |
24 | 6 | global_job_config: |
| 7 | + env_vars: |
| 8 | + - name: LIBRDKAFKA_VERSION |
| 9 | + value: v2.8.0 |
25 | 10 | prologue: |
26 | 11 | 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" |
32 | 12 | - 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 | | - |
43 | 13 | blocks: |
44 | 14 | - name: "go 1.21 OSX bundled librdkafka" |
45 | | - dependencies: [] |
| 15 | + dependencies: [ ] |
46 | 16 | task: |
47 | 17 | agent: |
48 | 18 | machine: |
@@ -70,7 +40,7 @@ blocks: |
70 | 40 | value: dynamic |
71 | 41 | commands_file: semaphore_commands.sh |
72 | 42 | - name: "go 1.21 linux bundled librdkafka" |
73 | | - dependencies: [] |
| 43 | + dependencies: [ ] |
74 | 44 | task: |
75 | 45 | agent: |
76 | 46 | machine: |
@@ -116,7 +86,7 @@ blocks: |
116 | 86 | value: consumer |
117 | 87 | commands_file: semaphore_integration_commands.sh |
118 | 88 | - name: "go 1.21 linux arm64 bundled librdkafka" |
119 | | - dependencies: [] |
| 89 | + dependencies: [ ] |
120 | 90 | task: |
121 | 91 | agent: |
122 | 92 | machine: |
@@ -148,7 +118,7 @@ blocks: |
148 | 118 | value: dynamic |
149 | 119 | commands_file: semaphore_commands.sh |
150 | 120 | - name: "go 1.21 Windows bundled librdkafka" |
151 | | - dependencies: [] |
| 121 | + dependencies: [ ] |
152 | 122 | task: |
153 | 123 | agent: |
154 | 124 | machine: |
|
0 commit comments