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

Terraform/arm64 support #21

Merged
merged 2 commits into from
May 30, 2024
Merged

Terraform/arm64 support #21

merged 2 commits into from
May 30, 2024

Conversation

abdulhuq811
Copy link
Contributor

No description provided.

@abdulhuq811 abdulhuq811 requested a review from a team as a code owner May 29, 2024 22:07
Copy link

codecov bot commented May 29, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 81.32%. Comparing base (c5cd6d1) to head (f12b8aa).

Files Patch % Lines
pterradactyl/terraform/terraform.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master      #21   +/-   ##
=======================================
  Coverage   81.32%   81.32%           
=======================================
  Files          26       26           
  Lines         696      696           
=======================================
  Hits          566      566           
  Misses        130      130           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@abdulhuq811 abdulhuq811 requested a review from manasib May 30, 2024 15:02
return 'arm'
return 'amd64' if platform.architecture()[0] == '64bit' else '386'
if platform.machine().startswith("arm"):
return "arm64" if platform.architecture()[0] == "64bit" else "arm"
Copy link
Contributor

Choose a reason for hiding this comment

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

looks like we have tests missing for this line

Copy link
Contributor

@manasib manasib left a comment

Choose a reason for hiding this comment

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

Agreed in DMs that the tests will be added in a separate PR

@abdulhuq811 abdulhuq811 merged commit a3fb1f7 into master May 30, 2024
5 of 6 checks passed
@abdulhuq811 abdulhuq811 deleted the terraform/arm64-support branch May 30, 2024 15:52
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.

2 participants