News for hackers. Stuff that matters.

Ask HN: Light weight opensource Jenkins alternatives

Is there a light weight opengsource and self-hosted jenkins alternatives?

I need:

1. a web UI

2. authentication

3. can periodically run nothing but shell scripts

4. with (live/historical) terminal logs for each run.

5. maybe packaging or download links for each build ( not important).

I googled, most solutions are cloud based and are not free.

( 16 comments | 13 points | on HN )
Re:Ask HN: Light weight opensource Jenkins alternatives by johnnycarcin on Friday February 09, 2018 @04:21PM (#16343923)
Have you looked at Drone (https://github.com/drone/drone)? They push their hosted service pretty hard but you can also self-host it (I currently am). I think it covers most of your needs except for #3. I haven't seen that done but that doesn't mean it isn't possible...
Re:Ask HN: Light weight opensource Jenkins alternatives by debacle on Wednesday February 07, 2018 @02:57PM (#16327494)
Try minicron. Also, more alternatives/info here:

https://news.ycombinator.com/item?id=14065884

Re:Ask HN: Light weight opensource Jenkins alternatives by billconan on Wednesday February 07, 2018 @07:12PM (#16329123)
Thank you, but installing minicron requires the following dependencies:

Database SQLite MySQL PostgreSQL

Web Server / Reverse Proxy Nginx A simple example config for nginx is provided.

Apache If you're using apache as your reverse proxy you need to ensure you have the following modules installed:

libapache2-mod-proxy-html apache2-utils

Run the following to enable them and then restart apache a2enmod proxy proxy_html proxy_http xml2enc

Re:Ask HN: Light weight opensource Jenkins alternatives by tedmiston on Wednesday February 07, 2018 @08:58PM (#16329593)
Is it a problem that a web app has a database and web server dependency? It's got to put the data somewhere and run the app...
Re:Ask HN: Light weight opensource Jenkins alternatives by billconan on Thursday February 08, 2018 @02:51AM (#16330826)
database can be embedded, for example sqlite. web server can be self contained too. no need for apache.
Re:Ask HN: Light weight opensource Jenkins alternatives by quickthrower2 on Friday February 09, 2018 @01:12AM (#16338271)
In this case they have you covered: Can use SQLite and not bother with a reverse proxy (see above)
Re:Ask HN: Light weight opensource Jenkins alternatives by debacle on Thursday February 08, 2018 @01:28PM (#16334327)
Only one of those databases is required, and you only need to install Apache if you're using it as a reverse proxy.
Re:Ask HN: Light weight opensource Jenkins alternatives by quintes on Wednesday February 07, 2018 @02:25PM (#16327242)
I said team city.

Then realized you said Oss

Take a look anyway

Re:Ask HN: Light weight opensource Jenkins alternatives by eberkund on Wednesday February 07, 2018 @12:35PM (#16326286)
GitLab has a CI offering in their community edition, although I haven't used it personally.
Re:Ask HN: Light weight opensource Jenkins alternatives by stephenr on Wednesday February 07, 2018 @01:20PM (#16326704)
GitLab isn't really "light weight".
Re:Ask HN: Light weight opensource Jenkins alternatives by connorshea on Wednesday February 07, 2018 @04:29PM (#16328182)
We actively try to make improvements so GitLab uses fewer resources, but with the scope of the application it's definitely not easy to make it super "lightweight".

You can see the hardware requirements here: https://docs.gitlab.com/ce/install/requirements.html#hardwar...

Re:Ask HN: Light weight opensource Jenkins alternatives by stephenr on Friday February 09, 2018 @12:57AM (#16338213)
I mean, I don't use GitLab but I didn't really mean it disparagingly - for the OP's purpose, GitLab is massive overkill, and will need a lot more resources than a more targeted solution will.
Re:Ask HN: Light weight opensource Jenkins alternatives by TobbenTM on Thursday February 08, 2018 @11:04AM (#16333034)
Many interpretations of light weight though, I would say GitLab is light weight in the sense that it's really easy to get going and define jobs. If you wanna interpret it as a light weight install procedure, then I guess no. Depends on your infrastructure already in place.
Re:Ask HN: Light weight opensource Jenkins alternatives by stephenr on Friday February 09, 2018 @12:58AM (#16338217)
In terms of software, particularly installed software like this (rather than say a library you rely on in your own code) "light weight" almost always refers to the resources required to run it - prominently memory and CPU power.
Re:Ask HN: Light weight opensource Jenkins alternatives by thecrumb on Wednesday February 07, 2018 @01:13PM (#16326639)
+1 for Gitlab.
Re:Ask HN: Light weight opensource Jenkins alternatives by bryan11 on Thursday February 08, 2018 @09:57PM (#16337560)
Another +1 for Gitlab