Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Buildkite] Update buildkite scripts #1608

Merged
merged 2 commits into from
Dec 20, 2023

Conversation

mrodm
Copy link
Contributor

@mrodm mrodm commented Dec 19, 2023

Update buildkite scripts to get the platform and architecture in runtime.

Tested:

@mrodm mrodm self-assigned this Dec 19, 2023
@mrodm mrodm mentioned this pull request Dec 19, 2023
2 tasks
@mrodm
Copy link
Contributor Author

mrodm commented Dec 19, 2023

test integrations

@elasticmachine
Copy link
Collaborator

Created or updated PR in integrations repository to test this version. Check elastic/integrations#8755

@mrodm mrodm requested review from sharbuz and a team December 19, 2023 13:24
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

cc @mrodm

Comment on lines +7 to +9
platform_type="$(uname)"
hw_type="$(uname -m)"
platform_type_lowercase="${platform_type,,}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit. It looks a bit unexpected to me to call platform_type to the operating system. And platform_type is never used, so maybe we can reserve this name to the final form that we use.

Suggested change
platform_type="$(uname)"
hw_type="$(uname -m)"
platform_type_lowercase="${platform_type,,}"
uname_os_type="$(uname)"
hardware_name="$(uname -m)"
os_type="${uname_os_type,,}"

@mrodm mrodm merged commit a6799ce into elastic:main Dec 20, 2023
4 checks passed
@mrodm mrodm deleted the refactor_buildkite_scripts_second branch December 20, 2023 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants