Skip to content

Commit

Permalink
Use more compatible cd and restore missed mage
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 a090777 commit ca2c8fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .buildkite/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ def __lt__(self, other):

def step_command(self) -> list[str]:
commands = [
# pushd works for windows as well
# https://en.wikipedia.org/wiki/Pushd_and_popd#:~:text=In%20Windows%20PowerShell%2C%20pushd%20is,the%20pushd%20and%20popd%20commands.
f"pushd {self.project}",
f"cd {self.project}",
self.command,
]
return commands
Expand Down
2 changes: 1 addition & 1 deletion auditbeat/buildkite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ stages:
mandatory:
# NOTE: stage name should be unique!
unitTest:
command: "build unitTest"
command: "mage build unitTest"
platform: "family/platform-ingest-beats-ubuntu-2204"
crosscompile:
command: "make crosscompile"
Expand Down

0 comments on commit ca2c8fc

Please sign in to comment.