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

control-service: add ability to check if docker image exists in ecr #1977

Merged
merged 17 commits into from
May 16, 2023

Conversation

mrMoZ1
Copy link
Contributor

@mrMoZ1 mrMoZ1 commented Apr 26, 2023

what: added functionality in the DockerRegistryService class which checks if the data job image exists in a ECR style repository. This functionality was previously unimplemented. Adopted the latest version of the job builder - 1.3.3, which can handle creating images with temporary amazon credentials too to be used in the integration tests.

why: as a control-service user needed to migrate to a different repository we noticed that this functionality was missing, had it been present the migration could have been quicker.

testing: modified existing integration test to utilize the new method while checking if image is created in the database. New method is also covered by the modified integration test since, it's called within the build image method.

mrMoZ1 and others added 2 commits April 26, 2023 22:21
Momchil Z and others added 5 commits April 26, 2023 22:29
mrMoZ1 and others added 4 commits May 11, 2023 01:42
Signed-off-by: mrMoZ1 <mzhivkov@vmware.com>
Signed-off-by: mrMoZ1 <mzhivkov@vmware.com>
Copy link
Contributor

@ivakoleva ivakoleva left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: mrMoZ1 <mzhivkov@vmware.com>
@mrMoZ1 mrMoZ1 enabled auto-merge (squash) May 16, 2023 15:40
@mrMoZ1 mrMoZ1 merged commit 70ea266 into main May 16, 2023
6 checks passed
@mrMoZ1 mrMoZ1 deleted the perosn/mzhivkov/ecr-check branch May 16, 2023 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants