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

Attempt, and document, and possibly fix setting up Deploy against gitlab.com #2084

Closed
squaremo opened this issue Jun 7, 2018 · 0 comments
Closed
Labels
chore refinement/improvement of end user functionality; making things work better component/onboarding stale Bulk closing old, stale issues

Comments

@squaremo
Copy link
Contributor

squaremo commented Jun 7, 2018

We've a report through weave-community#flux that using a repo at gitlab.com breaks the Deploy config.

screen shot 2018-06-06 at 15 42 36

Possible difficulties:

  • it's not obvious where to install the deploy key (though gitlab does have SSH keys in the same way github does, see screenshot)

screen shot 2018-06-06 at 10 49 02

On the other hand, it's reporting that it can clone the repo, it just can't write to it.

  • possible problem with checking write permissions for an empty repo (the OP said "I should maybe add that the repo is empty, or only a readme.")

  • known_hosts per Need ability to add to known_hosts fluxcd/flux#724, though we add it to the flux image

  • a bug which means that it works in the daemon, but reports that it hasn't worked via the API

There's evidence that it can in fact write to the repo:

david [2 hours ago]
git clone [email protected]:davidkarlsen/weave-cloud.git
Cloning into 'weave-cloud'...
remote: Counting objects: 6, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 6 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (6/6), done.
/tmp # cd we*
/tmp/weave-cloud # git tag test
/tmp/weave-cloud # git push --tags
Total 0 (delta 0), reused 0 (delta 0)
To gitlab.com:davidkarlsen/weave-cloud.git
 * [new tag]         test -> test
/tmp/weave-cloud #
@squaremo squaremo added chore refinement/improvement of end user functionality; making things work better component/onboarding labels Jun 7, 2018
@ozamosi ozamosi added the stale Bulk closing old, stale issues label Nov 4, 2021
@ozamosi ozamosi closed this as completed Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore refinement/improvement of end user functionality; making things work better component/onboarding stale Bulk closing old, stale issues
Projects
None yet
Development

No branches or pull requests

2 participants