Skip to content

Commit 82ca9d8

Browse files
authored
Revert "chore: update repo by service bot (#1361)" (#1389)
This reverts commit e0d266f.
1 parent 2822e67 commit 82ca9d8

File tree

2 files changed

+51
-38
lines changed

2 files changed

+51
-38
lines changed

.semaphore/project.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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+
# Modifications in this file will be overwritten by generated content in the nightly run.
4+
# For more information, please refer to the page:
5+
# https://confluentinc.atlassian.net/wiki/spaces/Foundations/pages/2871296194/Add+SemaphoreCI
6+
apiVersion: v1alpha
7+
kind: Project
8+
metadata:
9+
name: confluent-kafka-go
10+
description: ""
11+
spec:
12+
visibility: private
13+
repository:
14+
url: git@github.com:confluentinc/confluent-kafka-go.git
15+
run_on:
16+
- branches
17+
- tags
18+
- pull_requests
19+
pipeline_file: .semaphore/semaphore.yml
20+
integration_type: github_app
21+
status:
22+
pipeline_files:
23+
- path: .semaphore/semaphore.yml
24+
level: pipeline
25+
whitelist:
26+
branches:
27+
- master
28+
- main
29+
- /^v\d+\.\d+\.x$/
30+
custom_permissions: true
31+
debug_permissions:
32+
- empty
33+
- default_branch
34+
- non_default_branch
35+
- pull_request
36+
- forked_pull_request
37+
- tag
38+
attach_permissions:
39+
- default_branch
40+
- non_default_branch
41+
- pull_request
42+
- forked_pull_request
43+
- tag

.semaphore/semaphore.yml

Lines changed: 8 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,18 @@
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
71
version: v1.0
8-
name: build-test-release
2+
name: 'confluent-kafka-go build pipeline'
93
agent:
104
machine:
115
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-
246
global_job_config:
7+
env_vars:
8+
- name: LIBRDKAFKA_VERSION
9+
value: v2.8.0
2510
prologue:
2611
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"
3212
- 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-
4313
blocks:
4414
- name: "go 1.21 OSX bundled librdkafka"
45-
dependencies: []
15+
dependencies: [ ]
4616
task:
4717
agent:
4818
machine:
@@ -70,7 +40,7 @@ blocks:
7040
value: dynamic
7141
commands_file: semaphore_commands.sh
7242
- name: "go 1.21 linux bundled librdkafka"
73-
dependencies: []
43+
dependencies: [ ]
7444
task:
7545
agent:
7646
machine:
@@ -116,7 +86,7 @@ blocks:
11686
value: consumer
11787
commands_file: semaphore_integration_commands.sh
11888
- name: "go 1.21 linux arm64 bundled librdkafka"
119-
dependencies: []
89+
dependencies: [ ]
12090
task:
12191
agent:
12292
machine:
@@ -148,7 +118,7 @@ blocks:
148118
value: dynamic
149119
commands_file: semaphore_commands.sh
150120
- name: "go 1.21 Windows bundled librdkafka"
151-
dependencies: []
121+
dependencies: [ ]
152122
task:
153123
agent:
154124
machine:

0 commit comments

Comments
 (0)