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

fix: disable docker:pinDigests for ArgoCD #30556

Merged
merged 1 commit into from
Aug 3, 2024

Conversation

morremeyer
Copy link
Contributor

@morremeyer morremeyer commented Aug 2, 2024

Changes

This disables Docker digest pinning for the ArgoCD manager in the docker:pinDigests preset.

Context

The argocd manager uses the Docker datasource only for helm chart target versions.

However, helm does not yet support digest pinning, see

Trying to pin them anyway leads to WARN: Error updating branch: update failure warnings from renovate.

The same applies to the helmv3 manager, when it tries to pin the chart version of an OCI chart in a Chart.yaml file.

Because pinning is not supported, pinning digests for helm charts should be disabled in these managers.

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

I updated the Anaconda base configuration in anaconda/renovate-config#101 to have the same configuration as this PR, which was successful for our repositories and resolved all WARN: Error updating branch: update failure errors.

@morremeyer morremeyer marked this pull request as ready for review August 2, 2024 10:34
@morremeyer morremeyer marked this pull request as draft August 2, 2024 15:10
@morremeyer
Copy link
Contributor Author

Drafting this again since I may have found additional managers impacted by this.

@morremeyer morremeyer force-pushed the fix/docker-pin-digest-argocd branch from 2329fc4 to bdf9c33 Compare August 3, 2024 07:41
@morremeyer
Copy link
Contributor Author

Updated the PR to also not pin digests for the helmv3 manager, since this is also not supported by helm.

@morremeyer morremeyer marked this pull request as ready for review August 3, 2024 07:44
@rarkins rarkins added this pull request to the merge queue Aug 3, 2024
Merged via the queue into renovatebot:main with commit 478278f Aug 3, 2024
55 checks passed
@morremeyer morremeyer deleted the fix/docker-pin-digest-argocd branch August 3, 2024 08:31
@renovate-release
Copy link
Collaborator

🎉 This issue has been resolved in version 38.18.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants