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

Improve container image repository checks for some dev services #26624

Merged

Conversation

sombraglez
Copy link

@sombraglez sombraglez commented Jul 8, 2022

This commit improves container image name checks for these dev services:

  • Apicurio Registry
  • ActiveMQ Artemis (AMQP)
  • RabbitMQ

These dev services used to verify that the image repository is equal
to a hard-coded string. This commit changes that to verify that
the image repository ends with the same hard-coded string, which
allows for repository namespacing in private container registries.

Fixes #24308

@quarkus-bot

This comment was marked as resolved.

@geoand geoand changed the title Fix #24308: remove image check for Apicurio DevService Remove image check for Apicurio DevService Jul 11, 2022
@geoand geoand requested a review from Ladicek July 11, 2022 06:08
@Ladicek
Copy link
Contributor

Ladicek commented Jul 11, 2022

Also CC @ozangunalp.

Copy link
Contributor

@Ladicek Ladicek left a comment

Choose a reason for hiding this comment

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

LGTM

@Ladicek
Copy link
Contributor

Ladicek commented Jul 12, 2022

I have pushed a commit to this PR that unifies the container image repository name checks in all 3 dev services that still perform them.

@Ladicek Ladicek changed the title Remove image check for Apicurio DevService Improve image repository checks for some dev services Jul 12, 2022
@Ladicek Ladicek changed the title Improve image repository checks for some dev services Improve container image repository checks for some dev services Jul 12, 2022
@quarkus-bot

This comment has been minimized.

…me dev services

This commit improves container image name checks for these dev services:

- Apicurio Registry
- ActiveMQ Artemis (AMQP)
- RabbitMQ

These dev services used to verify that the image repository is equal
to a hard-coded string. This commit changes that to verify that
the image repository _ends with_ the same hard-coded string, which
allows for repository namespacing in private container registries.
@Ladicek Ladicek force-pushed the 24308_apicurio_registry_mem_image branch from 28e621c to d0e1915 Compare July 12, 2022 10:46
@Ladicek
Copy link
Contributor

Ladicek commented Jul 12, 2022

@ozangunalp Could you please take another look and then I'll merge?

Copy link
Contributor

@ozangunalp ozangunalp left a comment

Choose a reason for hiding this comment

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

@Ladicek LGTM!

@Ladicek Ladicek merged commit 4204005 into quarkusio:main Jul 12, 2022
@quarkus-bot quarkus-bot bot added this to the 2.11 - main milestone Jul 12, 2022
@Ladicek
Copy link
Contributor

Ladicek commented Jul 12, 2022

Thanks!

@sombraglez
Copy link
Author

Thanks a lot for solving this issue ;)

@Ladicek
Copy link
Contributor

Ladicek commented Jul 12, 2022

Thank you for submitting the PR in the first place! :-)

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.

Apicurio Devservice can not be configured with apicurio-registry-mem images from outside of DockerHub
5 participants