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

feat(apple-silicon): add contract message information #4405

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Laure-di
Copy link
Contributor

@Laure-di Laure-di commented Jan 8, 2025

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates OR Closes #0000

Release note for CHANGELOG:


@github-actions github-actions bot added the apple-silicon Apple Silicon issues, bugs and feature requests label Jan 8, 2025
@codecov-commenter
Copy link

codecov-commenter commented Jan 8, 2025

Codecov Report

Attention: Patch coverage is 11.11111% with 8 lines in your changes missing coverage. Please review.

Project coverage is 70.68%. Comparing base (5bf53e0) to head (04d2609).
Report is 427 commits behind head on master.

Files with missing lines Patch % Lines
.../namespaces/applesilicon/v1alpha1/custom_server.go 11.11% 7 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4405      +/-   ##
==========================================
- Coverage   75.45%   70.68%   -4.77%     
==========================================
  Files         202      297      +95     
  Lines       44323    65885   +21562     
==========================================
+ Hits        33444    46573   +13129     
- Misses       9653    17669    +8016     
- Partials     1226     1643     +417     

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

@Laure-di Laure-di force-pushed the apple-silicon-contract-message branch from c0d9594 to 04d2609 Compare January 8, 2025 13:32

c.AddInterceptors(func(ctx context.Context, argsI interface{}, runner core.CommandRunner) (i interface{}, err error) {
args := argsI.(*applesilicon.CreateServerRequest)
bareMetalLink := "\u001B[38;2;121;45;212;4m\u001B]8;;https://console.scaleway.com/organization/contracts\u001B\\Bare Metal Specific Conditions\u001B]8;;\u001B\\\u001B[0m (\u001B[38;2;121;45;212mhttps://console.scaleway.com/organization/contracts\u001B[0m)"
Copy link
Member

Choose a reason for hiding this comment

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

We should ask only when the contract is not signed. Is there an API call that would allow use to check contracts ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apple-silicon Apple Silicon issues, bugs and feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants