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

Fix ECR code #84

Merged
merged 7 commits into from
Mar 6, 2025
Merged

Fix ECR code #84

merged 7 commits into from
Mar 6, 2025

Conversation

LeoDiazL
Copy link
Contributor

  • ECR Code was missing in commons.
  • Made proxy env file dependent of proxy creation

@LeoDiazL LeoDiazL requested a review from mickmcgrath13 March 5, 2025 13:14
@mickmcgrath13
Copy link
Contributor

i skimmed and had copilot review as well. lgtm


Copilot's response:

Code Review Summary:

  1. File: generate_bitops_config.sh

    • Changes:
      • Added support for AWS_ECR_REPO_CREATE in multiple conditional checks.
      • Removed redundant conditional blocks for AWS_ECR_REPO_CREATE.
    • Review:
      • The addition of AWS_ECR_REPO_CREATE in the conditional checks aligns with the existing pattern.
      • Removal of redundant conditions helps streamline the script.
      • Ensure that AWS_ECR_REPO_CREATE is properly defined and documented in the environment setup.
  2. File: generate_provider.sh

    • Changes:
      • Modified the generate_provider_aws call to include ecr.
      • Removed commented-out calls for ecr and eks.
    • Review:
      • Including ecr in the generate_provider_aws call ensures that it is consistently managed with other AWS services.
      • Cleaning up commented-out code improves readability and maintenance.
      • Verify that the generate_provider_aws function correctly handles the new ecr inclusion without issues.

Additional Notes:

  • Removed Files:
    • Several Terraform and shell script files related to ecr were removed.
    • Ensure that the removal does not affect any existing deployments or configurations.
  • Terraform Configuration Updates:
    • Adjustments in aws/bitovi_main.tf re-enable the aws_ecr module and add conditional logic for its output.
    • Ensure that these configurations are tested in a staging environment before applying them to production.

Overall, the changes aim to integrate AWS_ECR_REPO_CREATE into the existing infrastructure scripts while removing redundant or outdated code. Proper testing and validation are recommended to ensure smooth integration.

@LeoDiazL LeoDiazL merged commit 2699467 into main Mar 6, 2025
1 check passed
@LeoDiazL LeoDiazL deleted the fix_ecr_action branch March 6, 2025 14:00
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