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

Bump Upjet to commit be5e036 #1573

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

mergenci
Copy link
Collaborator

@mergenci mergenci commented Nov 20, 2024

Description of your changes

I would like to consume Upjet PRs that come before crossplane/upjet#424, so that changes because of those don't crowd #1422. This PR consumes the following (listed in chronological order of merging):

  1. Fix scraping Refs from attributes containing lists crossplane/upjet#441 (5cdf369)
  2. chore: improve references docs crossplane/upjet#413 (7eaaf8a)
  3. Add technical documentation for migration framework crossplane/upjet#289 (a18bd41)
  4. fix unintentional modification of slice in GetSensitiveParameters crossplane/upjet#449 (be5e036)

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Uptest runs:

  1. examples/dynamodb/v1beta1/table.yaml
  2. examples/ec2/v1beta2/vpcendpoint.yaml
  3. examples/s3/v1beta1/bucket.yaml

Signed-off-by: Cem Mergenci <[email protected]>
Signed-off-by: Cem Mergenci <[email protected]>
@mergenci
Copy link
Collaborator Author

mergenci commented Nov 20, 2024

/test-examples="examples/ec2/v1beta1/vpcendpoint.yaml"

This example doesn't exist yet 😒

@mergenci
Copy link
Collaborator Author

/test-examples="examples/s3/v1beta1/bucket.yaml"

@mergenci
Copy link
Collaborator Author

/test-examples="examples/dynamodb/v1beta1/table.yaml"

@mergenci
Copy link
Collaborator Author

/test-examples="examples/ec2/v1beta2/vpcendpoint.yaml"

@turkenf
Copy link
Collaborator

turkenf commented Nov 21, 2024

Thank you for the PR @mergenci, we need to backport the API changes in v1beta2 to v1beta1 here too :) It would also be good if we could test some of the resources we backported with uptest.

AutomationParametersParameterParameters type in v1beta1 corresponds to
ParameterParameters type in v1beta2. It's not possible to "backport
the name" of the v1beta1 type to ParameterParameters, because that
name is already defined in Document resource (in zz_document_types.go
file) in v1beta1 package. Changes in such renamed types could be the
most difficult to detect and handle automatically.

Signed-off-by: Cem Mergenci <[email protected]>
Signed-off-by: Cem Mergenci <[email protected]>
There are no changes after `make generate`.

Signed-off-by: Cem Mergenci <[email protected]>
`make generate` didn't output any changes.

Signed-off-by: Cem Mergenci <[email protected]>
@mergenci
Copy link
Collaborator Author

Thanks for the catch @turkenf 💪 I committed each step of the backporting separately. I noticed that our automatic tooling is not able to handle new fields in renamed types. See 318fcbb. I'll take a note of the situation in the documentation. I'll run Uptests as you suggested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants