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(mrs): mrs resources not tested #148

Merged
merged 7 commits into from
Jan 24, 2023
Merged

Conversation

dmicheneau
Copy link
Collaborator

@dmicheneau dmicheneau commented Jan 20, 2023

Description of your changes

feat(mrs/cluster): Add MRS Cluster example
chore(mrs/job): find an issue #140

I have:

  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

NAME                                                    READY   SYNCED   EXTERNAL-NAME     AGE
keypair.ecs.flexibleengine.upbound.io/example-keypair   True    True     example-keypair   72m

NAME                                                        READY   SYNCED   EXTERNAL-NAME                          AGE
cluster.mrs.flexibleengine.upbound.io/example-mrs-cluster   True    True     5d5e03c4-2116-4074-9619-16d7f4849033   72m

NAME                                                     READY   SYNCED   EXTERNAL-NAME                          AGE
vpcsubnet.vpc.flexibleengine.upbound.io/example-subnet   True    True     222f5569-56ec-4b40-a9d8-92b0d53644bc   72m

NAME                                            READY   SYNCED   EXTERNAL-NAME                          AGE
vpc.vpc.flexibleengine.upbound.io/example-vpc   True    True     16f0268e-a59b-4566-b7d7-a519454978aa   72m

@dmicheneau dmicheneau added feature category/mrs Resource category MRS and removed size/M chore labels Jan 20, 2023
@dmicheneau dmicheneau changed the title 123 mrs resources not tested feat(mrs): 123 mrs resources not tested Jan 20, 2023
@github-actions github-actions bot added the chore label Jan 20, 2023
@dmicheneau dmicheneau changed the title feat(mrs): 123 mrs resources not tested feat(mrs): mrs resources not tested Jan 20, 2023
config/groups.go Outdated
Comment on lines 160 to 161
"flexibleengine_mrs_cluster_v2": ReplaceGroupWords("mrs", 1), // Group: mrs, Kind: Cluster
"flexibleengine_mrs_job_v2": ReplaceGroupWords("mrs", 1), // Group: mrs, Kind: Job
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why ?

Copy link
Collaborator Author

@dmicheneau dmicheneau Jan 20, 2023

Choose a reason for hiding this comment

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

old writes...i fix it

r.UseAsync = true
// cluster_id
r.References["cluster_id"] = config.Reference{
Type: tools.GenerateType("mrs", "Cluster"),
Copy link
Collaborator

Choose a reason for hiding this comment

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

In same resource it's recommended to use local type.

Suggested change
Type: tools.GenerateType("mrs", "Cluster"),
Type: "Cluster",

@dmicheneau dmicheneau changed the title feat(mrs): mrs resources not tested feat(rms): rms resources not tested Jan 20, 2023
@azrod
Copy link
Collaborator

azrod commented Jan 20, 2023

Please edit title of PR. Only cluster resource has tested

@dmicheneau dmicheneau changed the title feat(rms): rms resources not tested feat(mrs): mrs resources not tested Jan 20, 2023
@dmicheneau dmicheneau force-pushed the 123-mrs-resources-not-tested branch 2 times, most recently from 589939a to 1502c03 Compare January 23, 2023 13:54
@azrod azrod merged commit 51e3aad into main Jan 24, 2023
@azrod azrod deleted the 123-mrs-resources-not-tested branch January 24, 2023 15:24
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.

3 participants