Skip to content

Commit 4493422

Browse files
ConfluentJenkinsmilindl
authored andcommitted
chore: update repo by service bot (#6)
* chore: update repo semaphore project * chore: update repo semaphore config
1 parent 0b43e52 commit 4493422

File tree

2 files changed

+106
-0
lines changed

2 files changed

+106
-0
lines changed

.semaphore/project.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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-js
10+
description: ""
11+
spec:
12+
visibility: private
13+
repository:
14+
url: [email protected]:confluentinc/confluent-kafka-js.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+
- /^gh-readonly-queue.*/
31+
custom_permissions: true
32+
debug_permissions:
33+
- empty
34+
- default_branch
35+
- non_default_branch
36+
- pull_request
37+
- forked_pull_request
38+
- tag
39+
attach_permissions:
40+
- default_branch
41+
- non_default_branch
42+
- pull_request
43+
- forked_pull_request
44+
- tag

.semaphore/semaphore.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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+
version: v1.0
8+
name: build-test-release
9+
agent:
10+
machine:
11+
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+
global_job_config:
25+
prologue:
26+
commands:
27+
- checkout
28+
- make show-args
29+
- . vault-setup
30+
- . vault-sem-get-secret cpd_gcloud
31+
- . vault-sem-get-secret ci-reporting
32+
- . vault-sem-get-secret v1/ci/kv/service-foundations/cc-mk-include
33+
- make init-ci
34+
epilogue:
35+
always:
36+
commands:
37+
- make epilogue-ci
38+
39+
blocks:
40+
- name: "Build, Test, Release"
41+
run:
42+
# don't run the build or unit tests on non-functional changes...
43+
when: "change_in('/', {exclude: ['/.deployed-versions/', '.github/']})"
44+
task:
45+
# You can customize your CI job here
46+
# env_vars:
47+
# # custom env_vars
48+
# prologue:
49+
# commands:
50+
# # custom vault secrets
51+
# # custom prologue commands
52+
jobs:
53+
- name: "Build, Test, Release"
54+
commands:
55+
- make build
56+
- make test
57+
- make release-ci
58+
epilogue:
59+
always:
60+
commands:
61+
- make epilogue-ci
62+
- make testbreak-after

0 commit comments

Comments
 (0)