aboutsummaryrefslogtreecommitdiff
path: root/opal-ci
AgeCommit message (Collapse)AuthorFilesLines
2018-10-31opal-ci: qemu: Use the powernv-3.0 branchv6.0.10Joel Stanley1-1/+1
[ Upstream commit 5235791bbc66f1d14919f588ae24fbbbda2a0a2e ] This is based off the current development version of Qemu, and importantly it contains the patch that allows skiboot and Linux to clear the PCR that we require to boot. Signed-off-by: Joel Stanley <joel@jms.id.au> [stewart: use the open-power/qemu.git tree for prosterity] Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-09travis: Require Ubuntu 18.04 to pass, fix on ppc64leStewart Smith2-6/+10
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-09opal-ci: Remove unwanted .orig fileJoel Stanley1-10/+0
This snuck in recently. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-09opal-ci: 18.04: Go back to updating before installing packagesJoel Stanley1-3/+2
Docker tries to cache stuff and it bites us. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-09opal-ci: Build qemu from Cedric's powernv-2.12 branchJoel Stanley1-1/+1
This contains the latest features. It's close to upstream, but there's enough stuff in there that it probably makes sense to continue using it for now. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-06opal-ci: Additionally build with clang on Ubuntu 18.04Joel Stanley1-0/+5
Now that skiboot supports building with clang we can use a modern distro to cross compile using that compiler. Ubuntu 18.04 ships with clang 6, so start with that. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-06travis: fix if x86_64 tests in dockerfiles.Stewart Smith9-15/+25
In today's lesson, Stewart learns shell. Fixes: e101e85c9ff65e82f7ede4d5541d921b4a3ed923 Reported-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-06opal-ci: Add Ubuntu 18.04Joel Stanley2-0/+39
Start doing builds on latest LTS. We can simplify the build script a little, as we know that this version of Ubuntu ships with an ARM cross compiler and a Qemu that can run the tests. This provides us with: gcc 7.3.0 (for native and cross-builds) qemu 2.11 clang 6 Simplify the docker script a little by merging the two different install lines, and getting rid of the duplicate 'apt-get update' steps. We now install clang in preparation for future shenanigans, and use the system qemu instead of building one ourselves. Signed-off-by: Joel Stanley <joel@jms.id.au> [stewart: allow 18.04 to fail as we stabilise it in travis] Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-04travis: remove obsolete fedora 24,25,26Stewart Smith6-23/+2
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-01opal-ci/dockerfiles: DEBIAN_FRONTEND=noninteractiveStewart Smith5-0/+5
Suggested-by: Daniel Black <danielgb@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-04-19travis: Enable ppc64le buildsStewart Smith11-60/+47
At least on the IBM Travis Enterprise instance, we can now do ppc64le builds! We can only build a subset of our matrix due to availability of ppc64le distros. The Dockerfiles need some tweaking to only attempt to install (x86_64 only) Mambo binaries, as well as the build scripts. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-04-19travis-ci: pull Mambo over http rather than ftpStewart Smith4-4/+4
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-04-05travis: add -L to all curl invocations to follow redirectsStewart Smith8-13/+18
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2017-12-20Mambo: run hello_world and sreset_world tests with Secure and Trusted BootStewart Smith2-2/+2
We *disable* the secure boot part, but we keep the verified boot part as we don't currently have container verification code for Mambo. We can run a small part of the code currently though. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-12-04Use systemsim-p9 v1.1Stewart Smith8-11/+11
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-11-22travis: Add Fedora 27Stewart Smith1-0/+7
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-08-24travis: set -vx on all build scriptsStewart Smith6-1/+6
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-08-24travis: Debian Stretch must passStewart Smith1-2/+0
this means we don't run systemsim-p8 on debian stretch as: "libcrypto.so.1.0.0: cannot open shared object file: No such file or directory" Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-07-20travis: Add debian stretch and unstableStewart Smith2-0/+30
At the moment, we mark them both as being able to fail, as we're hitting an assert in one of the unit tests on debian stretch, and that hasn't yet been chased down. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-07-12opal-ci/fetch-debian-jessie-installer: follow redirectsStewart Smith1-2/+2
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-07-12travis: add fedora26Stewart Smith1-0/+7
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-04-07libstb/create-container: Add full container build and sign with imprint keysDave Heller8-8/+8
This adds support for writing all the public key and signature fields to the container header, and for dumping the prefix and software headers so they may may be signed, and for signing those headers with the imprint keys. Signed-off-by: Dave Heller <hellerda@linux.vnet.ibm.com> [stewart@linux.vnet.ibm.com: fixup warnings&build, include openssl-devel in CI dockerfiles] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-02-16hdata_to_dt: Only output dtbStewart Smith8-8/+11
convert test cases to diff DTS rather than DTB. This means we also have to build dtc on CentOS 7 to be able to run the test suite. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> [oohall@gmail.com moved the test cases into seperate patches] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-12-23update opal-ci/READMEStewart Smith1-1/+8
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-12-22travis: install expect on ubuntu 12.04, disable qemu on 16.04/latestStewart Smith4-4/+4
due to an oddity with our qemu (that I haven't yet debugged), the hello world test fails in qemu on recent ubuntu. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-12-22travis: build and test more on centos7Stewart Smith2-2/+27
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-12-22travis: install systemsim-p8 on centos7Stewart Smith1-0/+2
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-12-22travis: install systemsim-p8 on centos6Stewart Smith1-0/+2
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-12-22travis: install systemsim-p9Stewart Smith7-0/+14
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-12-22travis: enable fedora25Stewart Smith1-0/+6
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-12-22travis: use curl rather than wgetStewart Smith8-13/+13
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-11-24travis/opal-ci: enable ccache for everythingStewart Smith3-4/+4
caching most of skiboot build, saves us maybe a minute Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-11-24travis: add fedora rawhideStewart Smith1-0/+6
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-11-24travis: enable ccacheStewart Smith7-6/+8
Primarily this combats the long time it takes to build qemu in our build scripts. Practically, cuts a couple of minutes from build. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-11-02travis-ci: use Docker containers for a matrix of platformsStewart Smith10-0/+168
This greatly simplifies the build process for travis, yet makes it more powerful and increases coverage without increasing wall time to test. Travis has the concept of a build matrix, and we want to ensure we continue to build succesfully on a variety of platforms and compiler combinations. We limit what we run on some OSs to conserve vital sanity. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-08-26test/qemu: bump qemu version used in CI, adds IPMI supportStewart Smith1-1/+1
Now based on Cédric's branch. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2015-11-26Add Debian Jessie installer boot testStewart Smith1-0/+3
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2015-11-20update qemu revisions for opal-ciStewart Smith1-1/+1
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2015-10-26Support PowerNV Qemu for running testsStewart Smith2-0/+13
We now run tests under both Mambo and QEMU PowerNV model. Also added are scripts in opal-ci/ for building powernv model qemu. Currently, this is not yet in upstream qemu, so we build from Ben's branch. You can start using qemu along with/instead of Mambo by: 1) (cd ./opal-ci; sudo ./install-deps-qemu-powernv.sh; ./build-qemu-powernv.sh) 2) Pointing QEMU_PATH and QEMU_BINARY environment variables to appropriate qemu binary with powernv model When building qemu ourselves, we build a *specific* known good tag from the open-power tree. This should ensure that into the future existing test scripts should continue to function. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2015-05-26Enable multiple boot tests based on op-build verisonsStewart Smith2-0/+115
We also add a makefile to help people re-create the images. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>