summaryrefslogtreecommitdiffstats
path: root/opal-ci
Commit message (Collapse)AuthorAgeFilesLines
* ci/fedora29: --allowerasing to work around conflicting packagesStewart Smith2019-03-281-1/+1
| | | | Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* ci: Remove debian-jessie boot test.Stewart Smith2019-03-284-6/+0
| | | | | | | | | | | | | Debian (in its infinite "wisdom") has decided to erase most evidence of there ever being a ppc64el installer for Debian Jessie. So, screw them. Backwards compatibility testing was for losers anyway. There is snapshot.debian.org, but it's *really* slow pulling things from there, so it's not really an option unless we want to add multiple minutes to test duration. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* Fix broken opal-ci/build-fedora-rawhide.sh symlinkStewart Smith2019-03-201-1/+1
| | | | | Fixes: e4a06f098c4f34fb5539129dddb6646667f4d5ab Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* opal-ci: drop fedora 28Stewart Smith2019-03-153-40/+30
| | | | | | | We're getting close to Fedora 30, and keeping N-1 fedora around for too long doesn't really add much. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* opal-ci: Drop CentOS6 supportStewart Smith2019-03-152-38/+0
| | | | | | | We use the same compiler on our CentOS7 image, and it has the bonus of being able to test against P8 and P9 Mambo. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* opal-ci: Drop fedora27, add fedora29Stewart Smith2018-12-133-26/+5
| | | | Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* ci: Bump Qemu versionJoel Stanley2018-12-131-1/+1
| | | | | | | | | | | | | | | This moves the qemu version to qemu-powernv-for-skiboot-7 which is based on upstream's 3.1.0, and supports a Power9 machine. It also includes a fix for the skiboot XSCOM errors: XSCOM: read error gcid=0x0 pcb_addr=0x1020013 stat=0x0 There is no modelling of the xscom behaviour but the reads/writes now succeed which is enough for skiboot to not error out. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* ci: Add opal-utils to Debian unstableJoel Stanley2018-12-131-1/+4
| | | | | | | | This puts a 'pflash' in the users PATH, allowing more test coverage of ffspart. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* ci: Drop P8 mambo from Debian unstableJoel Stanley2018-12-131-1/+0
| | | | | | | | | | | | | | | | | Debian Unstable has removed OpenSSL 1.0.0 from the repository so mambo no longer runs: /opt/ibm/systemsim-p8/bin/systemsim-pegasus: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory By removing it from the container these tests will be automatically skipped. Tracked in https://github.com/open-power/op-build/issues/2519 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* ci: Add dtc dependencies for rawhideJoel Stanley2018-12-131-0/+2
| | | | | | | | Both F28 and Rawhide build their own dtc version. Rawhide was missing the required build deps. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* ci: Update Debian unstable packagesJoel Stanley2018-12-131-3/+2
| | | | | | | | | This syncs Debian unstable with Ubuntu 18.04 in order to get the clang package. It also adds qemu to the Debian install, which makes sense Debian also has 2.12. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* ci: Use Ubuntu latest config for Debian unstableJoel Stanley2018-12-131-1/+1
| | | | | | | | Debian unstable has the same GCOV issue with 8.2 as Ubuntu latest so it makes sense to share configurations there. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* ci: Disable GCOV builds in ubuntu-latestJoel Stanley2018-12-131-1/+36
| | | | | | | | | They are known to be broken with GCC 8.2: https://github.com/open-power/skiboot/issues/206 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* ci: Update gcov comment in Fedora 28Joel Stanley2018-12-131-4/+3
| | | | | Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* opal-ci: Use ubuntu:rolling for Ubuntu latest imageJoel Stanley2018-11-281-2/+2
| | | | | | | | | This updates the Ubuntu 'latest' to use ubuntu:rolling, which is the most recent release. It turns out that ubuntu:latest is actually the latest LTS (18.04). Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* CI: Bump the Qemu we build for CI testingStewart Smith2018-11-021-1/+1
| | | | Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* travis/ci: rework Dockerfiles to produce build artifactsStewart Smith2018-10-2916-13/+16
| | | | | | | ubuntu-latest was also missing clang, as ubuntu-latest is closer to ubuntu 18.04 than 16.04 Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* opal-ci: Build old dtc version for fedora 28Stewart Smith2018-09-202-1/+34
| | | | | | | There are patches that will go into dtc to fix the issues we hit, but for the moment let's just build and use a slightly older version. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* Use $() rather than backticks in all shellStewart Smith2018-09-135-12/+12
| | | | | | | | | | | The cool kids are all using $() these days as backticks are all backwards and uncool. Practically speaking, it makes it easier to escape things, nest things, and all the other reasons listed on http://mywiki.wooledge.org/BashFAQ/082 Signed-off-by: Stewart Smith <stewart@linux.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* test/qemu: start building qemu again, and use our built qemu for testsStewart Smith2018-06-271-1/+2
| | | | | | | We need to use QEMU_BIN rather than QEMU as the makefiles define QEMU already. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* opal-ci: qemu: Use the powernv-3.0 branchJoel Stanley2018-06-261-1/+1
| | | | | | | | | | 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>
* travis: remove Ubuntu 12.04Stewart Smith2018-05-292-43/+0
| | | | | | It's been EOL since April 2017 (now 13 months ago). Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* travis: add fedora28Stewart Smith2018-05-291-0/+7
| | | | Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* travis: Require Ubuntu 18.04 to pass, fix on ppc64leStewart Smith2018-05-092-6/+10
| | | | Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* opal-ci: Remove unwanted .orig fileJoel Stanley2018-05-091-10/+0
| | | | | | | This snuck in recently. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* opal-ci: 18.04: Go back to updating before installing packagesJoel Stanley2018-05-091-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>
* opal-ci: Build qemu from Cedric's powernv-2.12 branchJoel Stanley2018-05-091-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>
* opal-ci: Additionally build with clang on Ubuntu 18.04Joel Stanley2018-05-061-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>
* travis: fix if x86_64 tests in dockerfiles.Stewart Smith2018-05-069-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>
* opal-ci: Add Ubuntu 18.04Joel Stanley2018-05-062-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>
* travis: remove obsolete fedora 24,25,26Stewart Smith2018-05-046-23/+2
| | | | Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* opal-ci/dockerfiles: DEBIAN_FRONTEND=noninteractiveStewart Smith2018-05-015-0/+5
| | | | | Suggested-by: Daniel Black <danielgb@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* travis: Enable ppc64le buildsStewart Smith2018-04-1911-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>
* travis-ci: pull Mambo over http rather than ftpStewart Smith2018-04-194-4/+4
| | | | Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* travis: add -L to all curl invocations to follow redirectsStewart Smith2018-04-058-13/+18
| | | | Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* Mambo: run hello_world and sreset_world tests with Secure and Trusted BootStewart Smith2017-12-202-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>
* Use systemsim-p9 v1.1Stewart Smith2017-12-048-11/+11
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis: Add Fedora 27Stewart Smith2017-11-221-0/+7
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis: set -vx on all build scriptsStewart Smith2017-08-246-1/+6
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis: Debian Stretch must passStewart Smith2017-08-241-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>
* travis: Add debian stretch and unstableStewart Smith2017-07-202-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>
* opal-ci/fetch-debian-jessie-installer: follow redirectsStewart Smith2017-07-121-2/+2
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis: add fedora26Stewart Smith2017-07-121-0/+7
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* libstb/create-container: Add full container build and sign with imprint keysDave Heller2017-04-078-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>
* hdata_to_dt: Only output dtbStewart Smith2017-02-168-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>
* update opal-ci/READMEStewart Smith2016-12-231-1/+8
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis: install expect on ubuntu 12.04, disable qemu on 16.04/latestStewart Smith2016-12-224-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>
* travis: build and test more on centos7Stewart Smith2016-12-222-2/+27
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis: install systemsim-p8 on centos7Stewart Smith2016-12-221-0/+2
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis: install systemsim-p8 on centos6Stewart Smith2016-12-221-0/+2
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
OpenPOWER on IntegriCloud