linux · power · ppc64le · gitlab

ppc64le: building GitLab Runner

To build GitLab Runner for ppc64le you can run the following steps in a x86_64 machine with Ubuntu 20.04:

1. apt-get update; apt-get upgrade -y

2. apt-get install -y mercurial git-core wget make build-essential binfmt-support qemu-user-static ruby-full libgemplugin-ruby rpm

3. git clone https://github.com/rpsene/goconfig.git
   source ./go.sh install

4. cd go-workspace/src/

5. git clone https://gitlab.com/rpsene/gitlab-runner.git
   git checkout -t rpsene-ppc64le

6. git clone https://github.com/Unicamp-OpenPower/docker.git
   ./install_docker.sh
    vi /etc/docker/daemon.json and add
    {
    "experimental": true
    }
    service docker restart

7. make deps

8. make all

9. make package

10. ls ./out/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s