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

feature: use 'uname -n' instead of 'hostname' to get hostname #2197

Merged
merged 1 commit into from
Apr 27, 2023

Conversation

Daz-3ux
Copy link
Contributor

@Daz-3ux Daz-3ux commented Apr 23, 2023

Describe what this PR does / why we need it

The hostname command may need to be downloaded on some machines, but the uname command is always present.

Does this pull request fix one issue?

Fixes: #2194

@codecov-commenter
Copy link

codecov-commenter commented Apr 23, 2023

Codecov Report

Patch coverage has no change and project coverage change: -12.93 ⚠️

Comparison is base (035b662) 20.19% compared to head (05cae6b) 7.27%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #2197       +/-   ##
==========================================
- Coverage   20.19%   7.27%   -12.93%     
==========================================
  Files          98     165       +67     
  Lines        9100   13452     +4352     
==========================================
- Hits         1838     978      -860     
- Misses       7008   12332     +5324     
+ Partials      254     142      -112     
Flag Coverage Δ
e2e-tests 7.27% <ø> (?)
unit-tests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

see 263 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Daz-3ux Daz-3ux force-pushed the generalname branch 3 times, most recently from b966892 to 05fcaa8 Compare April 25, 2023 14:11
@kakaZhou719
Copy link
Member

@Daz-3ux ,pls rebase your code. failed apply e2e test action was fixed.

@github-actions github-actions bot added ImageBuilding related to all staff with image building test labels Apr 27, 2023
@github-actions github-actions bot removed ImageBuilding related to all staff with image building test labels Apr 27, 2023
fixes: sealerio#2194

The `hostname` command may need to be downloaded on some machines,
but the `uname` command is always present.

Signed-off-by: Pengda Yang <daz-3ux@proton.me>
Copy link
Member

@kakaZhou719 kakaZhou719 left a comment

Choose a reason for hiding this comment

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

/lgtm

@kakaZhou719 kakaZhou719 merged commit 220a1ca into sealerio:main Apr 27, 2023
@Daz-3ux Daz-3ux deleted the generalname branch April 27, 2023 14:15
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.

Use 'uname -n' instead of 'hostname'
3 participants