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

Revert and fix so that latest tag is used in dev chart PRs. #6237

Merged
merged 1 commit into from
May 1, 2023

Conversation

absoludity
Copy link
Contributor

Description of the change

After getting a couple of dev chart auto-created PRs like #6236, which are doing nothing except setting our development images from latest (which they should be in the dev chart) to a fixed version, I realised that in #6221 I'd actually updated the incorrect part of the script.

This PR fixes that, by ensuring that we don't refer to tag in replaceImage_latestToProduction since we don't have the production values of the tag currently (until we update to use the dockerhub API as per #6220) - this was the intended change of the previous PR - and reverts the unintended change that updated replaceImage_productionToLatest so that we again expect latest for our own images in the dev chart.

Benefits

We're no longer bothered by noop PRs such as #6236 .

Possible drawbacks

Applicable issues

  • fixes #

Additional information

@netlify
Copy link

netlify bot commented May 1, 2023

Deploy Preview for kubeapps-dev canceled.

Name Link
🔨 Latest commit ca83370
🔍 Latest deploy log https://app.netlify.com/sites/kubeapps-dev/deploys/644f03a3498246000856bc51

@absoludity absoludity merged commit 174b3d2 into main May 1, 2023
@absoludity absoludity deleted the fix-6221 branch May 1, 2023 04:18
antgamdia added a commit that referenced this pull request Aug 10, 2023
### Description of the change

This PR is to actually fix #6220 by fetching from DockerHub the more
recent (!=latest) published tag. I'm removing the workaround performed
in #6237.

### Benefits

The script will continue to work as initially expected.

### Possible drawbacks

N/A

### Applicable issues

- fixes #6220 

### Additional information

N/A

Signed-off-by: Antonio Gamez Diaz <[email protected]>
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.

2 participants