aboutsummaryrefslogtreecommitdiff
path: root/opal-ci
AgeCommit message (Collapse)AuthorFilesLines
2024-01-02opal-ci: Drop fedora37, add fedora39HEADmasterReza Arbab3-2/+2
Fedora 37 has reached end-of-life. Remove it and add Fedora 39. Signed-off-by: Reza Arbab <arbab@linux.ibm.com> Reviewed-by: Dan Horák <dan@danny.cz>
2023-09-14opal-ci: Use the Fedora container registryReza Arbab3-3/+3
The Fedora images in the Docker hub container registry are updated less frequently and lag the ones from Fedora's offical repo. In my experience, this often leads to periods where our CI testing is broken on rawhide due to some short-lived issue that is already fixed in current images. So, change our Dockerfiles to pull specifically from the upstream registry.fedoraproject.org instead. Signed-off-by: Reza Arbab <arbab@linux.ibm.com> Reviewed-by: Dan Horák <dan@danny.cz> Reviewed-by: Abhishek Singh Tomar <abhishek@linux.ibm.com>
2023-06-06opal-ci: Drop fedora36, add fedora38Reza Arbab3-2/+2
Fedora 36 has reached end-of-life. Remove it and add Fedora 38. Signed-off-by: Reza Arbab <arbab@linux.ibm.com> Reviewed-by: Dan Horák <dan@danny.cz>
2023-01-20opal-ci: Use https URLs for systemsim packagesReza Arbab10-18/+18
The links used to download Mambo have stopped working: Step 5/9 : RUN if [ `arch` = "x86_64" ]; then dnf -y install http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0.f22.x86_64.rpm; fi ---> Running in 4676caeeb953 Last metadata expiration check: 0:03:46 ago on Thu Jan 19 16:06:19 2023. [MIRROR] systemsim-p9-1.1-0.f22.x86_64.rpm: Curl error (56): Failure when receiving data from the peer for http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0.f22.x86_64.rpm [Recv failure: Connection reset by peer] [MIRROR] systemsim-p9-1.1-0.f22.x86_64.rpm: Curl error (56): Failure when receiving data from the peer for http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0.f22.x86_64.rpm [Recv failure: Connection reset by peer] [MIRROR] systemsim-p9-1.1-0.f22.x86_64.rpm: Curl error (56): Failure when receiving data from the peer for http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0.f22.x86_64.rpm [Recv failure: Connection reset by peer] [MIRROR] systemsim-p9-1.1-0.f22.x86_64.rpm: Curl error (56): Failure when receiving data from the peer for http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0.f22.x86_64.rpm [Recv failure: Connection reset by peer] [FAILED] systemsim-p9-1.1-0.f22.x86_64.rpm: Curl error (56): Failure when receiving data from the peer for http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0.f22.x86_64.rpm [Recv failure: Connection reset by peer] Curl error (56): Failure when receiving data from the peer for http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0.f22.x86_64.rpm [Recv failure: Connection reset by peer] Oddly, this only happens with dnf. Using curl directly to fetch the package works. Since the issue is isolated to http, let's just change these links to https, which is probably a good idea regardless. Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
2023-01-03opal-ci: Drop fedora35, add fedora37Reza Arbab3-2/+2
Fedora 35 has reached end-of-life. Remove it and add Fedora 37. Reviewed-by: Dan Horák <dan@danny.cz> Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
2022-06-13opal-ci: Drop fedora34, add fedora36Reza Arbab3-3/+4
Fedora 34 has reached end-of-life. Remove it and add Fedora 36. Signed-off-by: Reza Arbab <arbab@linux.ibm.com> Reviewed-by: Frederic Barrat <fbarrat@linux.ibm.com> Reviewed-by: Dan Horák <dan@danny.cz>
2022-05-09CI: Clean up and re-enable testing on Fedora rawhideFrederic Barrat2-5/+27
Testing on rawhide somehow vanished when we converted to github actions. This patch cleans up the related CI files and re-enables it. Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com> Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
2022-05-09CI: Add testing on Ubuntu 22.04 LTSFrederic Barrat2-0/+41
New LTS release from Canonical. So let's split it from ubuntu-rolling, which will keep tracking the latest. Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com> Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
2022-05-09CI: Update python dependency on Ubuntu rollingFrederic Barrat1-1/+1
Package 'python' no longer exists. Replace it with 'python3' Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com> Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
2022-03-15github: Add workflow to build and deploy docsJoel Stanley1-1/+0
This builds the gcov coverage report and the skiboot docs on the Github hosted runner, without using a container. Remove the CROSS= definition from build-docs.sh to allow the makefile detect which cross compiler is installed, instead of hardcoding the non-le variant. This is a simplification from the previous docs build, which used the containers. However the containers have since been re-worked and no longer leave the build artifacts on the host system. The github action used for deploying seems to be the most commonly used: https://github.com/JamesIves/github-pages-deploy-action Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Cédric Le Goater <clg@kaod.org>
2022-03-07ci: remove Fedora 33Dan Horák2-31/+0
Fedora 33 has been EOL since the end of 2021, so remove it from the CI setup. Signed-off-by: Dan Horák <dan@danny.cz> Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
2022-03-07ci: Remove Centos 8Joel Stanley2-44/+0
With Centos 8 gone "EOL", the Centos 8 repositories have been moved(!) causing the build to fail: Step 2/14 : RUN yum -y update && yum clean all ---> Running in 49e78cad4cda CentOS Linux 8 - AppStream 424 B/s | 38 B 00:00 Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist Remove the build from CI as it no longer works. Signed-off-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Dan Horák <dan@danny.cz> Signed-off-by: Cédric Le Goater <clg@kaod.org>
2021-11-10CI: Update runs with P10 mamboCédric Le Goater7-0/+7
Signed-off-by: Cédric Le Goater <clg@kaod.org>
2021-11-10CI: Update centos8 runs with P8 and P9 mamboCédric Le Goater1-0/+2
Signed-off-by: Cédric Le Goater <clg@kaod.org>
2021-11-05CI: Clean up some Docker filesFrederic Barrat5-11/+8
Miscellaneous cleanup in the Docker files, mostly removing unneeded packages. Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
2021-11-05CI: Rename ubuntu-latest to ubuntu-rollingFrederic Barrat4-15/+14
In the docker world, ubuntu-latest is the latest LTS release, 20.04 as of this writing. ubuntu-rolling is the latest (non-devel) release, which is 21.10 as of this writing. So rename our CI files accordingly to avoid confusion. Also ubuntu 21.10 ships with a recent enough qemu-system-ppc package so we can now run a simple qemu boot test for powernv. The Docker file fetches a kernel image from the op-build repo on github. Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
2021-11-05CI: Add Fedora 35 to github actionsFrederic Barrat2-0/+31
The only change with Fedora 34 is that since the qemu-system-ppc package is recent, we can now run the qemu boot test. Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
2021-11-03CI: start using github actionsFrederic Barrat4-0/+73
Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
2021-08-27ci: Bump qemu versionVasant Hegde1-1/+1
Move to qemu version powernv-6.1. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
2021-05-28ci: Bump qemu versionVasant Hegde2-3/+4
Move to qemu version powernv-6.0. Also add required packages. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
2021-04-07opal-ci: Add openssl as dependency to fedora-rawhideVasant Hegde1-1/+1
openssl is needed by libstb. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Reviewed-by: Dan Horák <dan@danny.cz>
2021-04-07opal-ci: Replace fedora32 with fedora33Vasant Hegde4-4/+4
Ideally we should move to fedora34. But looks like docker repository doesn't have fedora34-ppc64le image. Hence moving to fedora33 for now. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Reviewed-by: Dan Horák <dan@danny.cz>
2020-10-01ci: Add mbedtls development files as a dependencyOliver O'Halloran8-8/+8
Needed for the secvar unit tests. Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2020-06-17travis: Add clang specific build jobOliver O'Halloran7-9/+20
Right now clang doesn't support the -ffixed-r<number> compiler options that we rely on for the skiboot cpu_thread pointer so it can't build skiboot. Remove the clang builds from the debian-unstable and ubuntu-latest and builds in favour of a clang specific job. This allows those jobs to pass normally and gives us as specific job to monitor to see when support for those options lands in clang. Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2020-06-17ci: Remove lcov workaround for FedoraOliver O'Halloran1-4/+2
The bug being worked around here was fixed ages ago in F29 and F30. There's no need to continue using the testing version of lcov so go back to using the production version. Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2020-06-17ci: Fix docs buildOliver O'Halloran1-6/+0
The docs build uses the Fedora32 container environment, but we didn't update the script when we moved to Fedora 32. Do that. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2020-06-17ci: Drop debian strechOliver O'Halloran1-1/+0
This used the same build script as ubuntu 16.04 and is now broken. Remove it also. Signed-off-by: Oliver O'Halloran <oohall@gmail.com>t Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2020-06-11opal-ci: Add Ubuntu20.04 supportVasant Hegde2-6/+2
And drop Ubuntu 16.04. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Reviewed-by: Dan Horák <dan@danny.cz> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2020-06-11opal-ci: Fix broken fedora buildsVasant Hegde4-10/+3
- Our device tree test cases are passing with fedora shipped `dtc` command. Hence remove `dtc` build process. - Replace fedora30 with fedora32. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Reviewed-by: Dan Horák <dan@danny.cz> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-11-14opal-ci: Remove clang builds on 18.04Oliver O'Halloran1-5/+0
commit 3734172b0f40 ("build: fix non-constant build asserts") added the following check in asm/head.S: .if reset_patch_end - reset_patch_start > 0x100 .error "Reset patch overflow" .endif Some older versions of clang such as the one that ships with ubuntu 18.04 (vlang 6.0.0) don't consider symbol addresses as constant which causes the following error: asm/head.S:578:5: error: expected absolute expression .if reset_patch_end - reset_patch_start > 0x100 ^ asm/head.S:579:2: error: Reset patch overflow .error "Reset patch overflow" This appears to be a bug with the clang assembler that is fixed with versions of clang. Clang support in skiboot is best-effort so removing the clang builds from the Ubuntu 18.04 CI script is preferable to working around the limitations of the older versions of clang. Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-07-26travis: do gcov builds on fedora30Stewart Smith1-5/+3
We've fixed up gcov for newer GCC. Signed-off-by: Stewart Smith <stewart@linux.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-07-26travis: remove fedora29Stewart Smith4-41/+31
No need to keep old Fedora releases around. Signed-off-by: Stewart Smith <stewart@linux.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-06-24doc: travis-ci deploy docs!Stewart Smith3-8/+24
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-05-21ubuntu:rolling now missing libcrypto.so.1.0.0, remove p8 mamboStewart Smith1-1/+0
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-05-21opal-ci: Add Fedora 30Stewart Smith2-0/+10
Disable Fedora30 on ppc64le due to mysterious failures Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-04-17opal-ci: Centos7 with latest crosstool toolchain (gcc 8.1.0)Stewart Smith2-4/+4
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-03-28ci/fedora29: --allowerasing to work around conflicting packagesStewart Smith1-1/+1
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-03-28ci: Remove debian-jessie boot test.Stewart Smith4-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>
2019-03-20Fix broken opal-ci/build-fedora-rawhide.sh symlinkStewart Smith1-1/+1
Fixes: e4a06f098c4f34fb5539129dddb6646667f4d5ab Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-03-15opal-ci: drop fedora 28Stewart Smith3-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>
2019-03-15opal-ci: Drop CentOS6 supportStewart Smith2-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>
2018-12-13opal-ci: Drop fedora27, add fedora29Stewart Smith3-26/+5
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-12-13ci: Bump Qemu versionJoel Stanley1-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>
2018-12-13ci: Add opal-utils to Debian unstableJoel Stanley1-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>
2018-12-13ci: Drop P8 mambo from Debian unstableJoel Stanley1-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>
2018-12-13ci: Add dtc dependencies for rawhideJoel Stanley1-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>
2018-12-13ci: Update Debian unstable packagesJoel Stanley1-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>
2018-12-13ci: Use Ubuntu latest config for Debian unstableJoel Stanley1-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>
2018-12-13ci: Disable GCOV builds in ubuntu-latestJoel Stanley1-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>
2018-12-13ci: Update gcov comment in Fedora 28Joel Stanley1-4/+3
Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>