Skip to content

Commit

Permalink
Add crosscompile GOX_FLAGS
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandros Sapranidis <alexandros@elastic.co>
  • Loading branch information
alexsapran committed Mar 20, 2024
1 parent fc58c36 commit 3a1cc1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .buildkite/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def create_entity(self) -> dict[str, Any]:
],
}
if len(self.envs) > 0:
data["env"] = [f"{k}:{v}" for k, v in self.envs]
data["env"] = self.envs
return data


Expand Down
2 changes: 2 additions & 0 deletions auditbeat/buildkite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ stages:
crosscompile:
command: "make -C auditbeat crosscompile"
platform: "family/platform-ingest-beats-ubuntu-2204"
env:
GOX_FLAGS: "-arch amd64"
unitTest-rhel-9:
command: "mage -d auditbeat build unitTest"
platform: "family/platform-ingest-beats-rhel-9"
Expand Down

0 comments on commit 3a1cc1b

Please sign in to comment.