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

git-init don't assume the image is running as root #747

Merged
merged 1 commit into from
Apr 11, 2019

Conversation

chmouel
Copy link
Member

@chmouel chmouel commented Apr 10, 2019

We check what is our real home for our compared to what we have with $HOME and
symlink it so GIT+SSH works.

We use the go-homedir lib because user.Current doesn't work when cross
compiling (i.e: from osx with ko)

Fixes #724

Signed-off-by: Chmouel Boudjnah chmouel@redhat.com

We check what is our real home for our compared to what we have with $HOME and
symlink it so GIT+SSH works.

We use the go-homedir lib because user.Current doesn't work when cross
compiling (i.e: from osx with ko)

Fixes tektoncd#724
@googlebot googlebot added the cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit label Apr 10, 2019
@tekton-robot tekton-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Apr 10, 2019
@vdemeester
Copy link
Member

/ok-to-test

@tekton-robot tekton-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Apr 10, 2019
@vdemeester
Copy link
Member

cc @dicarlo2

@dicarlo2
Copy link
Contributor

Cool, lgtm, thanks for the fix!

Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 11, 2019
@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chmouel, vdemeester

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 11, 2019
@tekton-robot tekton-robot merged commit 41dfd05 into tektoncd:master Apr 11, 2019
@chmouel chmouel deleted the git-init-not-assume-root branch December 19, 2019 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants