[Jenkins-infra] Playing around with some Community Automation

R. Tyler Croy tyler at monkeypox.org
Thu Nov 16 04:34:47 UTC 2017


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
------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.jenkins-ci.org/pipermail/jenkins-infra/attachments/20171115/2eab1bac/attachment.asc>


More information about the Jenkins-infra mailing list