summaryrefslogtreecommitdiffstats
path: root/ci
Commit message (Collapse)AuthorAgeFilesLines
* ci: Rename defconfig in build.shJoel Stanley2019-04-031-1/+1
| | | | | | openpower_p9_mambo_defconfig is now called opal_defconfig. Signed-off-by: Joel Stanley <joel@jms.id.au>
* ci: Add gwak to docker imagesJoel Stanley2019-04-022-2/+2
| | | | | | Building localedef for the host requires this. Signed-off-by: Joel Stanley <joel@jms.id.au>
* ci: Add rsync to fedora docker imageArtem Senichev2019-03-281-0/+1
| | | | | | Rsync is needed for buildroot. Signed-off-by: Artem Senichev <a.senichev@yadro.com>
* ci: Bump fedora to Fedora 29Stewart Smith2019-03-284-4/+4
| | | | Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* ci: Use Ubuntu 18.04 rather than Ubuntu 16.04Stewart Smith2019-03-286-6/+6
| | | | | | | We will soon require Ubuntu 18.04 rather than Ubuntu 16.04 for building op-build due to a GCC6.2 requirement from glibc. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* ci: Get kernel versionJoel Stanley2018-11-011-1/+11
| | | | | | | | | | | | When building with the SDK the build scripts have to specify the kernel version (and GCC). This was hardcoded, which is fine as the CI scripts are checked into the repo where the changes are made. Hoover it's one more thing to remember when bumping the kernel version. This grabs it from the BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE in the given config file, which should always be set. Signed-off-by: Joel Stanley <joel@jms.id.au>
* ci: Mention proxy variables in help textJoel Stanley2018-11-011-0/+3
| | | | Signed-off-by: Joel Stanley <joel@jms.id.au>
* ci: Clarify that sdk cache dir must existJoel Stanley2018-11-011-1/+1
| | | | Signed-off-by: Joel Stanley <joel@jms.id.au>
* ci: Fix environment variable checkJoel Stanley2018-11-011-2/+2
| | | | | | | | | | | | | | | | The check for the variables were passing even tho they were not set, resulting in bad syntax in the docker file: ENV DL_DIR ENV CCACHE_DIR ' + docker build --network=host -t openpower/op-build-ubuntu1604 - Sending build context to Docker daemon 2.56kB Error response from daemon: ENV must have two arguments I am no bash guru; this test is what is recommended by the first hit on stackoverflow. Improve it if you know better. Signed-off-by: Joel Stanley <joel@jms.id.au>
* 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