From 0a9dfed33b4a307d55bbf3e165ca03161ff892fc Mon Sep 17 00:00:00 2001 From: "service-bot-app[bot]" <189278048+service-bot-app[bot]@users.noreply.github.com> Date: Wed, 22 Jan 2025 03:02:59 +0000 Subject: [PATCH] chore: update repo semaphore config --- .semaphore/semaphore.yml | 46 +++++++++++++++++++++++++++++++++------- 1 file changed, 38 insertions(+), 8 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 3f28b121f..efc960d92 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -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.8.0 prologue: commands: + - sem-version go 1.21 + - 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: @@ -40,7 +70,7 @@ blocks: value: dynamic commands_file: semaphore_commands.sh - name: "go 1.21 linux bundled librdkafka" - dependencies: [ ] + dependencies: [] task: agent: machine: @@ -86,7 +116,7 @@ blocks: value: consumer commands_file: semaphore_integration_commands.sh - name: "go 1.21 linux arm64 bundled librdkafka" - dependencies: [ ] + dependencies: [] task: agent: machine: @@ -118,7 +148,7 @@ blocks: value: dynamic commands_file: semaphore_commands.sh - name: "go 1.21 Windows bundled librdkafka" - dependencies: [ ] + dependencies: [] task: agent: machine: