Page MenuHomePhabricator

Setup CI for operations/software/gerrit
Open, NormalPublic

Description

Hi, we should setup CI for operations/software/gerrit/gerrit per @demon idea :)

We will need to install bazel which we could do in docker either by doing:

or

When building we should do cd <gerrit_dir> | bazel build release and then bazel build plugins/<plugin>

Event Timeline

Paladox created this task.Mar 13 2018, 12:52 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 13 2018, 12:52 AM

@hashar hi, wondering if you could help us setup this image please for bazel?

This uses alot of ram 2+ gb so will need to be on a docker instance that has alot of ram available.

This requires nodejs and python so would need to extend the nodejs and python image :)

Or may @Legoktm knows? :)

The docker slaves we use for phan probably have enough memory for this. Probably a custom docker image makes sense...I guess the main question is how to install bazel.

We would need ops to import that to apt.wikimedia.org then.

demon moved this task from Bugs & stuff to Local hacks on the Gerrit board.Jun 9 2018, 2:28 AM
hashar renamed this task from Setup CI for operations/software/gerrit/gerrit to Setup CI for operations/software/gerrit.Jan 16 2019, 7:40 AM

Bazel provides Debian packages for Java 1.8. Guide: https://docs.bazel.build/versions/master/install-ubuntu.html#install-on-ubuntu

deploy/wmf/* branch has some python script that could use lint/tests

Paladox triaged this task as Normal priority.Mar 1 2019, 3:16 PM
Paladox claimed this task.