View: 23250|Reply: 13

Using OrangePi Zero cluster as gitlab ce runners

[Copy link]

13

threads

93

posts

709

credits

Senior member

Rank: 4

credits
709
Published in 2018-6-13 05:22:21 | Show all floors |Read mode
Hi,

I am already using two OrangePi Zero to build Docker images and do various OSS work (in link with the openSTF project).
I am trying to convince HypriotOS team to make a port of their OS to the Zero (which works pretty well under Armbian).
I am also using gitlab-ce for my continuous integration, and would like to make an optimized armv7l version port.
The main problem is the SDCard, which will die one of these days because of the heavy IO... So I will get the extension card to plug a disk in it... or use an USB powered hub to use an USB disk.

I am already publishing on DockerHub my images built with or for my OrangePis. If I manage to make an optimized version of the gitlab-ce runner for Arm, I will of course open source it.
A few Zero cards, an extension card for HDDs, or another board with the same proc and 1GB would be helpful... Even an SDCARD or stickers would be appreciated .

Thanks.

Single choicepoll, A total of people voted
100.00% (8)
0.00% (0)
0.00% (0)
Your usergroup does not have voting rights

9

threads

634

posts

4427

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4427
Published in 2018-6-13 12:49:37 | Show all floors
I am trying to convince HypriotOS team to make a port of their OS to the Zero (which works pretty well under Armbian).


Why? Everything Docker-related works on Armbian out of the box, everything else is superior. If you are concerned about SD card, use overlay root which comes with Armbian (Xenial) by default ... but than you will need more memory. Get something with at least 1Gb of memory.
Reply

Use magic report

13

threads

93

posts

709

credits

Senior member

Rank: 4

credits
709
 Author| Published in 2018-6-13 13:16:03 | Show all floors
Because Docker and docker-compose come pre-installed. If my project with openSTF works, I will have lots of SD card to prepare, and having less command to enter before having the system up and running is pretty handy.
I also have an OrangePi One Plus with 1Gb of memory, but the H6 is not supported yet (but I have seen that there is some progress on it).
Thanks a lot for your work.
Reply

Use magic report

9

threads

634

posts

4427

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4427
Published in 2018-6-13 14:35:55 | Show all floors
Because Docker and docker-compose come pre-installed.


Dropping higher quality and level of support for banality?

I will have lots of SD card to prepare


Then this feature is perfect for your use case. Prepare your own images ... and install docker bins on the way:
https://docs.armbian.com/Developer-Guide_User-Configurations/

Opi One Plus with 1Gb looks better. H6 support in mainline is still months away while I won't even try to use stock kernel for this use case.

There is one more thing to pay attention. Larger boards are usually equipped not just with more memory but with a better/proper PMU which in practice means better performances, power efficiency and thermal dispersion. Here also a size of the board helps to cool them down faster.
Reply

Use magic report

13

threads

93

posts

709

credits

Senior member

Rank: 4

credits
709
 Author| Published in 2018-6-13 18:43:49 | Show all floors
Thanks a lot Igor. I am also waiting for my XU4 to arrive, and I think I will take a NanoPi Fire 3 too...
I gave a try at building Armbian and have failed for the time being...
Reply

Use magic report

9

threads

634

posts

4427

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4427
Published in 2018-6-13 18:47:04 | Show all floors
I gave a try at building Armbian and have failed for the time being...


Where did it fail?
Reply

Use magic report

13

threads

93

posts

709

credits

Senior member

Rank: 4

credits
709
 Author| Published in 2018-6-15 05:22:30 | Show all floors
Pretty early in the build process... maybe because I am using Docker.
Reply

Use magic report

9

threads

634

posts

4427

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4427
Published in 2018-6-15 14:27:29 | Show all floors
gounthar replied at 2018-6-14 22:22
Pretty early in the build process... maybe because I am using Docker.

I see. You didn't follow instructions. This is the wrong call for Docker:
./compile.sh BOARD=orangepizero BRANCH=next KERNEL_ONLY=no RELEASE=stretch

Read them, try again and if then it doesn't work ... we will check and fix. I compile natively for my daily needs ... I tried to build with Docker a few weeks ago. No issues.

Reply

Use magic report

13

threads

93

posts

709

credits

Senior member

Rank: 4

credits
709
 Author| Published in 2018-6-15 20:05:22 | Show all floors
I see. I also used the interface (launched a bash in Docker, and used the interface to choose the image to build), and got the same results... And it worked for the ODROID card (which should be in my mailbox today).
I will do it again.
Thanks.
Reply

Use magic report

Published in 2018-8-28 06:54:54 | Show all floors
http://www.orangepi.org/orangepi ... mp;highlight=docker
Docker run, but work only ARM support docker container
Reply

Use magic report

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list