Skip to content

Commit 3a1cc1b

Browse files
committed
Add crosscompile GOX_FLAGS
Signed-off-by: Alexandros Sapranidis <alexandros@elastic.co>
1 parent fc58c36 commit 3a1cc1b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.buildkite/pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def create_entity(self) -> dict[str, Any]:
103103
],
104104
}
105105
if len(self.envs) > 0:
106-
data["env"] = [f"{k}:{v}" for k, v in self.envs]
106+
data["env"] = self.envs
107107
return data
108108

109109

auditbeat/buildkite.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ stages:
1717
crosscompile:
1818
command: "make -C auditbeat crosscompile"
1919
platform: "family/platform-ingest-beats-ubuntu-2204"
20+
env:
21+
GOX_FLAGS: "-arch amd64"
2022
unitTest-rhel-9:
2123
command: "mage -d auditbeat build unitTest"
2224
platform: "family/platform-ingest-beats-rhel-9"

0 commit comments

Comments
 (0)