opensearch-migrations icon indicating copy to clipboard operation
opensearch-migrations copied to clipboard

Use public.ecr.aws images

Open AndreKurait opened this issue 1 year ago • 1 comments

Description

Currently we are getting throttling from docker and ecr within github actions. To resolve this, we should

TODO: before this change is merged, we should include adding credentials for authenticated ecr pulling to extend our limits.

  • Category: Bug Fix
  • Why these changes are required? Fix throttling for github actions
  • What is the old behavior before changes and new behavior after changes? Some test runs failed and need to be retried.

Issues Resolved

Is this a backport? If so, please add backport PR # and/or commits #

Testing

Tested locally

Check List

  • [ ] New functionality includes testing
    • [x ] All tests pass, including unit test, integration test and doctest
  • [x ] New functionality has been documented
  • [x ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

AndreKurait avatar Apr 26 '24 15:04 AndreKurait

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 75.96%. Comparing base (0c6d19d) to head (6e6f0d9). Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #617      +/-   ##
============================================
+ Coverage     75.93%   75.96%   +0.03%     
  Complexity     1496     1496              
============================================
  Files           165      165              
  Lines          6362     6362              
  Branches        573      573              
============================================
+ Hits           4831     4833       +2     
+ Misses         1150     1147       -3     
- Partials        381      382       +1     
Flag Coverage Δ
unittests 75.96% <ø> (+0.03%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Apr 26 '24 16:04 codecov[bot]

@AndreKurait Is this still needed? Seems like the recent change [1] by @mikaylathompson will addresses the same root problem

  • [1] #698

peternied avatar Jun 06 '24 16:06 peternied

Closing. We can reopen if needed.

sumobrian avatar Jul 01 '24 22:07 sumobrian

If the anonymous pull rates are lower for ECR than w/ docker, this solves the problem for us, but not any other users that are trying to build these images in a continuous environment. I'd love to be able to keep using the same identifiers for the images that we want (like grafana) and no be stuck with baking the image repo that works best for any given user into the code. If there was a mirror that we could use instead, that might be the simplest solution.

gregschohn avatar Jul 18 '24 18:07 gregschohn