Skip to content

Commit e2f7669

Browse files
committed
Fix Harness CI
1 parent 50abc2e commit e2f7669

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

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

Lines changed: 12 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,12 @@ inputSet:
2418
identifier: custom_tag
2519
type: Run
2620
spec:
27-
command: VERSION="$(awk '/^const Version/{gsub(/"/, "", $4); print $4}' splitio/version.go)"
21+
command: |-
22+
# Create custom tag
23+
VERSION="$(awk '/^const Version/{gsub(/"/, "", $4); print $4}' splitio/version.go)"
24+
25+
# Install the necessary QEMU binaries for multi-platform builds
26+
docker run --privileged --rm tonistiigi/binfmt --install all
2827
when:
2928
condition: "true"
3029
- step:
@@ -60,7 +59,12 @@ inputSet:
6059
identifier: custom_tag
6160
type: Run
6261
spec:
63-
command: VERSION="$(awk '/^const Version/{gsub(/"/, "", $4); print $4}' splitio/version.go)"
62+
command: |-
63+
# Create custom tag
64+
VERSION="$(awk '/^const Version/{gsub(/"/, "", $4); print $4}' splitio/version.go)"
65+
66+
# Install the necessary QEMU binaries for multi-platform builds
67+
docker run --privileged --rm tonistiigi/binfmt --install all
6468
when:
6569
condition: "true"
6670
- step:

0 commit comments

Comments
 (0)