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

Consume StateFunc fix #1188

Merged

Conversation

sergenyalcin
Copy link
Collaborator

@sergenyalcin sergenyalcin commented Mar 1, 2024

Description of your changes

This PR consumes the StateFunc fix in upjet. For more details please see: crossplane/upjet#358

I have:

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

How has this code been tested

Uptest

Manual

  • sqs.Queue
  • sqs.QueueRedrivePolicy
  • sqs.QueueRedriveAllowPolicy
  • ec2.Instance
  • networkmanager.CoreNetwork
  • dynamodb.Table

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/iam/v1beta1/policy.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/iam/v1beta1/rolepolicy.yaml"

Signed-off-by: Sergen Yalçın <[email protected]>
@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/iam/v1beta1/policy.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/iam/v1beta1/rolepolicy.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/apigateway/v1beta1/integrationresponse.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/appsync/v1beta1/datasource.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/batch/v1beta1/jobdefinition.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/cloudformation/v1beta1/stack.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/cloudwatch/v1beta1/dashboard.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/codecommit/v1beta1/approvalruletemplateassociation.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/connect/v1beta1/contactflow.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/connect/v1beta1/contactflowmodule.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/ecr/v1beta1/lifecyclepolicy.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/ecr/v1beta1/registrypolicy.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/ecr/v1beta1/repositorypolicy.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/ecrpublic/v1beta1/repositorypolicy.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/ecs/v1beta1/taskdefinition.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/elasticache/v1beta1/parametergroup.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/elasticache/v1beta1/subnetgroup.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/elasticsearch/v1beta1/domainpolicy.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/elbv2/v1beta1/lblistener.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/emrserverless/v1beta1/application.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/evidently/v1beta1/segment.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/firehose/v1beta1/deliverystream.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/glacier/v1beta1/vaultlock.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/iot/v1beta1/policy.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/rds/v1beta1/instance.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/waf/v1beta1/regexmatchset.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/apigateway/v1beta1/integrationresponse.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/rds/v1beta1/instance.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/apigateway/v1beta1/integrationresponse.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/apigateway/v1beta1/integrationresponse.yaml"

- apigateway.IntegrationResponse
- rds.v1beta1.Instance
- rds.v1beta2.Instance

Signed-off-by: Sergen Yalçın <[email protected]>
@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/apigateway/v1beta1/integrationresponse.yaml"

@sergenyalcin sergenyalcin marked this pull request as ready for review March 5, 2024 21:15
- docdb.ClusterInstance
- elasticache.Cluster
- elasticache.ReplicationGroup

Signed-off-by: Sergen Yalçın <[email protected]>
@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/elasticache/v1beta1/cluster.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/elasticache/v1beta2/replicationgroup.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/docdb/v1beta1/clusterinstance.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/wafregional/v1beta1/regexmatchset.yaml"

@sergenyalcin
Copy link
Collaborator Author

/test-examples="examples/iam/v1beta1/policy.yaml"

Copy link
Collaborator

@ulucinar ulucinar left a comment

Choose a reason for hiding this comment

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

Thanks @sergenyalcin, lgtm. And special thanks for all the example manifest fixes/improvements here!

@@ -13,6 +13,8 @@ spec:
apiVersion: apigateway.aws.upbound.io/v1beta1
kind: IntegrationResponse
metadata:
annotations:
uptest.upbound.io/disable-import: "true"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do we disable the import tests? A comment may help for these dependencies. Is it because we just want to test importing the main resource and not interested in importing the dependencies? If so, we may also consider running the import tests only for the main resources in the example manifests so that we don't need to disable the import tests for each of the dependencies, what do you think?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added comment to the example manifest. As you know, for the update step we do this. I mean, we only execute the update step for the root resources. For import statement we may also consider executing this step on the root resource of the example manifest.

examples/rds/v1beta1/instance.yaml Show resolved Hide resolved
Signed-off-by: Sergen Yalçın <[email protected]>
@sergenyalcin sergenyalcin merged commit fb0fb48 into crossplane-contrib:main Mar 7, 2024
9 checks passed
@sergenyalcin sergenyalcin deleted the consume-statefunc-fix branch March 7, 2024 11:34
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.

2 participants