summaryrefslogtreecommitdiffstats
path: root/ci
Commit message (Collapse)AuthorAgeFilesLines
* ci/docker: Run containers with --initStewart Smith2018-10-291-1/+1
| | | | | | This should avoid a bunch of zombie processes. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* Add bsdmainutils to Ubuntu dockerArtem Senichev2018-09-131-1/+1
| | | | | | | | | | | The docker image of Ubuntu 16.04 doesn't have 'colrm' utility which is used in Perl script 'addimgid' (hostboot build tools) to construct an ID string of hostboot image: https://github.com/open-power/hostboot/blob/master/src/build/tools/addimgid#L39 As result, variable hbi_ImageId in hostboot is allways empty. Installing bsdmainutils package resolves this problem. Signed-off-by: Artem Senichev <a.senichev@yadro.com>
* ci: Build more targets, cache SDKs, eatmydataStewart Smith2018-08-304-32/+106
| | | | | | | | | | | | | | | | Build graph-depends and legal-info along with firmware images Also, use proper O=/foo for telling buildroot where to build images. Also, use the magic buildroot config script rather than hacky hacks. Support building and caching an SDK, meaning you can build simple defconfigs in dozens of minutes, and greatly reduce the total time for building all configurations. Eatmydata will save us a *lot* of fsync() activity when you don't have infinite IOPS. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* ci: Add release mode to build legal infoSamuel Mendoza-Jonas2018-08-282-9/+45
| | | | | | | | | | | Add an option to build the Buildroot legal-info target after building a platform. This is mainly useful as part of building platforms for inclusion in images for distribution, but is also good for CI systems doing a sanity check on what is being built. This also updates build-all-defconfigs.sh to use getopt to handle its inputs more sanely. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* ci: Clear output directory at start of buildSamuel Mendoza-Jonas2018-08-281-1/+1
| | | | | | | | Clear the output directory before the start of the build instead of at the end. This leaves the output directory intact when an error occurs or if building a single platform. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* ci: Set BR2_DL_DIR & BR2_CCACHE_DIRSamuel Mendoza-Jonas2018-08-062-0/+13
| | | | Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* ci: Add -b option to specify custom mount pointSamuel Mendoza-Jonas2018-08-061-2/+12
| | | | | | | Use '-b' to specify a bind mount point to use instead of the current working directory. This is useful if we need access parent directories. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* ci: Use host network driverSamuel Mendoza-Jonas2018-08-061-1/+1
| | | | | | This helps those of us with specific proxy and DNS requirements. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* ci: Use uname rather than archSamuel Mendoza-Jonas2018-07-251-2/+2
| | | | | | Also fixes the failure message. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* Update ci/ Dockerfiles to Fedora 27/Ubuntu 16.04LTSStewart Smith2018-02-129-14/+20
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* ci/Dockerfile: Add openssl devel dependenciesStewart Smith2017-03-272-2/+2
| | | | | | | | Needed by kernel module signing. Fixes: https://github.com/open-power/op-build/issues/960 Fixes: 034ff11c71f3ea49186781543dd3b6e88b191996 Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* ci: use fedora 25 instead of fedora23Stewart Smith2017-02-164-5/+12
| | | | | | Fedora 23 is no longer supported. Current release is Fedora 25 Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Add missing perl module to fedora Docker file.Pridhiviraj Paidipeddi2017-02-091-1/+1
| | | | | | | | | | CI scripts failed to build PNOR image for habanero platform on fedora os. This patch fixes this issue by adding the required perl module into corresponding docker file (perl(ExtUtils::MakeMaker)) Signed-off-by: Pridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com>
* Enhancements for op-build ci.Pridhiviraj Paidipeddi2016-08-153-5/+50
| | | | | | | | | | | | | | | | | | | | | This patch adds support for running ci for individual platforms, as well as it can generate firmware images for all the platforms. Added command line options -p and -a. -p List of comma separated platform names to build images for those particular platforms. -a Build firmware images for all the platform defconfig's. For running ci to individual platforms: DOCKER_PREFIX=sudo ./ci/build.sh -p palmetto DOCKER_PREFIX=sudo ./ci/build.sh -p garrison,palmetto For running ci to all the platforms: DOCKER_PREFIX=sudo ./ci/build.sh -a DOCKER_PREFIX=sudo ./ci/build.sh And also it contains missing packages required for fedora23 Dockerfile. Signed-off-by: Pridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com>
* Add CI building scripts using DockerStewart Smith2016-03-077-0/+111
This is a first stab at a set of scripts to build each defconfig on each supported build platform inside Docker containers. The idea is that on x86-64 and ppc64le hosts, we can easily test that everything still at least builds on our supported build platforms. Due to docker image availability and Docker's complete lack of acknowledging that there may exist architectures other than x86-64, we get to jump through some rather stupid hoops to work out what to build where. Tested on Fedora 23 x86-64 and Ubuntu xenial snapshot with docker daily snapshot on ppc64le. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
OpenPOWER on IntegriCloud