summaryrefslogtreecommitdiffstats
path: root/opal-ci/README
blob: 30bd45f9b47662654e0f98ad5046ffd1825cd78c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
OPAL-CI
-------

Magic scripts for doing CI regression testing.

Dockerfiles/build scripts for doing builds in Docker (focused on CI only,
used by Travis-ci - see .travis.yml)


building op-build for skiboot CI
--------------------------------
Currently the makefile targets building op-build firmware (targeted at Mambo
simulator) for all current op-build releases.

Since skiboot maintains compatibility, these binaries should *ALWAYS* boot
and work.

The provided makefile to recreate the various zImage.epapr images should be
a good starting point.

I run it like this:
cd opal-ci
export BUILDROOT_GIT=~/op-build/.git/modules/buildroot/
export OP_BUILD_GIT=~/op-build/
export DL_CACHE=~/op-build/dl
export SCRATCH=/scratch/stewart/op-build/
make -j2 images

DL_CACHE points to an existing op-build tree, so we don't have to download
all the source tarballs again

SCRATCH is where all compilation will happen, must have >20GB free space

BUILDROOT_GIT and OP_BUILD_GIT exist to prevent you having to clone from
github.

OpenPOWER on IntegriCloud