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

THREESCALE-10937 update upstream db images #961

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

MStokluska
Copy link
Contributor

Jira: https://issues.redhat.com/browse/THREESCALE-10937

Move the centos images to sclorg images since centos7 is no longer maintained.

Verification:
For MySQL and Redis e2e passing is enough
For PostgreSQL, pull the image locally to confirm it's available.

@MStokluska MStokluska requested a review from a team as a code owner April 2, 2024 09:31
const (
redisDefaultImage = "quay.io/sclorg/redis-6-c8s"
mySqlDefaultImage = "quay.io/sclorg/mysql-80-c8s"
postgreSqlDefaultImage = "quay.io/sclorg/postgresql-10-c8s"
Copy link
Contributor

Choose a reason for hiding this comment

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

As the images are only used once I don't see the need to have them defined as consts. Just use the image strings

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I moved these to consts because it makes it easier to update (read the file when updating the images) and you don't have to be going through the file to find and update images.

Copy link
Contributor

Choose a reason for hiding this comment

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

Prefer reading it the other way as I don't have to jump around a file to find out which image is used, but thats me. Personal preference. I will leave it up to you

/lgtm

@MStokluska MStokluska merged commit 14ec7f8 into 3scale:master Apr 2, 2024
13 checks passed
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.

None yet

2 participants