renovatebot / app-support

Discussion/support issues for the hosted Renovate App
0 stars 0 forks source link

Use custom gitlab token #84

Closed sesigl closed 3 years ago

sesigl commented 4 years ago

Hey there,

first of all, thanks for this great as a service renovate bot!

I am using vercel (ex. zeit.co) cloud where you pay by user. A user is about $20 per month that is very much for my little project to pay. Is it possible to just use my person github account + token to do commits, create merge request and so on?

Would be awesome if I could just set it in my renovate.json, but I didn't find any documentation about it.

Thanks in advance!

rarkins commented 4 years ago

How is a user determined? e.g. git author or git committer?

rarkins commented 4 years ago

Looks like git author? https://vercel.com/docs/git-integrations#deploying-private-git-repositories

If so then we can customize that for you (manually, not through config)

sesigl commented 4 years ago

Yes, indeed

They use the commit author. Can you set it up for me?

I think they are using an email address as the main ID if I am not mistaken.

Would be awesome if you can just set mine :).

akrillo89 at gmail.com

Thanks in advance! I will doubt check if it works.

Would be awesome for the future if it could be configurable somehow :).

On Sun, Sep 13, 2020, 21:16 Rhys Arkins notifications@github.com wrote:

Looks like git author? https://vercel.com/docs/git-integrations#deploying-private-git-repositories

If so then we can customize that for you (manually, not through config)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/renovatebot/app-support/issues/84#issuecomment-691712297, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUJPJF3GBNKTVJAOWUZ5STSFUK7VANCNFSM4RK2EWKQ .

rarkins commented 4 years ago

What's your GitLab username or group?

sesigl commented 4 years ago

https://gitlab.com/Journerist

On Mon, Sep 14, 2020, 08:18 Rhys Arkins notifications@github.com wrote:

What's your GitLab username or group?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/renovatebot/app-support/issues/84#issuecomment-691838742, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUJPJHYRPSV2DUKYZYU7LLSFWYUVANCNFSM4RK2EWKQ .

rarkins commented 4 years ago

I've attempted to tweak it on the backend. The next time you get an MR - or perhaps rename/close an existing one - it should hopefully have your own gitAuthor set

sesigl commented 3 years ago

Hey, unfortunately, it's blocked again. Can we also set the git author email to my mail? I also know they are trying to implement some improvements on their side.

rarkins commented 3 years ago

The gitAuthor value has already been set for your account

sesigl commented 3 years ago

Interesting,

I thought the information should be visible in: https://app.renovatebot.com/dashboard#gitlab/Journerist/explore-the-world-frontend/233930865

there I still see

DEBUG: git clone completed
{
  "durationMs": 54481
}
DEBUG: latest commit
{
  "latestCommitDate": "2020-09-20T20:02:04+00:00"
}
DEBUG: Setting git author name
{
  "gitAuthorName": "Renovate Bot"
}
DEBUG: Setting git author email
{
  "gitAuthorEmail": "bot@renovateapp.com"
}
rarkins commented 3 years ago

Actually you're right, I hadn't configured it correctly. Pushing a fix now, should be active in the next few minutes for any commits that happen after.

sesigl commented 3 years ago

I talked to the renovate folks and they adjusted a few things. Now, it should work out of the box. Can you revert all overrides/changes that are specific to my account?

Thanks in advance!

rarkins commented 3 years ago

Done