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

A better way to use compiled image in the tests #2087

Merged
merged 2 commits into from
Apr 22, 2024

Conversation

cniackz
Copy link
Contributor

@cniackz cniackz commented Apr 19, 2024

Story:

The current upgrade test is failing because it cannot patch the current deployments as they are, due to some new restrictions we have imposed. The issue lies in the time-consuming process of maintaining several overlays across different folders just to change an image. Fortunately, there is a much better way to handle this, as illustrated by the following example:

kubectl -n minio-operator set image deployment/minio-operator minio-operator=quay.io/minio/operator:v5.0.14
Screenshot 2024-04-19 at 7 41 01 PM

@cniackz cniackz force-pushed the better-way-to-change-deployment-image branch from 87101a1 to 2dc895e Compare April 19, 2024 23:06
@cniackz cniackz self-assigned this Apr 19, 2024
@cniackz cniackz force-pushed the better-way-to-change-deployment-image branch from 2dc895e to 1718ab0 Compare April 19, 2024 23:22
@cniackz cniackz force-pushed the better-way-to-change-deployment-image branch from 1718ab0 to b9ee338 Compare April 19, 2024 23:28
pjuarezd
pjuarezd previously approved these changes Apr 19, 2024
@cniackz cniackz added bug fix enhancement New feature or request and removed bug fix labels Apr 19, 2024
@cniackz cniackz changed the title A better way to use compiled image in test A better way to use compiled image in the tests Apr 19, 2024
@cniackz
Copy link
Contributor Author

cniackz commented Apr 19, 2024

What is the limit of reviewers?...

shtripat
shtripat previously approved these changes Apr 20, 2024
allanrogerr
allanrogerr previously approved these changes Apr 20, 2024
jiuker
jiuker previously approved these changes Apr 22, 2024
@ramondeklein
Copy link
Contributor

What is the limit of reviewers?...

You can select up to 15 reviewers, but keep in mind that it also takes a lot of time of the reviewers.

ramondeklein
ramondeklein previously approved these changes Apr 22, 2024
testing/common.sh Outdated Show resolved Hide resolved
Signed-off-by: pjuarezd <pjuarezd@users.noreply.github.com>
@pjuarezd pjuarezd dismissed stale reviews from jiuker, allanrogerr, shtripat, and themself via ef158d1 April 22, 2024 17:09
Copy link
Contributor

@ramondeklein ramondeklein left a comment

Choose a reason for hiding this comment

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

LGTM

@pjuarezd pjuarezd merged commit cc44b65 into minio:master Apr 22, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants