GithubHelp home page GithubHelp logo

raku / rakudocibot Goto Github PK

View Code? Open in Web Editor NEW
5.0 12.0 2.0 270 KB

🤖 🦋 I am the friendly Rakudo CI bot. Bzzt! ⚡ Beep beep boop.

Home Page: https://cibot.rakudo.org/

License: Other

Raku 97.29% Dockerfile 0.81% HTML 0.95% CSS 0.95%

rakudocibot's Introduction

=begin pod

=NAME    RakudoCIBot
=AUTHOR  Patrick Böker <[email protected]>
=VERSION 0

=head1 Description

A system to orchestrate the CI process of the Rakudo compiler and its related
projects.

There is no entry point yet. It's just a bunch of files and tests.
Also there is a dependency on the unreleased new version of WebService::GitHub.
To run the tests do:

    zef install OpenAPI::Model JSON::Fast Template::Mustache Cro::WebApp PathTools
    git clone https://github.com/patrickbkr/perl6-WebService-GitHub.git
    cd perl6-WebService-GitHub/dev-scripts
    ./generate-code
    # files will end up in perl6-WebService-GitHub/gen

    zef install App::Prove6
    cd /path/to/RakudoCIBot
    zef install --deps-only .
    prove6 -I. -I/path/to/perl6-WebService-GitHub/gen


=head1 License

This module is distributed under the terms of the Artistic License 2.0.

=end pod

rakudocibot's People

Contributors

patrickbkr avatar

Stargazers

Sean P. Myrick V19.1.7.2 avatar  avatar  avatar ohmycloud avatar Coleman McFarland avatar

Watchers

Juan Julián Merelo Guervós avatar Carl Mäsak avatar  avatar Will Coleda avatar Trey Harris avatar Larry Wall avatar James Cloos avatar Vadim Belman avatar Elizabeth Mattijsen avatar  avatar  avatar Sean P. Myrick V19.1.7.2 avatar

rakudocibot's Issues

When and how should RCB go live?

RCB is at a point where it starts to make sense to activate it for the production repos (rakudo, nqp, MoarVM). I currently have it running on a server provided by me and working against a set of test repos instead of the production ones.

It has a working OpenBuildService backend, so it can test on everything OBS supports. The GitHub integration is working, flapper detection is there and it's possible to instruct RCB via a PR comment to automatically merge a PR for you should all CI tests be successful.* The only major bit missing is integration of Azure. But we can just leave the current Azure integration in for the time being.

It's probable though that RCB isn't entirely stable yet.

So are people willing to accept some potential flakyness in CI tests but gain wider platform coverage in return?

It is possible to make RCB respond only to one of the three repos, if that makes sense.

I'd like to come to an answer quickly. So I want to avoid going through problem-solving with this and instead just ping a few people and see if some consensus emerges. Please speak up if you object to this approach. Also please ping other people that you feel should also be asked.

Ping @lizmat @ugexe @Altai-man @vrurg @moritz @niner @jdv

  • This is only half true, as RCB only takes tests into account it manages itself, so should Azure fail, but the RCB managed runs succeed, RCB won't know and would proceed to merge the PR.

Hosting

Open discussion on how to best host the RCB.

Requirements:

  • Can be run in a container, but needn't be.
  • Requires a persistent Postgres DB.
  • Requires a Rakudo and a set of modules among them the Cro stack, Red, LibXML and WebService::GitHub. LibXML requires the libxml dev libs to be installed.
  • A TLS reverse proxy is probably a wise choice. (Could be an Nginx or or something else.)
  • Currently stores sources and build logs indefinitely. Ticks in at about 32MB per test run. Sooner or later we'll need to implement some form of cleanup. 100GB of disk space will give us ~3000 test runs.
  • Needs to be accessible via a stable domain name to be able to use GitHub hooks.
  • A nice URL to make the web interface available could be https://cibot.rakudo.org/. Bikeshedding allowed.
  • Some kind of orchestrator that auto-restarts the service should it die is wise to have. The minimal solution could be a systemd service file, kubernetes is most certainly overkill. Some raku and rakudo infra currently already is deployed on portainer, so maybe just stick with that.

Ping @rba

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.