frequenz-floss / frequenz-repo-config-python

Frequenz repository setup tools and common configuration for Python
https://frequenz-floss.github.io/frequenz-repo-config-python/
MIT License
3 stars 7 forks source link

The `test-installation` job fails when `pip` dependencies need git credentials #278

Closed llucax closed 2 days ago

llucax commented 1 week ago

What happened?

The "Test package installation in different architectures" job from the ci workflow fails when Git auth is needed.

What did you expect instead?

The job to succeed.

Affected version(s)

v0.9.2

Affected part(s)

Build script, CI, dependencies, etc. (part:tooling), Tools to configure the CI (part:ci)

Extra information

Usually this auth is setup by https://github.com/frequenz-floss/gh-action-setup-git, we probably need to expose that auth info to the container used by this job.

Here is a working fix:

It should be enough as a short-term solution, long term I think we just use a container to test this, instead of using the build image process as the test.