Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Clf support upm ssh keys #211

Merged
merged 2 commits into from
Feb 3, 2021

Conversation

CrisFeo
Copy link
Contributor

@CrisFeo CrisFeo commented Feb 3, 2021

Unity doesn't respect the custom HOME envvar when invoking git to pull in private UPM packages. Instead it appears to use the invoking user's (that is, root) home directory , /root.

Changes

  • Remove HOME envvar from container invocation
  • Mount custom home folder into /root in the container

Checklist

  • Read the contribution guide and accept the code of conduct
  • Readme (updated or not needed)
  • Tests (added, updated or not needed)

@github-actions
Copy link

github-actions bot commented Feb 3, 2021

Cat Gif

@webbertakken webbertakken merged commit 555660c into game-ci:main Feb 3, 2021
webbertakken added a commit to game-ci/documentation that referenced this pull request May 21, 2021
Example and explanation about how to authenticate with a private UPM registry by creating an .upmconfig.toml file in the home folder.
This feature was added here: game-ci/unity-builder#211 - but as far as I can tell it was not documented.

Co-authored-by: Webber Takken <webber@takken.io>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants