Skip to content

Conversation

rushmash91
Copy link
Member

Description of changes:

  • Fix jobs_config.yaml path resolution in ACK workflow
  • Add validation for operations_catalog structure:
    • Enforce exactly 5 required keys
    • Ensure CRUD operations have exactly 1 operation each

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ack-prow ack-prow bot requested review from a-hilaly and jlbutler August 8, 2025 15:04
@ack-prow ack-prow bot added the approved label Aug 8, 2025
Copy link

ack-prow bot commented Aug 8, 2025

@rushmash91: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
acktest-s3-e2e-tests 74b61f6 link true /test acktest-s3-e2e-tests

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rushmash91 rushmash91 changed the title [Needs Rebase] add operations catalog validation add operations catalog validation Aug 11, 2025
"update_operations": ["UpdateRepository", "ModifyRepository"],
"create_operations": ["CreateRepository"],
"read_operations": ["GetRepository"], (prefer "Get" over "Describe")
"update_operations": ["UpdateRepository"],
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this have a similar "(prefer "Update" over "Modify") hint?

Copy link
Member Author

Choose a reason for hiding this comment

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

Usually there is only one update call, READ tends to have read one and read many, but we can never be sure with these. We can add it if we see it missing updates..

config_path = Path(__file__).parent.parent.parent.parent / "prow" / "jobs" / "jobs_config.yaml"
config_path = Path(__file__).parent.parent.parent.parent / "jobs" / "jobs_config.yaml"
Copy link
Contributor

Choose a reason for hiding this comment

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

Q: Were you seeing an issue loading this file?

Copy link
Member Author

Choose a reason for hiding this comment

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

yup!

Copy link
Contributor

@knottnt knottnt left a comment

Choose a reason for hiding this comment

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

/lgtm

@ack-prow ack-prow bot added the lgtm Indicates that a PR is ready to be merged. label Aug 12, 2025
Copy link

ack-prow bot commented Aug 12, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: knottnt, rushmash91

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

@ack-prow ack-prow bot merged commit c99d1f8 into aws-controllers-k8s:main Aug 12, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants