Skip to content

Commit baecf50

Browse files
chore: update repo semaphore config
1 parent 4c7be5c commit baecf50

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

.semaphore/semaphore.yml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +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 master
32-
- cd ../../
33-
- export MKL_DEBUG=1
34-
35-
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
3637

3738
blocks:
3839
- name: "Linux amd64 (musl): Build and test"
39-
dependencies: [ ]
40+
dependencies: []
4041
task:
4142
agent:
4243
machine:
@@ -47,18 +48,18 @@ blocks:
4748
- docker run -v "$(pwd):/v" node:18-alpine /v/.semaphore/build-docker.sh
4849

4950
- name: "Linux arm64 (musl): Build and test"
50-
dependencies: [ ]
51+
dependencies: []
5152
task:
5253
agent:
5354
machine:
5455
type: s1-prod-ubuntu20-04-arm64-1
5556
jobs:
5657
- name: "Build from source and test for musl"
5758
commands:
58-
- 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
5960

6061
- name: "Linux arm64: Build and test"
61-
dependencies: [ ]
62+
dependencies: []
6263
task:
6364
agent:
6465
machine:
@@ -82,7 +83,7 @@ blocks:
8283
- make test
8384

8485
- name: "Linux amd64: Build, test, lint"
85-
dependencies: [ ]
86+
dependencies: []
8687
task:
8788
agent:
8889
machine:
@@ -99,7 +100,7 @@ blocks:
99100
- npx eslint lib/kafkajs
100101

101102
- name: "Linux amd64: Release"
102-
dependencies: [ ]
103+
dependencies: []
103104
run:
104105
when: "tag =~ '^v[0-9]\\.'"
105106
task:
@@ -143,7 +144,7 @@ blocks:
143144
- artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
144145

145146
- name: "Linux arm64: Release"
146-
dependencies: [ ]
147+
dependencies: []
147148
run:
148149
when: "tag =~ '^v[0-9]\\.'"
149150
task:
@@ -187,7 +188,7 @@ blocks:
187188
- artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
188189

189190
- name: "Linux amd64 musl: Release"
190-
dependencies: [ ]
191+
dependencies: []
191192
run:
192193
when: "tag =~ '^v[0-9]\\.'"
193194
task:
@@ -225,7 +226,7 @@ blocks:
225226
- artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
226227

227228
- name: "Linux arm64 musl: Release"
228-
dependencies: [ ]
229+
dependencies: []
229230
run:
230231
when: "tag =~ '^v[0-9]\\.'"
231232
task:
@@ -263,7 +264,7 @@ blocks:
263264
- artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
264265

265266
- name: "macOS arm64/m1: Release"
266-
dependencies: [ ]
267+
dependencies: []
267268
run:
268269
when: "tag =~ '^v[0-9]\\.'"
269270
task:

0 commit comments

Comments
 (0)