From 4dd618c4235dc81c9384aae934f85b65400b87dd Mon Sep 17 00:00:00 2001 From: ConfluentSemaphore <40306929+ConfluentSemaphore@users.noreply.github.com> Date: Sat, 4 May 2024 01:20:19 +0000 Subject: [PATCH] chore: update repo semaphore config --- .semaphore/semaphore.yml | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index e80de063..b52ac4dc 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -25,15 +25,19 @@ global_job_config: prologue: commands: - checkout - - git submodule update --init --recursive - - cd deps/librdkafka - - git fetch origin - - cd ../../ - - cache clear + - 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: "Linux amd64 (musl): Build and test" - dependencies: [ ] + dependencies: [] task: agent: machine: @@ -47,7 +51,7 @@ blocks: - docker run -v "$(pwd):/v" node:18-alpine /v/.semaphore/build-docker.sh - name: "Linux arm64 (musl): Build and test" - dependencies: [ ] + dependencies: [] task: agent: machine: @@ -58,10 +62,10 @@ blocks: jobs: - name: "Build from source and test for musl" commands: - - docker run -v "$(pwd):/v" node:18-alpine /v/.semaphore/build-docker.sh + - docker run -v "$(pwd):/v" node:18-alpine /v/.semaphore/build-docker.sh - name: "Linux arm64: Build and test" - dependencies: [ ] + dependencies: [] task: agent: machine: @@ -85,7 +89,7 @@ blocks: - make test - name: "Linux amd64: Build, test, lint" - dependencies: [ ] + dependencies: [] task: agent: machine: @@ -102,7 +106,7 @@ blocks: - npx eslint lib/kafkajs - name: "Linux amd64: Release" - dependencies: [ ] + dependencies: [] run: when: "tag =~ '^v[0-9]\\.'" task: @@ -149,7 +153,7 @@ blocks: - artifact push workflow "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" - name: "Linux arm64: Release" - dependencies: [ ] + dependencies: [] run: when: "tag =~ '^v[0-9]\\.'" task: @@ -196,7 +200,7 @@ blocks: - artifact push workflow "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" - name: "Linux amd64 musl: Release" - dependencies: [ ] + dependencies: [] run: when: "tag =~ '^v[0-9]\\.'" task: @@ -237,7 +241,7 @@ blocks: - artifact push workflow "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" - name: "Linux arm64 musl: Release" - dependencies: [ ] + dependencies: [] run: when: "tag =~ '^v[0-9]\\.'" task: @@ -278,7 +282,7 @@ blocks: - artifact push workflow "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" - name: "macOS arm64/m1: Release" - dependencies: [ ] + dependencies: [] run: when: "tag =~ '^v[0-9]\\.'" task: @@ -322,7 +326,7 @@ blocks: - artifact push workflow "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" - name: "Windows x64: Release" - dependencies: [ ] + dependencies: [] run: when: "tag =~ '^v[0-9]\\.'" task: @@ -416,4 +420,4 @@ blocks: commands: - artifact pull workflow releases - tar -czvf releases.${SEMAPHORE_GIT_TAG_NAME}.tar.gz releases - - artifact push project "releases.${SEMAPHORE_GIT_TAG_NAME}.tar.gz" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/releases.${SEMAPHORE_GIT_TAG_NAME}.tar.gz" \ No newline at end of file + - artifact push project "releases.${SEMAPHORE_GIT_TAG_NAME}.tar.gz" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/releases.${SEMAPHORE_GIT_TAG_NAME}.tar.gz"