[Jenkins-infra] Playing around with some Community Automation

Olblak me at olblak.com
Thu Nov 16 12:42:24 UTC 2017


Yeeaah, less steps 

On Thu, Nov 16, 2017, at 05:34 AM, R. Tyler Croy wrote:
> Slide and I have talked about driving some community automation[0] with
> Azure
> Functions, and this evening I finally bit the bullet and decided I wanted
> to
> write some.
> 
> I have created a community-functions[1] repository with two Azure
> Functions as
> of this evening:
> 
> * infra-auto-pr: Automatically creates a pull request in the
>   jenkins-infra/jenkins-infra repository when the `staging` branch is
>   pushed.
>   Saves the weary Jenkins infra admin an extra step :)
> 
>   Example: https://github.com/jenkins-infra/jenkins-infra/pull/902
> 
> * comment-logger: Automatically adds the last 50 lines from a Jenkins
> Pipeline
>   run as a comment on a pull request. Hopefully t his too saves the weary
>   Jenkins infra admin an extra step :)
> 
>   Example:
>   https://github.com/jenkins-infra/jenkins-infra/pull/903#issuecomment-344810921
> 
>   I think might be really useful to enable in the jenkinsci organization
>   too,
>   but I'll wait for some more feedback before broaching that subject on
>   the dev
>   list.
> 
> 
> 
> What I have also talked to Slide about doing, but don't have the brain
> cycles
> this evening to accomplish, would be triggering an Azure Function off a
> Docker
> Hub webhook and automatically create a Pull Request to
> jenkins-infra/jenkins-infra with a hiera.yml change (saving the weary
> Jenkins
> infra admin an extra step).
> 
> 
> 
> Let me know what ya think! :D
> 
> 
> [0] https://www.youtube.com/watch?v=dIageYT0Vgg
> [1] https://github.com/jenkins-infra/community-functions
> 
> - R. Tyler Croy
> 
> ------------------------------------------------------
>      Code: <https://github.com/rtyler>
>   Chatter: <https://twitter.com/agentdero>
>      xmpp: rtyler at jabber.org
> 
>   % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
> ------------------------------------------------------
> _______________________________________________
> Jenkins-infra mailing list
> Jenkins-infra at lists.jenkins-ci.org
> http://lists.jenkins-ci.org/mailman/listinfo/jenkins-infra
> Email had 1 attachment:
> + signature.asc
>   1k (application/pgp-signature)


More information about the Jenkins-infra mailing list