Skip to content

Commit cfff7d6

Browse files
chore: update repo semaphore config
1 parent a62ca53 commit cfff7d6

File tree

1 file changed

+20
-17
lines changed

1 file changed

+20
-17
lines changed

.semaphore/semaphore.yml

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +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-
- git checkout dev_bump_openssl_version_3_0_12
32-
- cd ../../
33-
- export MKL_DEBUG=1
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
3437

3538
blocks:
3639
- name: "Linux amd64 (musl): Build and test"
37-
dependencies: [ ]
40+
dependencies: []
3841
task:
3942
agent:
4043
machine:
@@ -45,18 +48,18 @@ blocks:
4548
- docker run -v "$(pwd):/v" node:18-alpine /v/.semaphore/build-docker.sh
4649

4750
- name: "Linux arm64 (musl): Build and test"
48-
dependencies: [ ]
51+
dependencies: []
4952
task:
5053
agent:
5154
machine:
5255
type: s1-prod-ubuntu20-04-arm64-1
5356
jobs:
5457
- name: "Build from source and test for musl"
5558
commands:
56-
- 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
5760

5861
- name: "Linux arm64: Build and test"
59-
dependencies: [ ]
62+
dependencies: []
6063
task:
6164
agent:
6265
machine:
@@ -80,7 +83,7 @@ blocks:
8083
- make test
8184

8285
- name: "Linux amd64: Build, test, lint"
83-
dependencies: [ ]
86+
dependencies: []
8487
task:
8588
agent:
8689
machine:
@@ -97,7 +100,7 @@ blocks:
97100
- npx eslint lib/kafkajs
98101

99102
- name: "Linux amd64: Release"
100-
dependencies: [ ]
103+
dependencies: []
101104
run:
102105
when: "tag =~ '^v[0-9]\\.'"
103106
task:
@@ -141,7 +144,7 @@ blocks:
141144
- artifact push workflow "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
142145

143146
- name: "Linux arm64: Release"
144-
dependencies: [ ]
147+
dependencies: []
145148
run:
146149
when: "tag =~ '^v[0-9]\\.'"
147150
task:
@@ -185,7 +188,7 @@ blocks:
185188
- artifact push workflow "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
186189

187190
- name: "Linux amd64 musl: Release"
188-
dependencies: [ ]
191+
dependencies: []
189192
run:
190193
when: "tag =~ '^v[0-9]\\.'"
191194
task:
@@ -223,7 +226,7 @@ blocks:
223226
- artifact push workflow "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
224227

225228
- name: "Linux arm64 musl: Release"
226-
dependencies: [ ]
229+
dependencies: []
227230
run:
228231
when: "tag =~ '^v[0-9]\\.'"
229232
task:
@@ -261,7 +264,7 @@ blocks:
261264
- artifact push workflow "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
262265

263266
- name: "macOS arm64/m1: Release"
264-
dependencies: [ ]
267+
dependencies: []
265268
run:
266269
when: "tag =~ '^v[0-9]\\.'"
267270
task:
@@ -322,4 +325,4 @@ blocks:
322325
commands:
323326
- artifact pull workflow releases
324327
- tar -czvf releases.${SEMAPHORE_GIT_TAG_NAME}.tar.gz releases
325-
- artifact push project "releases.${SEMAPHORE_GIT_TAG_NAME}.tar.gz" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/releases.${SEMAPHORE_GIT_TAG_NAME}.tar.gz"
328+
- 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)