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

Volume-related graph refresh fixes & VCR specs #74

Merged
merged 4 commits into from
Aug 8, 2017

Conversation

cben
Copy link
Contributor

@cben cben commented Jul 25, 2017

Added refresher specs for CVs, PVs, PVCs.
Testing those in the new easier-to-reproduce VCRs. I was lazy and avoided re-recording but relying on some hawkular/cassandra stuff that's not in the template — but should be pretty stable.

@miq-bot add-label bug, test

Graph refresh RFE: https://bugzilla.redhat.com/show_bug.cgi?id=1470021

@cben cben force-pushed the graph-volumes branch 2 times, most recently from ed8a27e to 24998ac Compare July 26, 2017 11:58
@cben cben changed the title [WIP] Volume-related graph refresh fixes & VCR specs Volume-related graph refresh fixes & VCR specs Jul 26, 2017
@miq-bot miq-bot removed the wip label Jul 26, 2017
@cben cben mentioned this pull request Jul 26, 2017
24 tasks
@cben
Copy link
Contributor Author

cben commented Jul 27, 2017

Kicking Travis as master is now green

@cben cben closed this Jul 27, 2017
@cben cben reopened this Jul 27, 2017
@miq-bot
Copy link
Member

miq-bot commented Jul 27, 2017

This pull request is not mergeable. Please rebase and repush.

@cben
Copy link
Contributor Author

cben commented Jul 31, 2017

@zeari @enoodle @moolitayer Please review.

@moolitayer
Copy link

I was lazy and avoided re-recording but relying on some hawkular/cassandra stuff that's not in the template — but should be pretty stable.

I'm all for setting out base test cluster for infra stuff + template - that's what we deploy mostly anyway.

@moolitayer moolitayer requested a review from zakiva July 31, 2017 11:54
:builder_params => {:ems_id => manager.id},
:association => :persistent_volume_claims,
:use_ar_object => true, # serialized :capacity attr
# TODO: add container_project_id column to persistent_volume_claims.
Copy link

@moolitayer moolitayer Jul 31, 2017

Choose a reason for hiding this comment

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

Can you please make this an issue? an issue item is also 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

=> #78. Removing TODO.

Copy link

@moolitayer moolitayer left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@simon3z
Copy link
Contributor

simon3z commented Aug 1, 2017

@zakiva can you review?

@miq-bot
Copy link
Member

miq-bot commented Aug 3, 2017

This pull request is not mergeable. Please rebase and repush.

cben added 2 commits August 4, 2017 00:00
For consistency with get_custom_attributes_graph + better error.
Testing those in the new easier-to-reproduce VCRs.
if volume.persistentVolumeClaim.try(:claimName)
new_result[:persistent_volume_claim_ref] = {
:namespace => pod.metadata.namespace,
:name => volume.persistentVolumeClaim.try(:claimName),
Copy link
Contributor

Choose a reason for hiding this comment

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

nit, but I think you can omit the try

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor

@zakiva zakiva left a comment

Choose a reason for hiding this comment

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

LGTM

@miq-bot
Copy link
Member

miq-bot commented Aug 8, 2017

Checked commits cben/manageiq-providers-kubernetes@a376f3c~...17e6f9e with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
3 files checked, 0 offenses detected
Everything looks fine. 🍰

@moolitayer moolitayer merged commit 9f5ebb0 into ManageIQ:master Aug 8, 2017
@moolitayer
Copy link

@cben I thought the test label is for patches that are test but I'm not sure. wdyt?
(If so maybe we should name it test_only)

@moolitayer moolitayer added this to the Sprint 67 Ending Aug 21, 2017 milestone Aug 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants