Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 1892|Reply: 9

Using OrangePi Zero cluster as gitlab ce runners

[Copy link]

12

Threads

87

Posts

461

Credits

Intermediate member

Rank: 3Rank: 3

Credits
461
Post time 2018-6-13 05:22:21 | Show all posts |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 Polls, Total 8 Users voted
100.00% (8)
0.00% (0)
0.00% (0)
Your User group have no permission to vote

8

Threads

607

Posts

4078

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
4078
Post time 2018-6-13 12:49:37 | Show all posts
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

12

Threads

87

Posts

461

Credits

Intermediate member

Rank: 3Rank: 3

Credits
461
 Author| Post time 2018-6-13 13:16:03 | Show all posts
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

8

Threads

607

Posts

4078

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
4078
Post time 2018-6-13 14:35:55 | Show all posts
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

12

Threads

87

Posts

461

Credits

Intermediate member

Rank: 3Rank: 3

Credits
461
 Author| Post time 2018-6-13 18:43:49 | Show all posts
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

8

Threads

607

Posts

4078

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
4078
Post time 2018-6-13 18:47:04 | Show all posts
I gave a try at building Armbian and have failed for the time being...


Where did it fail?
Reply

Use magic Report

12

Threads

87

Posts

461

Credits

Intermediate member

Rank: 3Rank: 3

Credits
461
 Author| Post time 2018-6-15 05:22:30 | Show all posts
Pretty early in the build process... maybe because I am using Docker.
Reply

Use magic Report

8

Threads

607

Posts

4078

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
4078
Post time 2018-6-15 14:27:29 | Show all posts
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

12

Threads

87

Posts

461

Credits

Intermediate member

Rank: 3Rank: 3

Credits
461
 Author| Post time 2018-6-15 20:05:22 | Show all posts
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

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

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-8-18 08:34 GMT+8 , Processed in 0.032243 second(s), 26 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list