Renovate: Artifact update problem with Elixir/Mix Repos

Created on 9 May 2020  路  5Comments  路  Source: renovatebot/renovate

What Renovate type are you using?

I'm using the public Renovate bug. Not self-hosted.

Describe the bug

In updating an Elixir dependency, the PRs always report failure with the message

File name: mix.lock

Command failed: docker run --rm -v /mnt/renovate/gh/philihp/renobug:/mnt/renovate/gh/philihp/renobug -w /mnt/renovate/gh/philihp/renobug renovate/mix mix deps.update math
Unable to find image 'renovate/mix:latest' locally
docker: Error response from daemon: pull access denied for renovate/mix, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

To Reproduce

I created an empty project, configured renovate, and added some dependencies:

https://github.com/philihp/renobug

Additional context

I believe the problem lies on this line https://github.com/renovatebot/renovate/blob/53ca913/lib/manager/mix/artifacts.ts#L57, which is trying to find the image renovate/mix, while in DockerHub there is only an image renovate/elixir, but it doesn't have any downloads.

priority-2-important bug

Most helpful comment

:tada: This issue has been resolved in version 19.235.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

All 5 comments

In digging more, #4496 seems that the build was originally committed to use the renovate/mix image. @KonstantinKurganov or @Zharinov, do you recall if that's intentional? Perhaps that image existed at the time and was removed?

It looks like we could have had a typo/mismatch from the start. @viceice do you think https://github.com/renovatebot/docker-elixir is still the best location to build it, or do you suggest any changes from buildpack?

I'll check the buildpack and the elixir repo. mix is included in elixir buildpack install tool.

:tada: This issue has been resolved in version 19.235.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

Looks fixed! Thanks :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Arcanemagus picture Arcanemagus  路  4Comments

ptbrowne picture ptbrowne  路  3Comments

ChristianMurphy picture ChristianMurphy  路  4Comments

jgarec picture jgarec  路  3Comments

OmgImAlexis picture OmgImAlexis  路  4Comments