Autosubmit

73 views
Skip to first unread message

aasys...@gmail.com

unread,
Nov 7, 2018, 4:56:50 AM11/7/18
to Repo and Gerrit Discussion
HI,

I would like to implement feture which periodically autosubmit open commit with CR=+2, V=+1 and SR=+1 .

Luca Milanesio

unread,
Nov 7, 2018, 5:05:58 AM11/7/18
to aasys...@gmail.com, Luca Milanesio, Repo and Gerrit Discussion

On 7 Nov 2018, at 09:55, aasys...@gmail.com wrote:

HI,

I would like to implement feture which periodically autosubmit open commit with CR=+2, V=+1 and SR=+1 .

Have you looked at the autosubmitter plugin?

It does exactly what you mean :-)

Luca.


--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

aasys...@gmail.com

unread,
Nov 7, 2018, 5:33:51 AM11/7/18
to Repo and Gerrit Discussion
Luca,

Thank you for reply. Yes, I tried but I need documentation how to use this plugin.  I'm using gerrit 2.14.1 with autosubmitter v2.14-18-g7d15ac8bd0 plugin. I add autosubmitter user to gerrit and add him to code review and nothing happens...


Best regards,
Grzegorz

Luca Milanesio

unread,
Nov 7, 2018, 5:39:45 AM11/7/18
to aasys...@gmail.com, Luca Milanesio, Repo and Gerrit Discussion

On 7 Nov 2018, at 10:33, aasys...@gmail.com wrote:

Luca,

Thank you for reply. Yes, I tried but I need documentation how to use this plugin.  I'm using gerrit 2.14.1 with autosubmitter v2.14-18-g7d15ac8bd0 plugin. I add autosubmitter user to gerrit and add him to code review and nothing happens...

Have you read the README.md?

You need to have a "bot account" (e.g. ad...@example.com) that is responsible for merging the changes and is authorised to do so.

Then you add to your gerrit.config  the following two lines:
[automerge]
        botEmail=ad...@example.com

That's it :-)

Luca.



Best regards,
Grzegorz

W dniu środa, 7 listopada 2018 10:56:50 UTC+1 użytkownik aasys...@gmail.com napisał:
HI,

I would like to implement feture which periodically autosubmit open commit with CR=+2, V=+1 and SR=+1 .

aasys...@gmail.com

unread,
Nov 7, 2018, 8:45:52 AM11/7/18
to Repo and Gerrit Discussion
Luca,
Thank you. It's working fine.

Best regards,
Grzegorz


W dniu środa, 7 listopada 2018 10:56:50 UTC+1 użytkownik aasys...@gmail.com napisał:

Michelle Pogado

unread,
Jan 16, 2019, 1:36:14 AM1/16/19
to Repo and Gerrit Discussion
Hi Luca, 


Are there any plans of supporting botAccount as an alternative to botEmail?
Because in our organization, an AD service account (e.g. jenkins, gerrit) are not given an email address.


Thanks,
Michelle


On Wednesday, 7 November 2018 19:39:45 UTC+9, lucamilanesio wrote:

Have you read the README.md?

You need to have a "bot account" (e.g. ad...@example.com) that is responsible for merging the changes and is authorised to do so.

Then you add to your gerrit.config  the following two lines:

luca.mi...@gmail.com

unread,
Jan 16, 2019, 2:42:46 AM1/16/19
to Michelle Pogado, Repo and Gerrit Discussion


Sent from my iPhone

On 16 Jan 2019, at 06:36, Michelle Pogado <michell...@gmail.com> wrote:

Hi Luca, 


Are there any plans of supporting botAccount as an alternative to botEmail?
Because in our organization, an AD service account (e.g. jenkins, gerrit) are not given an email address.

That should be fairly easy.
Luca



Thanks,
Michelle


On Wednesday, 7 November 2018 19:39:45 UTC+9, lucamilanesio wrote:

Have you read the README.md?

You need to have a "bot account" (e.g. ad...@example.com) that is responsible for merging the changes and is authorised to do so.

Then you add to your gerrit.config  the following two lines:
[automerge]
        botEmai...@example.com

That's it :-)

Luca.

Reply all
Reply to author
Forward
0 new messages