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

Fetch AWS sizes from the API #1513

Merged
merged 12 commits into from
Sep 4, 2019
Merged

Fetch AWS sizes from the API #1513

merged 12 commits into from
Sep 4, 2019

Conversation

maciaszczykm
Copy link
Contributor

@maciaszczykm maciaszczykm commented Aug 27, 2019

What this PR does / why we need it: It consumes endpoints added in kubermatic/kubermatic#4166. Please wait for kubermatic/kubermatic#4192 too.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged): Fixes #1245.

Special notes for your reviewer:

Release note:

AWS sizes are fetched from the API now.

@kubermatic-bot kubermatic-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 27, 2019
@kubermatic-bot kubermatic-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 28, 2019
@maciaszczykm
Copy link
Contributor Author

Current view:

Zrzut ekranu 2019-08-28 o 13 56 21

Zrzut ekranu 2019-08-28 o 13 57 00

@codecov
Copy link

codecov bot commented Aug 28, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@60aa083). Click here to learn what that means.
The diff coverage is 62.68%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1513   +/-   ##
=========================================
  Coverage          ?   71.73%           
=========================================
  Files             ?      210           
  Lines             ?     6721           
  Branches          ?      664           
=========================================
  Hits              ?     4821           
  Misses            ?     1638           
  Partials          ?      262
Impacted Files Coverage Δ
src/app/shared/model/NodeProviderConstants.ts 100% <ø> (ø)
src/app/core/services/api/api.service.ts 36.61% <33.33%> (ø)
...node-data/aws-node-data/aws-node-data.component.ts 62.42% <62.96%> (ø)
src/app/core/services/wizard/provider/aws.ts 64.15% <70%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 60aa083...f5ab92e. Read the comment docs.

Load AWS instance sizes only on component init
@maciaszczykm maciaszczykm changed the title [WIP] Fetch AWS sizes from the API Fetch AWS sizes from the API Aug 28, 2019
@kubermatic-bot kubermatic-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 28, 2019
@maciaszczykm
Copy link
Contributor Author

/hold

For kubermatic/kubermatic#4192.

@kubermatic-bot kubermatic-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 28, 2019
@maciaszczykm
Copy link
Contributor Author

/hold cancel

@kubermatic-bot kubermatic-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 28, 2019
@maciaszczykm
Copy link
Contributor Author

Please test it when reviewing.

@maciaszczykm
Copy link
Contributor Author

/hold

API needs debugging. It fails from time to time but only on dev...

@kubermatic-bot kubermatic-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 28, 2019
@maciaszczykm
Copy link
Contributor Author

kubermatic/kubermatic#4203 should fix the API.

/hold cancel

@kubermatic-bot kubermatic-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 29, 2019
# Conflicts:
#	src/app/core/services/wizard/provider/aws.ts
#	src/app/shared/entity/provider/aws/AWS.ts
@maciaszczykm
Copy link
Contributor Author

PTAL

Copy link
Contributor

@kgroschoff kgroschoff left a comment

Choose a reason for hiding this comment

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

Looks good so far.
Sorry for all the merge conflicts due to AWS Subnets change 🙈

src/app/core/services/wizard/provider/aws.ts Outdated Show resolved Hide resolved
@kubermatic-bot kubermatic-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 4, 2019
@kubermatic-bot kubermatic-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 4, 2019
@maciaszczykm
Copy link
Contributor Author

@kgroschoff PTAL, conflicts are resolved now :)

@kgroschoff
Copy link
Contributor

/lgtm
/approve

@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label Sep 4, 2019
@kubermatic-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 03c4bb3a76b91a1dad0e2ce81dc0b2cb87e49276

@kubermatic-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kgroschoff

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubermatic-bot kubermatic-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 4, 2019
@kubermatic-bot kubermatic-bot merged commit 1993ff8 into master Sep 4, 2019
@kubermatic-bot kubermatic-bot deleted the feature/aws-sizes branch September 4, 2019 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move instance types to the API
3 participants