Skip to content

Commit b6fe1be

Browse files
chore: update repo semaphore config
1 parent 1777f4d commit b6fe1be

File tree

1 file changed

+21
-17
lines changed

1 file changed

+21
-17
lines changed

.semaphore/semaphore.yml

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,19 @@ global_job_config:
2525
prologue:
2626
commands:
2727
- checkout
28-
- git submodule update --init --recursive
29-
- cd deps/librdkafka
30-
- git fetch origin
31-
- cd ../../
32-
- cache clear
28+
- make show-args
29+
- . vault-setup
30+
- . vault-sem-get-secret ci-reporting
31+
- . vault-sem-get-secret v1/ci/kv/service-foundations/cc-mk-include
32+
- make init-ci
33+
epilogue:
34+
always:
35+
commands:
36+
- make epilogue-ci
3337

3438
blocks:
3539
- name: "Linux amd64 (musl): Build and test"
36-
dependencies: [ ]
40+
dependencies: []
3741
task:
3842
agent:
3943
machine:
@@ -44,18 +48,18 @@ blocks:
4448
- docker run -v "$(pwd):/v" node:18-alpine /v/.semaphore/build-docker.sh
4549

4650
- name: "Linux arm64 (musl): Build and test"
47-
dependencies: [ ]
51+
dependencies: []
4852
task:
4953
agent:
5054
machine:
5155
type: s1-prod-ubuntu20-04-arm64-1
5256
jobs:
5357
- name: "Build from source and test for musl"
5458
commands:
55-
- docker run -v "$(pwd):/v" node:18-alpine /v/.semaphore/build-docker.sh
59+
- docker run -v "$(pwd):/v" node:18-alpine /v/.semaphore/build-docker.sh
5660

5761
- name: "Linux arm64: Build and test"
58-
dependencies: [ ]
62+
dependencies: []
5963
task:
6064
agent:
6165
machine:
@@ -79,7 +83,7 @@ blocks:
7983
- make test
8084

8185
- name: "Linux amd64: Build, test, lint"
82-
dependencies: [ ]
86+
dependencies: []
8387
task:
8488
agent:
8589
machine:
@@ -96,7 +100,7 @@ blocks:
96100
- npx eslint lib/kafkajs
97101

98102
- name: "Linux amd64: Release"
99-
dependencies: [ ]
103+
dependencies: []
100104
run:
101105
when: "tag =~ '^v[0-9]\\.'"
102106
task:
@@ -140,7 +144,7 @@ blocks:
140144
- artifact push workflow "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
141145

142146
- name: "Linux arm64: Release"
143-
dependencies: [ ]
147+
dependencies: []
144148
run:
145149
when: "tag =~ '^v[0-9]\\.'"
146150
task:
@@ -184,7 +188,7 @@ blocks:
184188
- artifact push workflow "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
185189

186190
- name: "Linux amd64 musl: Release"
187-
dependencies: [ ]
191+
dependencies: []
188192
run:
189193
when: "tag =~ '^v[0-9]\\.'"
190194
task:
@@ -222,7 +226,7 @@ blocks:
222226
- artifact push workflow "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
223227

224228
- name: "Linux arm64 musl: Release"
225-
dependencies: [ ]
229+
dependencies: []
226230
run:
227231
when: "tag =~ '^v[0-9]\\.'"
228232
task:
@@ -260,7 +264,7 @@ blocks:
260264
- artifact push workflow "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
261265

262266
- name: "macOS arm64/m1: Release"
263-
dependencies: [ ]
267+
dependencies: []
264268
run:
265269
when: "tag =~ '^v[0-9]\\.'"
266270
task:
@@ -304,7 +308,7 @@ blocks:
304308
- artifact push workflow "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
305309

306310
- name: "Windows x64: Release"
307-
dependencies: [ ]
311+
dependencies: []
308312
run:
309313
when: "tag =~ '^v[0-9]\\.'"
310314
task:
@@ -398,4 +402,4 @@ blocks:
398402
commands:
399403
- artifact pull workflow releases
400404
- tar -czvf releases.${SEMAPHORE_GIT_TAG_NAME}.tar.gz releases
401-
- artifact push project "releases.${SEMAPHORE_GIT_TAG_NAME}.tar.gz" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/releases.${SEMAPHORE_GIT_TAG_NAME}.tar.gz"
405+
- artifact push project "releases.${SEMAPHORE_GIT_TAG_NAME}.tar.gz" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/releases.${SEMAPHORE_GIT_TAG_NAME}.tar.gz"

0 commit comments

Comments
 (0)