Ubuntu / Debian¶
Install the necessary packages using apt-get.
$ sudo apt update $ sudo apt install git python3 python3-flask python3-pexpect python3-yaml python3-requests
Install the necessary packages using pacman.
$ sudo pacman -Syy $ sudo pacman -S git python3 python-flask python-pexpect python-yaml python-requests
If you prefer working with pip based install instead of the above, then you should install
$ pip install --user pexpect pyyaml flask requests
For Ubuntu and Debian based system you also need the pip package
$ sudo apt install git python3 python3-pip
Likewise for Arch Linux
$ sudo pacman -S git python3 python-pip
First one needs to setup webhooks at GitHub. Important things to configure here is the
Payload URL, which should point to the server running IBART. The listening port is by default
Content type one should select
application/json. The secret on the GitHub webhooks page is a string that you need to export in your shell before starting IBART (see “Running IBART/Exports”). At the section
Which events would you like to trigger this webhook? it is sufficient to select
Obviously one need to clone IBART also, it doesn’t matter where it is placed.
$ git clone https://github.com/jbech-linaro/ibart.git