Skip to content

4422: Remove sleeper.compaction.repo property replaced with sleeper.e… #4668

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

Draft
wants to merge 38 commits into
base: develop
Choose a base branch
from

Conversation

ca61688
Copy link
Collaborator

@ca61688 ca61688 commented Apr 15, 2025

…cr.repository.prefix

Make sure you have checked all steps below.

Issue

Tests

  • My PR adds the following tests OR does not need testing for this extremely good reason:
    • MyUnitTest

Documentation

  • In case of new functionality, my PR adds documentation that describes how to use it, or I have linked to a
    separate issue for that below.
  • If I have added or removed any dependencies from the project, I have updated the NOTICES file.

@ca61688 ca61688 self-assigned this Apr 15, 2025
@ca61688 ca61688 linked an issue Apr 15, 2025 that may be closed by this pull request
return Stream.of(ECR_COMPACTION_REPO, ECR_INGEST_REPO,
BULK_EXPORT_ECR_REPO, BULK_IMPORT_REPO, BULK_IMPORT_EMR_SERVERLESS_CUSTOM_IMAGE_REPO)
return Stream.of(ECR_REPOSITORY_PREFIX,
BULK_EXPORT_ECR_REPO)
Copy link
Collaborator

@patchwork01 patchwork01 Apr 22, 2025

Choose a reason for hiding this comment

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

I'm not sure if this is the right behaviour for this method. Currently this method returns the names of ECR repositories that are set for the instance, including the prefix. Usually that will just be all the repositories. Previously, it was possible that some of those repositories could be not set at all in the instance properties, and in that case it wouldn't use them.

This is used to delete the repositories by their name. It probably makes sense to still look for all of the repositories.

I was wondering if we should model whether we expect the repositories to exist for the instance, but we probably still want to check if the repositories exist anyway, and we also want to delete this code completely soon and move the behaviour into the CDK.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this needs changing to compute all the repository names.

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.

Remove separate ECR repository properties
2 participants