Skip to content

Commit 8f881d7

Browse files
committed
Fix Harness CI
1 parent e2f7669 commit 8f881d7

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

.harness/orgs/PROD/projects/Harness_Split/pipelines/deploy_qos_v3/input_sets/split_synchronizer_unstable.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ inputSet:
77
pipeline:
88
identifier: deploy_qos_v3
99
stages:
10-
- stage:
11-
identifier: code_artifact
12-
type: Deployment
13-
spec:
14-
service:
15-
serviceRef: <+<+expression.isResolved(<+trigger.payload.repository.name>)>?<+trigger.payload.repository.name.replace("-", "")>:<+trigger.payload.artifacts[0].service.replace("-", "")>>
1610
- parallel:
1711
- stage:
1812
identifier: CI
@@ -24,7 +18,11 @@ inputSet:
2418
identifier: custom_tag
2519
type: Run
2620
spec:
27-
command: VERSION="$(git rev-parse --short HEAD)"
21+
command: |-
22+
VERSION="$(git rev-parse --short HEAD)"
23+
24+
# Install the necessary QEMU binaries for multi-platform builds
25+
docker run --privileged --rm tonistiigi/binfmt --install all
2826
when:
2927
condition: "true"
3028
- step:
@@ -59,7 +57,11 @@ inputSet:
5957
identifier: custom_tag
6058
type: Run
6159
spec:
62-
command: VERSION="$(git rev-parse --short HEAD)"
60+
command: |-
61+
VERSION="$(git rev-parse --short HEAD)"
62+
63+
# Install the necessary QEMU binaries for multi-platform builds
64+
docker run --privileged --rm tonistiigi/binfmt --install all
6365
when:
6466
condition: "true"
6567
- step:

0 commit comments

Comments
 (0)